In class XI of a school 40% of the students study mathematics, and 30% study biology. 10% of the students study both mathematics and biology. If a student is selected at random from the class, find the probability that he will be studying mathematics or biology.