Obinna E. answered 12/30/19
Math Teacher with over 20 years of experience at your service!
P(x) = the desired probability
n = Number of trials = 5
x = Number of successes = 2, 3, or 4
p = probability of success = 40% or 0.40
q = probability of failure = 1 - p = 1 - 0.40 = 0.60
For 2 success, x = 2
P(2) = 5!/[(5-2)!·2!]·(0.40)2·(0.60)5-2 = 5!/[(5-2)!·2!]·(0.40)2·(0.60)3 = 5!/(3!·2!)·(0.16)·(0.216) = 10·(0.16)·(0.216)
= 0.3456
The probability of 2 successes is 34.6%
For 3 and 4 successes, x = 3 and x = 4. You would run the same calculation 2 more times changing all the x values to the new number.