Answer:
See explanation.
Step-by-step explanation:
We are looking at a geometric distribution.
The probability of selecting a brown peanut is .12 = p
The probability of not selecting a brown peanut is .88 = q
The probability mass function is p(y) = (.88)^(y-1) * (.12)
a) p(7) = (.88)^6 * .12 = .0557
b) p(7 <= y <= 8) = p(7) + p(8)
= .0557 + (.88)^7 * .12 = .1048
c) p(y <= 7) = p(0) + p(1) + ... + p(7)
= .12 + (.88)^1 * .12 + (.88)^2 * .12 + ... + (.88)^6 * .12 = .4713
d) The expect value is 1/p. So, 1/(.12) = 8.33 M&M's