Binomial ProbabilitiesTo compute the probability of a certain number of outcomes (k) of acertain number of attempts (n), given that the probability of thatoutcome is p, is:
nCk * pk * (1-p)(n - k)
Where nCk means the number of combinationsof n taken k at a time. This is:
k! (n - k)!