Roman C. answered 10/01/15
Tutor
5.0
(851)
Masters of Education Graduate with Mathematics Expertise
The second question is easier, so let's get it out of the way first.
The total size of the class we choose from when flipping heads is 12+15 = 27 and 15 of them are girls. Therefore
Pr[Girl | H] = 15/27 = 5/9
Now for the first question. Here you use the Law of Total Probability (LOTP).
Start by finding the other conditional probability:
Pr[Girl | T] = 11 / (8+11) = 11/19
By LOTP:
Pr[Girl] = Pr[Girl | H] Pr[H] + Pr[Girl | T] Pr[T]
= (5/9)(1/5) + (11/19)(4/5) = 1/9 + 44/95 = 491/855