Let X= the number of defective smartphones: X∼Bin(n,p).
Given n=10,p=0.05,q=0.95.
a.
P(X=0)=(010)(0.05)0(0.95)10−0
=0.59873693924
b.
P(X≤2)=P(X=0)+P(X=1)+P(X=2)
=(010)(0.05)0(0.95)10−0
+(110)(0.05)1(0.95)10−1+(210)(0.05)2(0.95)10−2
=0.59873693924+0.31512470486
+0.07463479852=0.98849644262
c.
P(X≥3)=1−P(X=0)−P(X=1)
−P(X=2)=1−(010)(0.05)0(0.95)10−0
−(110)(0.05)1(0.95)10−1−(210)(0.05)2(0.95)10−2
=1−0.59873693924−0.31512470486
−0.07463479852=0.01150355738
Comments