You go on vacation and ask your friends to water your plant. If your friends water the plant, it will survive your absence with probability $0.9$. Otherwise, if they forget to water it, it will die with probability $0.6$. Your friends will forget to water your plant with probability $0.3$. You return home from your vacation and find your plant dead. What is the probability that your friends did not water it?
Solution attempt: Let A denote event your friends water the plant.
Let B denote event the plant dies.
We have $P(B^C|A)=0.9, P(B|A^c)=0.6,P(A^c)=0.3$
We want to calculate $P(A^c|B) = \frac{P(B|A^c) \cdot P(A^c)}{P(B|A^c) \cdot P(A^c)+P(B|A)P(A)} = \frac{0.6 \cdot 0.3}{0.6 \cdot 0.3 + (1-0.9) \cdot (1-0.3)} = 0.72$.
Is this correct?