设随机变量 [tex=5.143x1.214]G/ahQMx2op1omcJWskOZ6zXiosGDmQqVE/3toG1tAUw=[/tex]的分布列如下,且满足 [tex=6.929x1.357]UxR1Ryb4m1gIaWRqCe+XNVKAr10xDnDimhz0OB07g++Q2nB5PgqSFSMiRQhCZ4wV[/tex], 试求 [tex=5.429x1.357]tNPNkoyFnR6L4l397CTih4LKzps5WpphFgC8rwfzk5M=[/tex][tex=9.786x2.643]I08GkjPu5ilZ1cL3oVOjRO/cVNPRvTqb7OZ/rU0fQDty1gor0I0NwoBsmdP1cLII84Ue40iBjf5TFct+Iu2AZEi1FSTqXedzNHPSoeIh+fCDmKUnKM5ahATYz1H6G96NMNuCVIY1LrAyCpfiigkv9A==[/tex]
举一反三
- >>>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']
- 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}
- 设二维离散随机变量[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] 各自的边际分布列.
- 产生并输出如下形式的方阵。 1 2 2 2 2 2 1 3 1 2 2 2 1 4 3 3 1 2 1 4 4 3 3 3 1 4 4 4 3 3 1 5 1 4 4 3 1 5 5 5 1 4 1 5 5 5 5 5 1 #include "stdio.h" int main() { int a[7][7],i,j; for(i=0;i<7;i++) for(j=0;j<7;j++) if( (1) || i+j==6) a[i][j]=1; else if ( (2) &&i+j<6) a[i][j]=2; else if (i>j&&i+j<6) a[i][j]=3; else if (i i==j ; j==i ii i+j>6; j+i>6; 6
- Public Sub Proc(a%( )) Static i% Do a(i) = a(i) + a(i + 1) i = i + 1 Loop While i < 2 End Sub Private Sub Command1_Click( ) Dim m%, i%, x%(10) For i = 0 To 4: x(i) = i + 1: Next i For i = 1 To 2: Call Proc(x): Next i For i = 0 To 4: Print x(i);: Next i End Sub A: 3 4 7 5 6 B: 3 5 7 4 5 C: 2 3 4 4 5 D: 4 5 6 7 8