Thread: Odd Escape
View Single Post
  #18   Spotlight this post!  
Unread 08-04-2004, 22:51
Grommit Grommit is offline
Registered User
#0115 (Monta Vista Robotics)
 
Join Date: Oct 2002
Location: Cupertino
Posts: 47
Grommit will become famous soon enoughGrommit will become famous soon enough
Send a message via AIM to Grommit
Re: Odd Escape

This problem might cause heated debate, but it's hard to argue against mathematical fact. In fact, to prove disbelievers wrong, I wrote a program to do exactly this:

Three doors, randomly picked one to be correct.
Randomly pick a door.
Randomly choose a door that is incorrect and not picked to be opened.
Switch to the other door and see if it is correct.

The program won 66.7% of the time, after enough trials.

But I have better problems to solve :
http://www.chiefdelphi.com/forums/sh...ad.php?t=27647

Have fun!
__________________
Shrenik Shah
Engineering Director
Team 115: Monta Vista Robotics

Congratulations to Mr. Shinta for winning Woodie Flowers at Silicon Valley!
Reply With Quote