To determine the percentage of students in grades 9-10 who like rap music, follow these steps:
1. Find the total number of students in grades 9-10. According to the table, this total is 125.
2. Identify the number of students in grades 9-10 who like rap music. From the table, we can see that this number is 40.
3. Calculate the percentage by dividing the number of students who like rap music by the total number of students in grades 9-10, and then multiply by 100 to convert it to a percentage:
[tex]\[
\text{Percentage of students who like rap} = \left( \frac{40}{125} \right) \times 100
\][/tex]
4. Performing the division:
[tex]\[
\frac{40}{125} = 0.32
\][/tex]
5. Convert this fraction to a percentage by multiplying by 100:
[tex]\[
0.32 \times 100 = 32.0
\][/tex]
6. Round the percentage to the nearest whole number. Thus, 32.0 rounded to the nearest whole number is 32.
Therefore, 32% of the students in grades 9-10 like rap music.