xX===IMPORTANT===Xx PRESS FLAG TO BEGIN CALCULATIONS xX===Operating Parameters & Variables===Xx Be sure to understand the Monty Hall Problem before looking at this! Explanation in the notes section NoOfTests - Number of tests performed NoOfDoors - Number of doors given, if you had 10 doors, 8 of them will be opened. Total - Number of tests performed Switch - Number of tests succeeded while switched. Not switch - Number of tests succeeded while not switched. Switch% - Percentage of switching (rounded) Not switch& - Percentage of not switching (rounded) xX===A bit about the calculator===Xx This calculator is entirely made by me and is based upon some algorithms I made. I don't really want to use a formula as we are really trying to find out whether the Monty Hall Problem will work in the real world. To increase accuracy, increase the NoOfTests variable as that will make sure that the information is tested more times. To actually get 33% and 66% for both numbers, you must perform the tests an infinite amount of time thus making it rather impossible in practice.
xX===About===Xx I made this calculator to prove the solution to the Monty Hall Problem is true. If you don't know what the Monty Hall Problem is, check out the explanation below (sources are included for you to go check out!). Here, you can test out the theory for yourself and maybe come up with an algebriac expression and explanation for this confusing problem without going into Wikipedia or something and just reading it - good and fun brainwork though. xX===Explanation to the Monty Hall Problem===Xx !!!WARNING: MATHS!!! Imagine you're in the 90s and you are invited to participate in a game show (which actually existed in the 90s). A host called Mr. Monty Hall comes up to you and asks you to pick a door - two of the doors has a goat behind it and one has your brand new dream car in it. Now, you need to pick a door, giving you a 1/3 chance of getting the car. Mr. Monty now opens the remaining two doors which have a goat behind it and asks if you want to choose the other door. Should you pick the other door? At first, this may seem very easy - it doesn't really matter, you still have a 1/3 chance to get it right no matter if you switch it or not... right? Nope. Instead, you have a 2/3 chance to get the car. You could kind of say that the odds are further 'concentrated' from the two remaining doors into the remaining the door. Confusing? Well, let's imagine we have a hundred doors and you pick one of them. Mr. Monty opens 98 of them. Should you choose the remaining one door? Of course! You'd have a 99/100 chance of the getting the car. xX===Sources===Xx https://www.youtube.com/watch?v=4Lb-6rxZxx0 Epic explaination + More maths! =D https://www.youtube.com/watch?v=ggDQXlinbME Some cool history of this problem Hopefully, you learnt something!