Suppose a certain engineering class is given midterm examination. The probability of student studying for exam is 0.7. Of those students who study, the probability of their passing midterm is 0.9. If a student doesn't study, his or her probability of passing is 0.05.
Given that a student did not pass the exam, what is the probability that he or she studied?