Calculate P(X ≤ k) for a binomial distribution with n trials and success probability p.
Category: Statistics.