Answer:
0.2345 = 23.45% probability that there are exactly 3 defective resistors in the sample
Explanation:
For each resistor, there are only two possible outcomes. Either they are defective, or they are not. The probability of a resistor being defective is independent of other resistors. So we use the binomial probability distribution to solve this question.
Binomial probability distribution
The binomial probability is the probability of exactly x successes on n repeated trials, and X can only have two outcomes.

In which
is the number of different combinations of x objects from a set of n elements, given by the following formula.

And p is the probability of X happening.
8.7% of the resistors produced are defective.
This means that

If a random sample of 34 resistors is taken, what is the probability that there are exactly 3 defective resistors in the sample?
This is P(X = 3) when n = 34. So


0.2345 = 23.45% probability that there are exactly 3 defective resistors in the sample