设 [tex=5.714x1.214]aJ6ilKOMd+Qhji0Ydv6BLDlSLQsfpeLFeZY0hbs3ZCc=[/tex] 为 [tex=0.643x1.0]jro2X/cRz2SsmjZvcOdvsQ==[/tex] 的子空间. [tex=8.5x1.214]EKTjv9d+GBVoOeFMYPl0ZIBpdWuv/NVsi6OEIr53eJY=[/tex] 为直和当且仅当 [tex=17.429x1.357]DE9EXIsbQ66F8NunnpJGwByU1QKrarrgcKkESuKi0rSVeTQUtKb42Arb4ty86WKD/2wTVM5/5MUVnjJycVD1r8I1kS3JLZ2u39VkQ8lRRtaBgz52EwuzTx+87r56O42g[/tex]
举一反三
- set1 = {x for x in range(10)} print(set1) 以上代码的运行结果为? A: {0, 1, 2, 3, 4, 5, 6, 7, 8, 9} B: {0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10} C: {1, 2, 3, 4, 5, 6, 7, 8, 9} D: {1, 2, 3, 4, 5, 6, 7, 8, 9,10}
- >>>x= [10, 6, 0, 1, 7, 4, 3, 2, 8, 5, 9]>>>print(x.sort()) 语句运行结果正确的是( )。 A: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10] B: [10, 6, 0, 1, 7, 4, 3, 2, 8, 5, 9] C: [10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0] D: ['2', '4', '0', '6', '10', '7', '8', '3', '9', '1', '5']
- 【单选题】设X为连续型随机变量, 其概率密度: f(x)=Ax2, x∈(0,2); 其它为0. 求(1)A=(); (2) 分布函数F(x)=(); (3) P{1<X<2} (10.0分) A. (1)3/8; (2)x<0, F(x)=0; 0≤x<2, F(x)=1/8x³; x≥2, F(x)=1; (3) 7/8 B. (1)5/8; (2)x<0, F(x)=0; 0≤x<2, F(x)=1/8x³; x≥2, F(x)=0 (3) 1/8
- 设二维离散随机变量[tex=2.5x1.357]PWg5V4GQQafckGNgbx6gmw==[/tex]的可能值为(0, 0),(−1, 1),(−1, 2),(1, 0),且取这些值的概率依次为1/6, 1/3, 1/12, 5/12,试求[tex=0.857x1.0]N7iCrOsS+NNEUUlnsYCi1g==[/tex]与[tex=0.643x1.0]O+viFNA0oHTwnBtQyi80Zw==[/tex] 各自的边际分布列.
- 下面说法错误的是( )。知识点:列表推导式 A: dict([(x, x**2) for x in range(6)]) 创建的字典是{0: 0, 1: 1, 2: 4, 3: 9, 4: 16, 5: 25} B: [[x*3+y for y in range(1,4)] for x in range(3)] 创建的是二维列表 [[1, 2, 3], [4, 5, 6], [7, 8, 9]] C: number = [-2, 4, 6, -5]string = 'ab'z = [(i, j) if i>0 else (-i, j) for i in number for j in string]这段代码创建的列表为[(2, 'a'), (2, 'b'), (4, 'a'), (4, 'b'), (6, 'a'), (6, 'b'), (5, 'a'), (5, 'b')] D: ' '.join([i for i in range(1,11)])的运算结果为字符串'1 2 3 4 5 6 7 8 9 10'