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
- will almost certainly be wrong
- can be tested empirically
- 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 🙂