The probability that a visitor at the mall buys a pack of candy is 30%. If three visitors come to the mall today, what is the probability that exactly two will buy a pack of candy?
a. .343
b. .147
c. .189
d. .063
e. .027
blaster, your approach is only the first part of the solution. What you calculated would be true of a situation in which the first visitor buys, the second visitor buys and the third visitor does not buy. However, these events don't have to occur in the above order. The question just asks us to calculate the probability that two out of three buy.
To do so, use the formula for binomial distributions:
(n choose k)*p(success)^no. of successes*p(failure)^no. of failures
with:
n=number of visitors in total=3
k=number of successes (visitors who buy)=2
p(success)=p(buy)=0.3
p(failure)=p(no buy)=1-p(buy)=1-0.3=0.7
Now you have:
p(2out of 3 buy)=(3 choose 2)*0.3^2*0.7^1=3*0.09*0.7=0.27*7=0.189
You can always use the above formula when
1. the propabilites of success and failure stay the same
and
2. there are only two outcomes (in this case "buy" and "not buy")
The answer is C.