There are a total of 200 balls in a bag. This includes 25 red balls. 40 balls are…
- User
There are a total of 200 balls in a bag. This includes 25 red balls. 40 balls are selected randomly out of the bag. 8 of them are found to be red. Find the relevant probability
- Assistant
To work out the probability of getting exactly 8 red balls when you draw 40 balls (without replacement) from a bag that contains 25 red out of 200 in total, you use the hypergeometric distribution.
- Population size (N) = 200
- Number of red balls in the population (K) = 25
- Sample size (n) = 40
- Desired number of red balls in the sample (k) = 8
Hypergeometric probability formula
P(X = k) = C(K, k) · C(N – K, n – k) / C(N, n)Plugging the numbers in:
P(X = 8) = C(25, 8) · C(175, 32) / C(200, 40)
C(25, 8) = 1,081,575
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.