0
   

Probability question

 
 
dharjai
 
Reply Mon 14 Nov, 2016 07:27 am
An ice cream company makes ice cream bars on sticks which sell for 10 cents. Suppose that the company puts a star on every 50th stick; anyone who buys a bar with a starred stick gets a free ice cream bar. If you decide to buy ice cream bars until you get a free one, how much would you expect to spend before getting a free bar?
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Question • Score: 0 • Views: 784 • Replies: 23
No top replies

 
Ragman
 
  -1  
Reply Mon 14 Nov, 2016 07:39 am
@dharjai,
None. I'm lactose intolerant .
dharjai
 
  0  
Reply Mon 14 Nov, 2016 08:18 am
@Ragman,
Then consider it as ice candy instead of ice cream.
joefromchicago
 
  1  
Reply Mon 14 Nov, 2016 11:03 am
@dharjai,
dharjai wrote:

An ice cream company makes ice cream bars on sticks which sell for 10 cents. Suppose that the company puts a star on every 50th stick; anyone who buys a bar with a starred stick gets a free ice cream bar. If you decide to buy ice cream bars until you get a free one, how much would you expect to spend before getting a free bar?

Approximately $3.50
dharjai
 
  -1  
Reply Mon 14 Nov, 2016 11:05 am
@joefromchicago,
Thanks for the answer. But if possible explanation please.
joefromchicago
 
  1  
Reply Mon 14 Nov, 2016 11:13 am
@dharjai,
How would you figure it out?
0 Replies
 
Krumple
 
  0  
Reply Mon 14 Nov, 2016 11:19 am
@dharjai,
dharjai wrote:

Then consider it as ice candy instead of ice cream.



Its not clear if the star comes up randomly. Im assuming it does or else the probability would be very simple. However if its random then you have 1 in 50 chance for the first purchase with a reduction by one each additional purchase. If its random all you can talk about is average spendings. Since technically you could get the star on the first purchase.

Since you say every 50th has a star the average drops due to the incease in odds of obtaining the star stick after each consecutive purchase.

This leaves out the possibility that there are other customers competing for the star.

Ill show my maths later.
joefromchicago
 
  2  
Reply Mon 14 Nov, 2016 11:34 am
@Krumple,
Krumple wrote:

Since you say every 50th has a star the average drops due to the incease in odds of obtaining the star stick after each consecutive purchase.

Incorrect.

Krumple wrote:
This leaves out the possibility that there are other customers competing for the star.

Irrelevant.
Krumple
 
  1  
Reply Mon 14 Nov, 2016 11:41 am
@joefromchicago,
joefromchicago wrote:

Krumple wrote:

Since you say every 50th has a star the average drops due to the incease in odds of obtaining the star stick after each consecutive purchase.

Incorrect.


The probability can not be the same if its garanteed by the 50th purchase. Which is why I am asking.

joefromchicago wrote:

Krumple wrote:
This leaves out the possibility that there are other customers competing for the star.

Irrelevant.


Why assume? So you are saying "you" are the only one buying? If there are others then it changes the maths and the outcome. So yes its relevant.
joefromchicago
 
  1  
Reply Mon 14 Nov, 2016 11:46 am
@Krumple,
Krumple wrote:
The probability can not be the same if its garanteed by the 50th purchase. Which is why I am asking.

You're assuming that there are only 50 ice cream bars. That's incorrect. The question says that the starred stick is on every 50th bar. That means there are more than 50 produced. The problem, then, should be viewed as a choose-and-replace situation.

Krumple wrote:
Why assume? So you are saying "you" are the only one buying? If there are others then it changes the maths and the outcome. So yes its relevant.

Not if the supply is unlimited.
Krumple
 
  1  
Reply Mon 14 Nov, 2016 11:53 am
@joefromchicago,
joefromchicago wrote:

Krumple wrote:
The probability can not be the same if its garanteed by the 50th purchase. Which is why I am asking.

You're assuming that there are only 50 ice cream bars. That's incorrect. The question says that the starred stick is on every 50th bar. That means there are more than 50 produced. The problem, then, should be viewed as a choose-and-replace situation.

Krumple wrote:
Why assume? So you are saying "you" are the only one buying? If there are others then it changes the maths and the outcome. So yes its relevant.

Not if the supply is unlimited.


No the question becomes, is the 50th purchased guaranteed a star?
joefromchicago
 
  2  
Reply Mon 14 Nov, 2016 12:02 pm
@Krumple,
Krumple wrote:
No the question becomes, is the 50th purchased guaranteed a star?

That's a dumb question.
Krumple
 
  1  
Reply Mon 14 Nov, 2016 01:23 pm
@joefromchicago,
joefromchicago wrote:

Krumple wrote:
No the question becomes, is the 50th purchased guaranteed a star?

That's a dumb question.


Okay $3.50 man. Show the math on how you came up with that. Or did you pull it out of your ass?
joefromchicago
 
  2  
Reply Mon 14 Nov, 2016 01:56 pm
@Krumple,
It's simple. There's a 1/50 chance of getting a starred stick any time you purchase an ice cream bar. That means there is a 49/50 (or 98%) chance of not getting a starred stick. The chances of not getting a starred stick when purchasing two bars is .98 * .98 or .98 squared. The chance of not getting a starred stick when purchasing three bars is .98*.98*.98 or .98 cubed, and so on. At .98 to the 35th power, the result dips below .5, meaning that if I buy 35 bars, there's less than a 50% chance that I will not get any starred sticks. Or, to look at it another way, there's a greater than 50% chance that one of them will have a star. Since each bar costs 10 cents, I should expect, on average, to spend approximately $3.50 to get one starred stick.

# - chance of getting no starred sticks
1-0.98
2-0.9604
3-0.941192
4-0.92236816
5-0.903920797
6-0.885842381
7-0.868125533
8-0.850763023
9-0.833747762
10-0.817072807
11-0.800731351
12-0.784716724
13-0.769022389
14-0.753641941
15-0.738569103
16-0.723797721
17-0.709321766
18-0.695135331
19-0.681232624
20-0.667607972
21-0.654255812
22-0.641170696
23-0.628347282
24-0.615780337
25-0.60346473
26-0.591395435
27-0.579567526
28-0.567976176
29-0.556616652
30-0.545484319
31-0.534574633
32-0.52388314
33-0.513405478
34-0.503137368
35-0.493074621
contrex
 
  2  
Reply Mon 14 Nov, 2016 04:41 pm
Nice one, joefromchicago.
joefromchicago
 
  2  
Reply Mon 14 Nov, 2016 04:52 pm
@contrex,
Thanks. I just pulled that one out of my ass.
0 Replies
 
Krumple
 
  1  
Reply Mon 14 Nov, 2016 05:52 pm
@joefromchicago,
joefromchicago wrote:

It's simple. There's a 1/50 chance of getting a starred stick any time you purchase an ice cream bar. That means there is a 49/50 (or 98%) chance of not getting a starred stick. The chances of not getting a starred stick when purchasing two bars is .98 * .98 or .98 squared. The chance of not getting a starred stick when purchasing three bars is .98*.98*.98 or .98 cubed, and so on. At .98 to the 35th power, the result dips below .5, meaning that if I buy 35 bars, there's less than a 50% chance that I will not get any starred sticks. Or, to look at it another way, there's a greater than 50% chance that one of them will have a star. Since each bar costs 10 cents, I should expect, on average, to spend approximately $3.50 to get one starred stick.

# - chance of getting no starred sticks
1-0.98
2-0.9604
3-0.941192
4-0.92236816
5-0.903920797
6-0.885842381
7-0.868125533
8-0.850763023
9-0.833747762
10-0.817072807
11-0.800731351
12-0.784716724
13-0.769022389
14-0.753641941
15-0.738569103
16-0.723797721
17-0.709321766
18-0.695135331
19-0.681232624
20-0.667607972
21-0.654255812
22-0.641170696
23-0.628347282
24-0.615780337
25-0.60346473
26-0.591395435
27-0.579567526
28-0.567976176
29-0.556616652
30-0.545484319
31-0.534574633
32-0.52388314
33-0.513405478
34-0.503137368
35-0.493074621



I said the probability for finding the star would go up after every purchase and you said incorrect.
Krumple
 
  1  
Reply Mon 14 Nov, 2016 05:57 pm
@joefromchicago,
Also joe you initially claimed it was an occurance problem. Meaning they essentially toss the purchased icecream back into the bin and randomly pull. Which in this case probability would remain the same after each purchase.

I said the pribability would increase after each purchase and said I was wrong yet turn around and point out an increase probability.
dharjai
 
  1  
Reply Mon 14 Nov, 2016 07:43 pm
@dharjai,
Though I am not sure whether this answer is correct or not.
joefromchicago
 
  2  
Reply Mon 14 Nov, 2016 07:47 pm
@Krumple,
Krumple wrote:
I said the probability for finding the star would go up after every purchase and you said incorrect.


Here's what you wrote:
Quote:
Since you say every 50th has a star the average drops due to the incease in odds of obtaining the star stick after each consecutive purchase.

Clearly, you meant that the odds increase because the number of remaining choices decreases, as earlier in the same post you wrote:
Quote:
However if its random then you have 1 in 50 chance for the first purchase with a reduction by one each additional purchase.

(emphasis mine) In other words, there was a 1/50 chance for the first purchase, a 1/49 chance for the second, and so on. That, however, is not the situation in the problem posed in the original post, where the chance is always 1/50 for each purchase, which is why I noted that you were incorrect.
 

 
  1. Forums
  2. » Probability question
Copyright © 2024 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.03 seconds on 09/30/2024 at 08:33:07