Answer:
0.0862 = 8.62% probability that Heather reaches in the bag and randomly selects 2 peanut butter cookies from the bag
Step-by-step explanation:
A probability is the number of desired outcomes divided by the number of total outcoes.
The order in which the cookies are selected is not important, so we use the combinations formula to solve this question.
Combinations formula:
[tex]C_{n,x}[/tex] is the number of different combinations of x objects from a set of n elements, given by the following formula.
[tex]C_{n,x} = \frac{n!}{x!(n-x)!}[/tex]
Desired outcomes:
2 peanut butter cookies, from a set of 4. So
[tex]D = C_{8,2} = \frac{8!}{2!6!} = 28[/tex]
Total outcomes:
2 cookies from a set of 5+8+9+4 = 26. So
[tex]T = C_{26,2} = \frac{26!}{2!24!} = 325[/tex]
Probability:
[tex]p = \frac{D}{T} = \frac{28}{325} = 0.0862[/tex]
0.0862 = 8.62% probability that Heather reaches in the bag and randomly selects 2 peanut butter cookies from the bag