To solve the problem step by step:
a) (1) Draw a tree diagram and answer the questions:
Tree Diagram:
Calculations:
- Total number of people: 300
- Total with side effects: 40 (A) + 6 (B) = 46 people
- Total without side effects: 160 (A) + 94 (B) = 254 people
First Question:
Probability that a person showing no side effects was treated with Medication B:
[ P(\text{B}|\text{No SE}) = \frac{P(\text{No SE and B})}{P(\text{No SE})} = \frac{\frac{94}{300}}{\frac{254}{300}} = \frac{94}{254} = \frac{47}{127} ]
Answer: (\frac{47}{127})
Second Question:
Probability that a person showing side effects was treated with Medication A:
[ P(\text{A}|\text{SE}) = \frac{P(\text{SE and A})}{P(\text{SE})} = \frac{\frac{40}{300}}{\frac{46}{300}} = \frac{40}{46} = \frac{20}{23} ]
Answer: (\frac{20}{23})
(2) Number of people treated with B needed to find at least one with side effects with 90% probability:
We need ( n ) such that:
[ P(\text{At least one SE}) \geq 0.90 ]
[ 1 - P(\text{No SE in all}) \geq 0.90 ]
[ P(\text{No SE in all}) \leq 0.10 ]
[ (0.94)^n \leq 0.10 ]
Take logarithms:
[ n \geq \frac{\ln(0.10)}{\ln(0.94)} \approx \frac{-2.3026}{-0.06188} \approx 37.213 ]
Answer: At least 38 people should be selected.
(3) Probability that at most 3 out of 50 people treated with B show side effects:
Using the binomial distribution ( X \sim B(n=50, p=0.06) ):
[ P(X \leq 3) = \sum_{k=0}^{3} C(50,k) (0.06)^k (0.94)^{50-k} ]
Compute each term:
- ( P(X=0) \approx 0.0454 )
- ( P(X=1) \approx 0.145 )
- ( P(X=2) \approx 0.226 )
- ( P(X=3) \approx 0.232 )
[ P(X \leq 3) = 0.0454 + 0.145 + 0.226 + 0.232 \approx 0.648 ]
Answer: Approximately 64.8% chance.
b) Given that the filling machine's standard deviation is ( \sigma = 2 )g:
(1) Probability that a tube contains between 51g and 55g:
Calculate z-scores:
- ( z_1 = \frac{51 - 50}{2} = 0.5 )
- ( z_2 = \frac{55 - 50}{2} = 2.5 )
[ P(51 \leq X \leq 55) = P(0.5 \leq Z \leq 2.5) = \Phi(2.5) - \Phi(0.5) ]
[ = 0.9938 - 0.6915 = 0.3023 ]
Answer: Approximately 30.2%
(2) Percentage of tubes under 48g:
( z = \frac{48 - 50}{2} = -1 )
[ P(X < 48) = P(Z < -1) = 0.1587 ]
Answer: Approximately 15.87% of the tubes are defective.
(3) Reducing the defective rate to 4%:
Option A: Adjust the tolerance limit
Find the new tolerance limit ( T ):
[ P(X < T) = 0.04 ]
[ z = \Phi^{-1}(0.04) \approx -1.75 ]
[ T = \mu + z \sigma = 50 + (-1.75)(2) = 46.5 ]
Answer: The new tolerance limit is 46.5g.
Option B: Adjust the filling machine
Find the new mean ( \mu ):
[ P(X < 48) = 0.04 ]
[ z = \Phi^{-1}(0.04) \approx -1.75 ]
[ -1.75 = \frac{48 - \mu}{2} ]
[ \mu = 48 + 3.5 = 51.5 ]
Answer: The filling machine should be adjusted to 51.5g.
Final Answers:
a) (1) • Probability = 47⁄127 • Probability = 20⁄23
(2) At least 38 people
(3) Approximately 64.8% probability
b) (1) Approximately 30.2%
(2) Approximately 15.87% defective
(3) • New tolerance limit: 46.5 g
• Filling machine setting: 51.5 g