n =

p =

k =

P(X=k) =

p = 0.4 (slider from 0 to 1, step 0.05)
n = 12 (slider from 1 to 20, step 1)
a = BinomialDist(n, p)
B1: 10
B2: 0.7
B3: 6
B5 = BinomialDist(B1, B2, B3, false)