requirements for binomial
a)
B = binary outcome - safe or not safe
I = independent - each bottle of water independent
N = fixed number of samples (20)
S = same probability of unsafe (0.25)
binomial probability formula
C(n,x) p^x (1-p)^n-x, where n is number of samples, x is number of not safe and p is probability of success. for this study, n = 20, p = 0.25, C(n,x) is number of combinations n taken x at a time
b) compute 1 - probability (zero not safe to drink), where latter probability is found using binomial formula for x = 0
c) use binomial formula for x = 18.
d) use binomial formula for x = 0 and x = 1 then add probabilities
e) expected value for binomial is np