there are two boxes of parts, there are 50 parts in box A and 10 are perfect, 30 parts in box B and 18 are perfect. A box is selected randomly and two parts are taken out from it at a time without replacement.
1- find the probability that the first part is perfect. 2- suppose that the first part is found to be perfect. Find the probability that the second part is still perfect
I have resolved the first question and I got 0.4, but I still trying to resolve the second one, I would appreciate it If I get help or at least some hints
The probability to get the second part perfect given the first is perfect can be calculated using conditional probability definition
$$\frac{\mathbb{P}[\text{both parts perfect}]}{\mathbb{P}[\text{first part perfect}]}=\frac{\frac{\binom{10}{2}}{\binom{50}{2}}+\frac{\binom{18}{2}}{\binom{30}{2}}}{\frac{10}{50}+\frac{18}{30}}\approx48.56\%$$