Home License -- for personal use only. Not for government, academic, research, commercial, or other organizational use. 07-Oct-2025 19:52:57 dice_simulation_test(): MATLAB/Octave version 9.11.0.2358333 (R2021b) Update 7 Test dice_simulation(). dice_simulation(): Simulate throwing and totaling 1 dice 100 times. 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.570000 Minimum possible score = 1 Variance of score = 2.995051 dice_simulation(): Simulate throwing and totaling 2 dice 1000 times. 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.051000 Minimum possible score = 2 Variance of score = 6.154554 dice_simulation(): Simulate throwing and totaling 3 dice 10000 times. 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.523100 Minimum possible score = 3 Variance of score = 8.740540 dice_simulation(): Simulate throwing and totaling 4 dice 100000 times. 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 = 14.016110 Minimum possible score = 4 Variance of score = 11.693007 dice_simulation_test(): Normal end of execution. 07-Oct-2025 19:53:06