Probability question on soft-drink machine

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
6 replies · 3K views
cse63146
Messages
435
Reaction score
0

Homework Statement



A soft-drink machine dispenses only regular Coke and Diet Coke. 60 percent of all purchases from this machine are diet drinks. The machine currently has 10 cans of each type. If 15 customers want to purchase drinks prior to the machine being restocked, what is the prob that each of the 15 is able to purchase the type of drink desired?


Homework Equations



Binomial distribution

The Attempt at a Solution



I think it's a binomial distribution. So - 20C15*(0.6)^15*(0.4)^5?

But it doesn't seem right.

Any ideas? Thanks.
 
Last edited:
Physics news on Phys.org
You want a probability, while what you have is clearly much greater than 1. (I'm sorry, I don't know what you were trying to do)

Surely the first 10 people can buy whatever they want right? What about the 11th? And the 12th?

There probably is a shortcut, but I would consider the 11th-15th people separately, and add them all up.
 
queenofbabes said:
You want a probability, while what you have is clearly much greater than 1. (I'm sorry, I don't know what you were trying to do)
No, it is NOT "clearly much greater then 1". In fact it is about 0.07465.

Surely the first 10 people can buy whatever they want right? What about the 11th? And the 12th?

There probably is a shortcut, but I would consider the 11th-15th people separately, and add them all up.
 
Hey, he edited it at some point >.<
 
I edited a few typos. The equation I did not touch.

But I got the anwers anyways.
 
would it have been possible to do it through the hypogeometric distribution?
 
Thanks, I did it through the hypogeometric distribution.

Thank you for your help.