Friday, March 5, 2010

Fair Amount

Dual Aspect is walking down the street when someone on the sidewalk offers him a game.For a fee,he can pick two bills from a bucket that contians five $5 bills,ten $10 bills and twenty $20 bills.

As he has to do the picking blindfolded,what is the fair amount he should be charged to play this game?

13 Comments:

Blogger Ragknot said...

This post has been removed by the author.

March 5, 2010 9:57 PM  
Blogger Ragknot said...

I see and error
should be 29.71

March 5, 2010 10:04 PM  
Blogger Knightmare said...

nope

March 5, 2010 10:29 PM  
Blogger calkurne said...

it is $15 that is the average pick
5 5s 10 10s 20 20s

525/35=15

March 5, 2010 11:27 PM  
Blogger Chris said...

$30

March 5, 2010 11:31 PM  
Blogger ubolt_head said...

35balls totaling 525 dollars
525/35=15 average per ball.

So if each person picks 2 balls at $30 dollars each the game host will break even (on average assuming replacement). So in order to make a little profit he should be ask more than $30. That is of course assuming the game host's time is worth nothing.

March 5, 2010 11:34 PM  
Blogger Knightmare said...

calkurne got it...but didn't say the final answer(like Chris did)

$30 is fair cost

March 5, 2010 11:48 PM  
Blogger Chris said...

It's $30 regardless of whether or not each note is (immediatley) replaced.

March 5, 2010 11:52 PM  
Blogger Chris said...

or immediately.

March 5, 2010 11:53 PM  
Blogger Ragknot said...

The average bill is $15
so two bills should be $30

But when I modeled it, I get 29.71 and don't know why. After the first selection, there an average of 510 left and 34 bills. so the average is still 15.

For i = 1 To 35
If i <= 5 Then bill(i) = 5
If i >= 6 And i <= 15 Then bill(i) = 10
If i >= 16 Then bill(i) = 20
Next i


again:
a = Int(Rnd() * 34 + 1)
again1:
b = Int(Rnd() * 34 + 1)
If a = b Then GoTo again1
n = n + 1
d = bill(a) + bill(b)
d2 = d2 + d
If n < 10000000 Then GoTo again
Debug.Print d2 / n

March 6, 2010 12:36 AM  
Blogger Ragknot said...

It should have been
a= Int(Rnd() * 35 + 1)

March 6, 2010 1:43 AM  
Blogger Chris said...

This post has been removed by the author.

March 6, 2010 5:25 AM  
Blogger Chris said...

Try Ragknot's code with his 35 instead of 34. You also need to add
"Dim bill(1 to 35)" at the start. If you include or exclude the line
"If a = b Then GoTo again1", you still get $30. That line was a quick
way of simulating that you'd already taken bill(a).

March 6, 2010 5:34 AM  

Post a Comment

Links to this post:

Create a Link

<< Home