1
0
www.mikescher.com/www/statics/programs/Ziegenproblem_description.md

7 lines
762 B
Markdown
Raw Permalink Normal View History

2017-11-08 17:39:50 +01:00
The [Monty-Hall-Problem](http://en.wikipedia.org/wiki/Monty_Hall_problem) is an old mathematical riddle
> Suppose you're on a game show, and you're given the choice of three doors: Behind one door is a car; behind the others, goats. You pick a door, say No. 1, and the host, who knows what's behind the doors, opens another door, say No. 3, which has a goat. He then says to you, "Do you want to pick door No. 2?" Is it to your advantage to switch your choice?
The answer - even though it might seem strange - is **yes**, you should change.
For the full mathematical proof you can read wikipedia, but to visualize the problem you can use this little program and test it by yourself.
You can even automate a few hundred tests and see whats right on average.