21-May-2022 19:23:21 full_deck_simulation_test(): MATLAB/Octave version 9.8.0.1380330 (R2020a) Update 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 4.73 10 246 2 1 5.02 10 261 3 1 4.25 8 221 4 1 5.12 13 266 5 1 7.23 16 376 6 1 6.73 14 350 7 1 3.10 7 161 8 1 4.44 10 231 9 1 4.71 9 245 10 1 3.40 8 177 full_deck_stats_test(): full_deck_stats() reports statistics for N instances of the full deck process. N Min Mean Max Var 10 171 233.10 359 4177.66 20 135 247.65 445 6096.03 50 144 250.00 401 3797.35 100 101 248.32 593 5748.22 1000 97 235.22 633 4172.21 10000 104 235.24 653 4063.92 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. 21-May-2022 19:23:24