The second sample will be necessary:
The packing machine is giving 80%=0.8 of items properly parked, unsatisfactory packages 1-0.8=0.2.
3 or more unsatisfactory packages: 3 or 4 or 5
Choose 3 from 5 unsatisfactory packages:
p1=53⋅0.2
Choose 4 from 5 unsatisfactory packages:
p2=54⋅0.2
Choose 5 from 5 unsatisfactory packages:
p3=55⋅0.2
P=p1+p2+p3=53⋅0.2+54⋅0.2+55⋅0.2=0.48
The probability 0.48 that second sample will be necessary.
Out of the two samples (10 items), there are 9 satisfactory:
We use the Bernoulli formula:
P=(kn)pkqn−k
In our case
p=0.8q=0.2(910)=9!(10−9)!10!=9!⋅1!10⋅9!=10P=10⋅0.89⋅0.210−9=10⋅0.89⋅0.21≈0.268
The 0.268 probability that, out of the two samples (10 items), there are 9 satisfactory