The formula for the binomial distribution is:
\[P(X=k) = C(n, k) * p^k * (1-p)^{n-k}\]
where:
- \(P(X=k)\) is the probability of \(k\) successes in \(n\) trials,
- \(C(n, k)\) is the number of combinations of \(n\) items taken \(k\) at a time,
- \(p\) is the
Show more…