I have to find a probability that 2 in 30 electrical component coming off a production line is defective. The probability to get a defective one is 0.04. Assume that whether or not a component is defective is independent of whether or not any other component is defective.
so as parameters i have:
K = {1,2,3,..,30} p = defective = 0.4 q = working = 1 - p = 0.6 n = 30 k = 2
I'm applying the formula as:
which is giving me a probability of 4.2741e-05.
is that the right?