Final answer:
To find the probability of a customer ordering a medium given that they ordered a hot drink, we can use conditional probability by dividing the number of customers who ordered a hot medium drink by the number of customers who ordered a hot drink. The probability is approximately 0.0962.
Step-by-step explanation:
To find the probability of a customer ordering a medium given that they ordered a hot drink, we need to use conditional probability.
P(medium | hot) = P(medium and hot) / P(hot)
From the given data, we can see that out of the first 100 customers, there were 5 who ordered a hot medium drink. So, P(medium and hot) = 5/100 = 0.05.
The number of customers who ordered a hot drink is 5 + 22 + 8 + 12 + 5 = 52. So, P(hot) = 52/100 = 0.52.
Now we can substitute the values into the formula: P(medium | hot) = 0.05 / 0.52 = 0.0962 (rounded to four decimal places).