- exactly 3 parts are defective out of 15. Use R to check your answers. Answer:
P(k successes out of n) = nCk pk (1-p)n-k
=
15C3 * 0.053 * (1-0.05)15-3
= 15!/(3!*12!) * 0.053 * 0.9512 = 0.03073298 = 3%.
This
probability is computed using R like this:
> dbinom(3, 15, 0.05)
[1] 0.03073298
- exactly 2 parts are defective out of 15. Answer:
P(k successes out of n) = nCk pk (1-p)n-k
=
15C2 * 0.052 * (1-0.05)15-2
= 15!/(2!*13!) * 0.052 * 0.9513 = 0.1347523 = 13%.
This
probability is computed using R like this:
> dbinom(2, 15, 0.05)
[1] 0.1347523
- exactly 1 part is defective out of 15. Answer:
P(k successes out of n) = nCk pk (1-p)n-k
=
15C1 * 0.051 * (1-0.05)15-1
= 15!/(1!*14!) * 0.051 * 0.9514 = 0.3657562 = 37%.
This
probability is computed using R like this:
> dbinom(1, 15, 0.05)
[1] 0.3657562
- no parts are defective out of 15. Answer:
P(k successes out of n) = nCk pk (1-p)n-k
=
15C0 * 0.050 * (1-0.05)15-0
= 15!/(0!*15!) * 0.050 * 0.9515 = 0.4632912 = 46%.
This
probability is computed using R like this:
> dbinom(0, 15, 0.05)
[1] 0.4632912
- 3 or fewer parts are defective. Answer:
P(3 or fewer defective parts
0.03073298 + 0.1347523 + 0.3657562 + 0.4632912 = 0.9945327 = 99%.
To verify this answer with R:
> # The following R statement computes the
> # probability of 3 or fewer sucesses out of 15
> # when the probability of success is 0.05.
> pbinom(3, 15, 0.05)
[1] 0.9945327