Answer:
The probability of Steve agreeing with the company’s claim is 0.50502.
Step-by-step explanation:
Let <em>X</em> denote the number of green candies.
The probability of green candies is, <em>p</em> = 0.20.
Steve buys 30 bags of 30 candies, randomly selects one candy from each, and counts the number of green candies.
So, <em>n</em> = 30 candies are randomly selected.
All the candies are independent of each other.
The random variable <em>X</em> follows a binomial distribution with parameter <em>n</em> = 30 and <em>p</em> = 0.20.
It is provided that if there are 5, 6, or 7 green candies, Steve will conclude that the company’s claim is correct.
Compute the probability of 5, 6 and 7 green candies as follows:
![P(X=5)={30\choose 5}(0.20)^{5}(1-0.20)^{30-5}=0.17228\\\\P(X=6)={30\choose 6}(0.20)^{6}(1-0.20)^{30-6}=0.17946\\\\P(X=7)={30\choose 7}(0.20)^{7}(1-0.20)^{30-7}=0.15328](https://tex.z-dn.net/?f=P%28X%3D5%29%3D%7B30%5Cchoose%205%7D%280.20%29%5E%7B5%7D%281-0.20%29%5E%7B30-5%7D%3D0.17228%5C%5C%5C%5CP%28X%3D6%29%3D%7B30%5Cchoose%206%7D%280.20%29%5E%7B6%7D%281-0.20%29%5E%7B30-6%7D%3D0.17946%5C%5C%5C%5CP%28X%3D7%29%3D%7B30%5Cchoose%207%7D%280.20%29%5E%7B7%7D%281-0.20%29%5E%7B30-7%7D%3D0.15328)
Then the probability of Steve agreeing with the company’s claim is:
P (Accepting the claim) = P (X = 5) + P (X = 6) + P (X = 7)
= 0.17228 + 0.17946 + 0.15328
= 0.50502
Thus, the probability of Steve agreeing with the company’s claim is 0.50502.