To solve this problem, we can use a Venn diagram to visually represent the given information.
Step 1: Draw two intersecting circles to represent mathematics (M) and science (S).
Step 2: Label the region where the circles intersect as "Both" since this represents the students who like both subjects.
Step 3: Since we know the ratio of students who like mathematics and science is 4:5, we can divide the 95 students into 9 equal parts (4 parts for mathematics and 5 parts for science). Draw four sections outside the intersection in the mathematics circle and five sections outside the intersection in the science circle.
Step 4: Label the remaining sections in the mathematics circle as "Mathematics Only" to represent the students who like only mathematics. Similarly, label the remaining sections in the science circle as "Science Only" to represent the students who like only science.
Now, let's calculate the number of students who like only mathematics and those who like only science.
Step 5: Start by filling in the information we already know. In the intersection, write down that 10 students like both subjects. In the outer sections of the mathematics circle, write down the number of students who like only mathematics. Similarly, do the same for the science circle.
Step 6: Given that 15 students like none of the subjects, place this number outside the circles.
Step 7: Since the total number of students is 95, we can add up the numbers in the Venn diagram to find the remaining sections.
Step 8: Once you have filled in all the information, count the number of students in the "Mathematics Only" section to find the answer to (1) and count the number of students in the "Science Only" section to find the answer to (2).
That's it! By following these steps and using the given ratio and data, you can determine the number of students who like only mathematics and only science.