15-Nov-2022 21:19:01 full_deck_simulation_test(): MATLAB/Octave version 4.2.2 full_deck_simulation() simulates a process in which a card is drawn from the deck, then returned. The process is continued until all cards have been seen at least once. full_deck_try_test(): full_deck_try() repeatedly draws a random card until all cards have been seen at least once. Try Min Mean Max Total 1 1 3.17 6 165 2 1 7.21 17 375 3 1 4.94 9 257 4 1 3.02 7 157 5 1 3.38 7 176 6 1 3.38 7 176 7 1 4.92 12 256 8 1 3.13 8 163 9 1 4.63 9 241 10 1 5.31 11 276 full_deck_stats_test(): full_deck_stats() reports statistics for N instances of the full deck process. N Min Mean Max Var 10 194 262.70 364 3249.12 20 153 246.55 627 10512.37 50 146 228.74 338 2562.20 100 130 233.58 484 4090.41 full_deck_expected_test(): full_deck_expected() reports the expected value for the number of cards drawn in the full deck process. N Expected 10 29.29 52 235.98 100 518.74 365 2364.65 500 3396.41 full_deck_variance_test(): full_deck_variance() reports the variance for the number of cards drawn in the full deck process. N Variance 10 125.69 52 4160.42 100 15831.10 365 216417.19 500 407337.60 full_deck_simulation_test() Normal end of execution. 15-Nov-2022 21:19:04