Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

in a class of 30 students, 18 have a cat and 21 have a dog. there are 5…

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

Explanation:

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}$.

Answer:

$\frac{14}{21} = \frac{2}{3}$