Probability question on soft-drink machine

Click For Summary

Homework Help Overview

The problem involves a soft-drink machine that dispenses regular Coke and Diet Coke, with a specific probability distribution for customer preferences. The scenario presents a situation where 15 customers wish to purchase drinks from a machine that has a limited supply of each type.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the use of binomial distribution and question the validity of the original poster's calculations. There is consideration of how the limited supply affects the probability for customers beyond the first ten. Some suggest exploring the hypergeometric distribution as an alternative approach.

Discussion Status

The discussion is ongoing, with participants providing feedback on the original poster's attempts and suggesting different methods for calculating the probability. There is acknowledgment of the complexity introduced by the limited number of drinks available.

Contextual Notes

Participants note the constraints of the problem, particularly the limited supply of drinks and the implications for customers beyond the initial ten. There is also mention of the original poster editing their post, which may affect the clarity of their initial approach.

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.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 13 ·
Replies
13
Views
7K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K