Walter buys a bag of cookies that contains 5 chocolate chip cookies, 6 peanut butter cookies, 8 sugar cookies and 8 oatmeal cookies. what is the probability that walter randomly selects an oatmeal cookie from the bag, eats it, then randomly selects a peanut butter cookie?

1 answer

The total number of cookies in the bag is 5 + 6 + 8 + 8 = 27.
The probability of randomly selecting an oatmeal cookie from the bag is 8/27.
After eating the oatmeal cookie, there are now 26 cookies in the bag.
The probability of randomly selecting a peanut butter cookie from the remaining 26 cookies is 6/26.
Therefore, the probability that Walter randomly selects an oatmeal cookie and then a peanut butter cookie is (8/27) * (6/26) = 48/702 ≈ 0.06834 (rounded to five decimal places).