Monty Hall in Squeak

Over at www.developertesting.com, I wrote about the Monty Hall problem and how I was convinced of the answer by an unused variable in my Java simulation.

Markus wrote a nice simulation in Squeak (dunno what it will do if you don’t have squeak installed but it makes a good excuse for you to go get it).

I am always on the lookout for ideas for a science project for Dylan. For me, the ideal kid’s science project has a hypothesis that

  1. will almost certainly be wrong
  2. can be tested empirically
  3. can be proven mathematically

with extra credit if you can write a computer simulation of it. Dylan’s project last year was “What should you do if draw three cards to an inside straight in poker?”. He said you should raise. I usually beat him at poker šŸ™‚

Published by

Ragged Clown

Based in San Jose, California

3 thoughts on “Monty Hall in Squeak”

Leave a Reply

Your email address will not be published. Required fields are marked *