Answer:
(a) 0.5282
(b) 0.4718
Step-by-step explanation:
It is provided that the shipment is accepted if not more than 1 of the 5 keyboards is defective. That is for the shipment to be acceptable there should be at most 1 defective .
It is also provided that the box selected has 6 defective keyboards.
So, the probability of selecting a defective keyboard is, <em>p</em> = 6/20.
Let <em>X</em> = number of defective keyboards.
The random variable <em>X</em> follows a binomial distribution with parameters <em>n</em> = 6 and <em>p</em> = 6/20.
(a)
Compute the probability that this shipment will be accepted as follows:

![=[{5\choose 0}(\frac{6}{20})^{0}(1-\frac{6}{20})^{5}]+[{5\choose 1}(\frac{6}{20})^{1}(1-\frac{6}{20})^{4}]\\\\=0.16807+0.36015\\\\=0.52822\\\\\approx 0.5282](https://tex.z-dn.net/?f=%3D%5B%7B5%5Cchoose%200%7D%28%5Cfrac%7B6%7D%7B20%7D%29%5E%7B0%7D%281-%5Cfrac%7B6%7D%7B20%7D%29%5E%7B5%7D%5D%2B%5B%7B5%5Cchoose%201%7D%28%5Cfrac%7B6%7D%7B20%7D%29%5E%7B1%7D%281-%5Cfrac%7B6%7D%7B20%7D%29%5E%7B4%7D%5D%5C%5C%5C%5C%3D0.16807%2B0.36015%5C%5C%5C%5C%3D0.52822%5C%5C%5C%5C%5Capprox%200.5282)
Thus, the probability that this shipment will be accepted is 0.5282.
(b)
Compute the probability that this shipment will not be accepted as follows:
P (shipment not accepted) = 1 - P(shipment accepted)
= 1 - 0.5282
= 0.4718
Thus, the probability that this shipment will not be accepted is 0.4718.