Probability of success p = 0.8, so q = 0.2.$\qquad $

X = success in getting through.

Probability of 7 successes in 10 attempts:

MATH

Histogram

Using the following function in SNB,

MATH

we have:

probdist2_binomial__61.png