![]() |
#16 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,793
Karma: 29028512
Join Date: May 2010
Location: Florida
Device: Sony PRS 600, Nook ST, Toshiba Excite 10.1 AT 300
|
Here's my try.
Spoiler:
Last edited by obs20; 06-21-2010 at 08:01 PM. Reason: had to proofread for logic!! |
![]() |
![]() |
![]() |
#17 |
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73,948
Karma: 315160596
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
|
|
![]() |
![]() |
Advert | |
|
![]() |
#18 | |||
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73,948
Karma: 315160596
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
|
OK, answers time. I've put them in spoiler tags for anyone late to the puzzle.
If you're still confused after readin these spoilers, see the wikipedia article on the Monty Hall Problem, which is very similar. Quote:
Spoiler:
Quote:
The answer is, Spoiler:
Quote:
Spoiler:
|
|||
![]() |
![]() |
![]() |
#19 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 241
Karma: 2617
Join Date: Mar 2009
Location: Greenwood, SC
Device: Kindle 2
|
Quote:
Spoiler:
In other words: The only winning move is not to play. How about a nice game of chess? Last edited by clarknova; 06-22-2010 at 10:57 AM. |
|
![]() |
![]() |
![]() |
#20 |
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73,948
Karma: 315160596
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
|
Sorry, you're not right. The chances of winning by sticking to your original choice and winning by switching to the other remaining cylinder must sum to 1. You have it adding up to 5/6ths.
|
![]() |
![]() |
Advert | |
|
![]() |
#21 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 241
Karma: 2617
Join Date: Mar 2009
Location: Greenwood, SC
Device: Kindle 2
|
Quote:
Oh well. I fixed it, and it does break even now. Code:
#!/usr/bin/perl $win=$lose=0; $money=1; for ($i=1; $i<=10;$i++) { @shell = (0, 1, 2); $deal = int(rand(3)); # The shell with the coin splice(@shell,$deal,1); # The empty shells. $money -= 1; # Player's wager. $pick = int(rand(3)); # Player's shell choice. if (int(rand(2))) { # Remove an empty shell that the $rem=$shell[1]; # ..player hasn't chosen. if ($pick == $rem) { $rem=$shell[0]; } } else { $rem=$shell[0]; if ($pick == $rem) { $rem=$shell[1]; } } print "Dealer gets $deal. Player picks $pick. Dealer removes $rem.\n"; for ($j=0;$j<3;$j++) { # Change the pick to the other remaing shell. next if ($pick == $j or $rem == $j); $pick = $j; last; # DAMNIT! I used "break;" instead of last! } $money -= 1; # Double your bet. print "Player changes to $pick.\n"; if ($pick == $deal) { $money += 3; # Winner! Get your 3 coins! $win++; print "Player Wins.\n"; } else { $lose++; # Loser! print "Player Loses.\n"; } print "\nGames: $i Wins: $win Losses: $lose Player Money: $money\n\n"; } |
|
![]() |
![]() |
![]() |
#22 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
|
![]() |
![]() |
![]() |
#23 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,793
Karma: 29028512
Join Date: May 2010
Location: Florida
Device: Sony PRS 600, Nook ST, Toshiba Excite 10.1 AT 300
|
Wait a minute! Have you ever played 3 card monte?
They will always turn over an empty cup and try to suck you into a larger bet. This is not charity, once your money is on the table the odds are 3 to 1 They know that at this point even though the odds may seem to be even money the overall odds still remain at 3 to 1 because you put your money on the table in the first place. Let's look at it this way they get your money on the table and pay 2 to 1 on a 3 to 1 chance. They have to make money. If you increase your stake then it's just good money going after bad. |
![]() |
![]() |
![]() |
#24 | |
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73,948
Karma: 315160596
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
|
Quote:
But in this honest version, your analysis is faulty. Spoiler:
|
|
![]() |
![]() |
![]() |
#25 | |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Quote:
|
|
![]() |
![]() |
![]() |
#26 |
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73,948
Karma: 315160596
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
|
Next puzzle is up: https://www.mobileread.com/forums/showthread.php?t=88107
|
![]() |
![]() |
![]() |
#27 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,793
Karma: 29028512
Join Date: May 2010
Location: Florida
Device: Sony PRS 600, Nook ST, Toshiba Excite 10.1 AT 300
|
Quote:
Lets suppose that the dealer and player are both logical. The dealer knows that he has a 2/3 advantage of winning and only has to pay out even money. Most of the time he will turn over the cup where the coin is and take the money. However he would like to get some more money into the game so he turns over an empty cup and makes an offer to let the player switch cups for the price of doubling down. Remember the dealer knows where the coin is. He knows if the player guessed right the first time or not. Now let us suppose that the player is ever so logical and will always switch his bet when this offer comes up because mathematically it's too his advantage. But the dealer has the knowledge of where the coin actually is. By the rules of this game the dealer is not cheating if he uses that knowledge. The dealer being ever so logical will make the offer every time he knows that the player guessed right the first time. |
|
![]() |
![]() |
![]() |
#28 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,454
Karma: 37243
Join Date: Dec 2009
Location: Europe
Device: pocketbook 360, kindle 4
|
I think the rule in this particular case is that the dealer will always make the offer to switch, regardless of whether you bet on the right cup or not.
But in real life I suppose that's how it works. The dealer has the inside knowledge, and therefore the advantage. |
![]() |
![]() |
![]() |
#29 | |
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73,948
Karma: 315160596
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
|
Quote:
That's why there's the bit about watching the game for a while in the question. |
|
![]() |
![]() |
![]() |
#30 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,793
Karma: 29028512
Join Date: May 2010
Location: Florida
Device: Sony PRS 600, Nook ST, Toshiba Excite 10.1 AT 300
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Science Fiction Pierce, Jim: The Coin Operated Time Machine. v1. 19 Apr 2010 | Joebill | ePub Books | 5 | 09-24-2011 09:55 AM |
Mystery and Crime Hume, Fergus: A Coin of Edward VII, v1, 26 February 2010. | Patricia | IMP Books | 0 | 02-25-2010 09:20 PM |
Mystery and Crime Hume, Fergus: A Coin of Edward VII, v1, 26 February 2010. | Patricia | BBeB/LRF Books | 0 | 02-25-2010 09:19 PM |
Mystery and Crime Hume, Fergus: A Coin of Edward VII, v1, 26 February 2010. | Patricia | Kindle Books | 0 | 02-25-2010 09:17 PM |
Amazon Gift Certificates from Coin Star | daffy4u | Amazon Kindle | 24 | 02-17-2009 07:14 PM |