I DO NOT NEED CODE. DO NOT COPY AND PASTE FROM OTHER CHEGG POSTS OR I WILL DOWNVOTE. EXAMPLE TABLE NEEDED BELOW.
You have two puzzles with parameters as follows:
Puzzle A: One sub-puzzle. k = 5.
Puzzle B: Four sub-puzzles. k = 3.
You should provide, for both cases, the following:
(a) The distribution of the number of cases that require each number of hashes. 1 Mark
(b) A graph of the distribution of the data above. 0.5 Mark
(c) The average number of hashes needed. 0.5 Mark
(d) The population standard deviation for the distribution of the number of hashes needed. 0.5 Mark
#hashes needed 1 2 3 4 5 7 8 9 10 11 12 13 14 15 16
Cases for m=1, k=4 1 1 1 1 - - - - 1
Cases for m=4, k=2 0 0 0 1 4 10 20 31 40 44 40 31 20 10 4