- For n = 50 to 400, in steps of size 5, this program computes and displays
(1) the exact probability
P(|A_n - p| >= epsilon), where A_n is the average outcome of
n Bernoulli trials with probability p of success, and (2) the Chebyshev estimate
p(1-p)/(n(epsilon^2)) for this probability. You can specify p and epsilon.