(d) choose 40 random integers from 1 to 100. Define a variable probDistinct that estimates the probability that such a l
-
- Site Admin
- Posts: 899559
- Joined: Mon Aug 02, 2021 8:13 am
(d) choose 40 random integers from 1 to 100. Define a variable probDistinct that estimates the probability that such a l
(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.