13-Nov-2022 08:28:28 craps_simulation_test(): MATLAB/Octave version 4.2.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 6 There were a total of 19 rolls The player's result was -500 The player's bankroll is now 500 The player bet $250 The first roll had the value 11 There were a total of 1 rolls The player's result was 250 The player's bankroll is now 750 The player bet $375 The first roll had the value 10 There were a total of 3 rolls The player's result was -375 The player's bankroll is now 375 The player bet $187.5 The first roll had the value 3 There were a total of 1 rolls The player's result was -187.5 The player's bankroll is now 187.5 The player bet $93.75 The first roll had the value 9 There were a total of 5 rolls The player's result was 93.75 The player's bankroll is now 281.25 The player bet $140.625 The first roll had the value 2 There were a total of 1 rolls The player's result was -140.625 The player's bankroll is now 140.625 The player bet $70.3125 The first roll had the value 5 There were a total of 17 rolls The player's result was -70.3125 The player's bankroll is now 70.3125 The player bet $35.1562 The first roll had the value 2 There were a total of 1 rolls The player's result was -35.1562 The player's bankroll is now 35.1562 The player bet $17.5781 The first roll had the value 8 There were a total of 9 rolls The player's result was -17.5781 The player's bankroll is now 17.5781 The player bet $8.78906 The first roll had the value 2 There were a total of 1 rolls The player's result was -8.78906 The player's bankroll is now 8.78906 craps_stats_test(): craps_stats() reports statistics for N instances of a craps game. N Win/N Rolls/N 1 0.0000 3.0000 10 0.4000 8.0000 100 0.5500 6.0000 1000 0.5110 5.7200 10000 0.4993 5.6512 craps_simulation_test() Normal end of execution. 13-Nov-2022 08:28:31