For this probability distribution given in the following table: a. For this probability distribution,find the mode of X. b. For this probability distribution ,find the median of X. c. For this probability distribution,find the expected value E(X) . d. For this probability distribution find the variance Var(X). e. For this probability distribution find the Sd(X). 查看更多

 

题目列表(包括答案和解析)

如图是计算首项为1的数列{an}前m项和Sm的算法框图,
(1)判断m的值;
(2)试写出an与an+1的关系式,并求该数列的通项公式
(3)根据框图分别利用For语句和Do Loop语句写出算法程序;
(4)在电脑上运行此程序,最后输出的结果是多少?

查看答案和解析>>

阅读下面用For语句写出的算法.说明该算法的处理功能
S=1+2+3+…+20
S=1+2+3+…+20

查看答案和解析>>

下面语句执行后输出的结果P的值为
64
64

P=1;
For i=1to  6
p=p×2;
Next
输出P.

查看答案和解析>>

根据下面的基本语句可知,输出的结果T为(  )
   T=1;
   For i=1 to 10;
   T=T+i;
   NEXT
  输出T.

查看答案和解析>>

用For语句描述计算
1+
1
2
+
1
3
+
1
4
+…+
1
10000
的值的一个程序.

查看答案和解析>>


同步练习册答案