For X∼Binomial(n,p)X \sim \mathrm{Binomial}(n, p)X∼Binomial(n,p), return P(X≥k)P(X \geq k)P(X≥k) by summing the tail.
Input
n = 10 k = 6 p = 0.5
Output
0.376953125
This one's part of Premium. Unlock the full Probability track plus every other premium problem on the site.
solve(...)