15-May-2025 16:38:33 monty_hall_simulation_test(): MATLAB/Octave version 6.4.0 monty_hall_simulation() simulates the Monty Hall prize winning game, in which a prize is hidden behind one of several doors. Number of trials = 100000 Doors No-switch winning Switch winning Observed Predicted Observed Predicted n 1/n n-1/n-2 * 1/n 3 0.3326 0.3333 0.6671 0.6667 4 0.2506 0.25 0.3759 0.375 5 0.2003 0.2 0.2675 0.2667 6 0.1649 0.1667 0.2079 0.2083 7 0.1431 0.1429 0.1733 0.1714 8 0.1249 0.125 0.1461 0.1458 9 0.1102 0.1111 0.1257 0.127 10 0.09872 0.1 0.1135 0.1125 monty_hall_simulation_test(): Normal end of execution. 15-May-2025 16:50:14