Probability Binomial Distribution
Hi,
This isn't actually a programming question, but I figure most people reading this part of the forum are good at maths so here it is:
Russel Narks is shooting at a target. His probability of hitting the target is 0.6. What is the minimum number of shots needed for the probability of Russel hitting the target exactly five times to be more than 25%.
This is a binomial distribution equation, which for those of you that remember binomial distribution has the formula:
Pr(X=x)= (n C x) * (p^x) * ((1-p)^(n-x)
Where n = number of trials
p = chance of success
and x = number of successes.
So anyway with the above equation I got
.25 = (n C 5) * (.6^5) * (.4^(n-5))
I then rearranged it to
.25/(.6^5) = (n C 5) * (.4^(n-5))
and then got stuck there...if anyone has any ideas please tell me...(I could had gone about this the total wrong way so my workings may be useless)