19-Jul-2022 11:43:31 craps_simulation_test(): MATLAB/Octave version 9.8.0.1380330 (R2020a) Update 2 craps_simulation() simulates a game of craps. craps_game_test(): craps_game() simulates a game of craps. Player starts with bankroll of 1000 The player bet $500 The first roll had the value 10 There were a total of 13 rolls The player's result was 500 The player's bankroll is now 1500 The player bet $750 The first roll had the value 7 There were a total of 1 rolls The player's result was 750 The player's bankroll is now 2250 The player bet $1125 The first roll had the value 10 There were a total of 9 rolls The player's result was -1125 The player's bankroll is now 1125 The player bet $562.5 The first roll had the value 8 There were a total of 3 rolls The player's result was -562.5 The player's bankroll is now 562.5 The player bet $281.25 The first roll had the value 8 There were a total of 7 rolls The player's result was 281.25 The player's bankroll is now 843.75 The player bet $421.875 The first roll had the value 8 There were a total of 23 rolls The player's result was 421.875 The player's bankroll is now 1265.62 The player bet $632.812 The first roll had the value 5 There were a total of 3 rolls The player's result was 632.812 The player's bankroll is now 1898.44 The player bet $949.219 The first roll had the value 7 There were a total of 1 rolls The player's result was 949.219 The player's bankroll is now 2847.66 The player bet $1423.83 The first roll had the value 6 There were a total of 5 rolls The player's result was -1423.83 The player's bankroll is now 1423.83 The player bet $711.914 The first roll had the value 7 There were a total of 1 rolls The player's result was 711.914 The player's bankroll is now 2135.74 craps_stats_test(): craps_stats() reports statistics for N instances of a craps game. N Win/N Rolls/N 1 0.0000 5.0000 10 0.8000 4.2000 100 0.4900 6.5800 1000 0.4940 6.2120 10000 0.4976 5.7400 craps_simulation_test() Normal end of execution. 19-Jul-2022 11:45:25