Let X = number of rejected pistons

(In this case, "success" means rejection!)

Here, n = 10, p = 0.12, q = 0.88.

(a)

No rejects

MATH

One reject

MATH

Two rejects

MATH

So the probability of getting no more than 2 rejects is:

MATH

(b) We could work out all the cases for X = 2, 3, 4, ..., 10, but it is much easier to proceed as follows:

MATH

MATH

Histogram

Using SNB , we can define the function MATH and then use matrices to find the values at 0, 1, 2, ... which gives us the histogram:

probdist2_binomial__98.png

$\qquad $

Alternatively, using SNB :

MATH
probdist2_binomial__101.png