(a) Let X= the number of unacceptable loaves of bread: X∼Bin(n,p).
Given n=6,p=0.02,q=1−0.02=0.98
(i) Exactly 2 are unacceptable.
P(X=2)=(26)(0.02)2(0.98)6−2
=0.00553420896 (ii) At most 3 are unacceptable.
P(X≤3)=P(X=0)+P(X=1)+P(X=2)
+P(X=3)=(06)(0.02)0(0.98)6−0
+(16)(0.02)1(0.98)6−1+(26)(0.02)2(0.98)6−2
+(36)(0.02)3(0.98)6−3=0.885842380864
+0.108470495616+0.00553420896
+0.00015059072=0.99999767616
(iii) Between 3 and 5 (inclusive) are no unacceptable. That is at most 2 are unacceptable or Exactly 6 are unacceptable.
P(X≤2 or X=6)=P(X=0)+P(X=1)
+P(X=2)+P(X=6)
=(06)(0.02)0(0.98)6−0+(16)(0.02)1(0.98)6−1
+(26)(0.02)2(0.98)6−2+(66)(0.02)6(0.98)6−6
=0.885842380864+0.108470495616
+0.00553420896+0.000000000064
=0.999847085504
(b)
Given n=100,p=0.02
E(X)=np=100(0.02)=22 loaves of bread would be expected to be unacceptable from a sample of 100 such loaves.
(c)
Given P(A)=0.4,P(A∪B)=0.7,P(B)=k
P(A∪B)=P(A)+P(B)−P(A∩B)
P(A∩B)=P(A)+P(B)−P(A∪B)
P(A∩B)=0.4+k−0.7=k−0.3 (i)
P(A∩B)=P(A)P(B)
k−0.3=0.4k
0.6k=0.3
k=0.5
(ii)
P(A∪B)=P(A)+P(B)
0.7=0.3+k
k=0.4
Comments