Home License -- for personal use only. Not for government, academic, research, commercial, or other organizational use. 13-May-2025 12:59:22 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.660000 Minimum possible score = 1 Variance of score = 2.974141 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.029000 Minimum possible score = 2 Variance of score = 5.639799 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.542700 Minimum possible score = 3 Variance of score = 8.767053 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 = 13.982300 Minimum possible score = 4 Variance of score = 11.630263 dice_simulation_test(): Normal end of execution. 13-May-2025 12:59:30