>> dice_simulation_test 07-Jan-2019 13:39:41 DICE_SIMULATION_TEST: MATLAB version Test DICE_SIMULATION. 07-Jan-2019 13:39:41 DICE_SIMULATION: MATLAB version Simulate the throwing and totaling of M dice. Graphics saved as "dice_freq_100_1.png" Graphics saved as "dice_prob_100_1.png" Number of dice = 1 Number of throws = 100 Maximum possible score = 6 Average score = 3.550000 Minimum possible score = 1 Variance of score = 2.613636 DICE_SIMULATION: Normal end of execution. 07-Jan-2019 13:39:42 07-Jan-2019 13:39:42 DICE_SIMULATION: MATLAB version Simulate the throwing and totaling of M dice. Graphics saved as "dice_freq_1000_2.png" Graphics saved as "dice_prob_1000_2.png" Number of dice = 2 Number of throws = 1000 Maximum possible score = 12 Average score = 7.023000 Minimum possible score = 2 Variance of score = 5.740211 DICE_SIMULATION: Normal end of execution. 07-Jan-2019 13:39:42 07-Jan-2019 13:39:42 DICE_SIMULATION: MATLAB version Simulate the throwing and totaling of M dice. Graphics saved as "dice_freq_10000_3.png" Graphics saved as "dice_prob_10000_3.png" Number of dice = 3 Number of throws = 10000 Maximum possible score = 18 Average score = 10.495800 Minimum possible score = 3 Variance of score = 8.565239 DICE_SIMULATION: Normal end of execution. 07-Jan-2019 13:39:43 07-Jan-2019 13:39:43 DICE_SIMULATION: MATLAB version Simulate the throwing and totaling of M dice. Graphics saved as "dice_freq_100000_4.png" Graphics saved as "dice_prob_100000_4.png" Number of dice = 4 Number of throws = 100000 Maximum possible score = 24 Average score = 13.999620 Minimum possible score = 4 Variance of score = 11.641576 DICE_SIMULATION: Normal end of execution. 07-Jan-2019 13:39:43 DICE_SIMULATION_TEST: Normal end of execution. 07-Jan-2019 13:39:43 >>