n = 50 (slider from 0 to 100, step 1)
p = 0.7 (slider from 0 to 1, step 0.01)
a = BinomialDist(n, p)