Question
Question: Suppose a machine produces metal parts that contain some defective parts with probability 0.05. . Ho...
Suppose a machine produces metal parts that contain some defective parts with probability 0.05. . How many parts should be produced in order that the probability of at least one part being defective is 21 or more? (Given that, log1095=1.997 and log102=0.3)
A) 11
B) 12
C) 15
D) 14
Solution
First, find the probability of no part is defective by subtracting the probability of defective parts from 1. Then apply the formula P(X=r)=nCrprqn−r to find the required parts to be produced without defective parts. After that subtract it from 1 to find the required parts to be produced with defective parts and equate it to 21. Then solve it to get the number of parts to be produced.
Complete step-by-step answer:
Given: - The probability of some defective parts =0.05
Let n be the required parts to be produced.
The probability of at least one part being defective = 1 - the probability of no part defective
⇒ Probability of no part defective =1−0.05
Subtract the values on the right side,
⇒Probability of no part defective =0.05
The equation for the parts to be produced will be given by,
P(X=r)=nCrprqn−r
Substitute the values p=0.05, q=0.95,
⇒P(X⩾1)=1−nC0(0.05)0(0.95)n
As it is given that,
P(X⩾1)⩾21
Substitute the value,
⇒1−nC0(0.05)0(0.95)n⩾21
Simplify the terms,
⇒(0.95)n⩽1−21
Subtract the number on the right side,
⇒(0.95)n⩽21
Now taking log on both sides with base ten we get:
⇒log10(0.95)n⩽log1021
Convert the decimal into a fraction,
⇒nlog10(10095)⩽log1021
As we know,
lognm=logm−logn
Use this formula in the equation,
⇒n(log1095−log10100)⩽log101−log102
Substitute the value of log1095 and log102,
⇒n(1.977−2)⩽0−0.3
Subtract the values on both sides,
⇒−0.023n⩽−0.3
Divide both sides by −0.023,
⇒n⩾−0.023−0.3
Cancel out the common factors,
∴n⩾13.04
Hence, option (C) and (D) is the correct answer.
Note: The student might make a mistake by not changing the sign when dividing by the negative number.
As we know that the total probability of an event is one, so firstly we found the probability of no part defective by subtracting the probability of one part being defective which is given 0.05 from one and suppose n parts produced in order that the probability of at least one part being defective is one-half or more after that we formed the equation and simplified it and got the required result.