# The probability that a student selected at random from a class will pass in Mathematics is 4/5, and the probability that he/she passes in Mathematics and Computer Science is 1/2. What is the probability that he/she will pass in Computer Science if it is known that he has passed in Mathematics?

Let event A→ She passes in Mathematics

Let event B→ She passes in computer sciences

P(A)=45

P(A∩B)=12

To calculate →P(BA)

Using Bayes theorem,

P(A∩B)=P(BA)⋅P(A)

⇒P(BA)=1/24/5=58