08-Oct-2025 10:19:20 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.3312 0.3333 0.6694 0.6667 4 0.2512 0.25 0.3745 0.375 5 0.1998 0.2 0.2692 0.2667 6 0.1663 0.1667 0.2066 0.2083 7 0.1416 0.1429 0.1726 0.1714 8 0.1258 0.125 0.1466 0.1458 9 0.1106 0.1111 0.1291 0.127 10 0.1001 0.1 0.113 0.1125 monty_hall_simulation_test(): Normal end of execution. 08-Oct-2025 10:30:56