(d) choose 40 random integers from 1 to 100. Define a variable probDistinct that estimates the probability that such a l
Posted: Sun Sep 05, 2021 5:12 pm
(d) choose 40 random integers from 1 to 100. Define a variable probDistinct that estimates the probability that such a list of 40 random integers has exactly 30 or 31 different numbers. (For example, there are exactly three different numbers appearing in the length 9 list {1,7,1,2,1,1, 7, 2, 2}. Your estimate should be consistent to at least two decimal places.