Final answer:
To find the probability of exactly 3 people having the xyz gene in a sample of 7 people, we can use the binomial probability formula.
Step-by-step explanation:
To find the probability of exactly 3 people having the xyz gene in a sample of 7 people, we can use the binomial probability formula. The probability of success (a person having the xyz gene) is 2/5, and the probability of failure (a person not having the xyz gene) is 3/5.
Using the binomial probability formula, P(x = 3) = C(7, 3) * (2/5)^3 * (3/5)^4, where C(7, 3) is the number of ways to choose 3 out of 7 people.
Calculating this expression, we get P(x = 3) = 35 * (2/5)^3 * (3/5)^4 = 0.1856.