Solution:Let total number of students in the class is x.then, x(1 - 5/100) = 0.95x
Students passed either in math or English
i.e. n(M ∪ E)= 0.95x
n(M ∩ E)= 0.25x
n(E) = 0.5x
From n(M ∪ E)= n(M) + n(E) -n(M ∩ E)
0.95x = n(M) + 0.5x - 0.25x
∴ n(M) = 0.7x
According to the question,
n(M) = 40
0.7x = 40 ⇒ x = 400/7
(Number of students passed in English)/(Number of students passed in math)
= (0.5 × 400/7)/40 = 5/7