We have events:
- a <span>student stays in the school's dormitory
- </span>a <span>student stays with family
- </span><span>a student receives As
and </span> probabilities:
We want to calculate the probability <span>that the student lives in the school dormitory given he </span><span>receives As so it will be </span>
. From the <span>Bayes' theorem we know that:
The only thing we don't know is
, but we can calculate it using the l</span><span>aw of total probability. There will be:
So our probability:
Answer D.
</span>