QUESTION IMAGE
Question
in a class of 30 students, 18 have a cat and 21 have a dog. there are 5 students who do not have a cat or a dog. what is the probability that a student who has a dog also has a cat? answer attempt 1 out of 2
Step1: Find students with cat/dog
Total students: 30, no pet:5. So $30 - 5 = 25$ have cat/dog.
Step2: Calculate both pets
Let $x$ = both. $18 + 21 - x = 25$. So $x = 14$.
Step3: Compute conditional probability
Probability = $\frac{\text{both}}{\text{dog}} = \frac{14}{21} = \frac{2}{3}$.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
$\frac{14}{21} = \frac{2}{3}$