设随机变量X~b(n,p),且E(X+1)=6,D(X+1)=4,则n = ( ).

问题描述:

设随机变量X~b(n,p),且E(X+1)=6,D(X+1)=4,则n = ( ).

E(X+1)=EX+1=np+1=6,np=5,
D(X+1)=DX=np(1-P)=4,
5(1-p)=4,
p=1/5,
n=5.