To find the mean number of hours spent on math homework, we first need to find the total number of hours spent by all students. This can be calculated by multiplying each time spent on math homework by the number of students and adding them all together.
1 hour x 8 students = 8 hours
2 hours x 6 students = 12 hours
3 hours x 4 students = 12 hours
4 hours x 2 students = 8 hours
5 hours x 1 student = 5 hours
Adding these together:
8 + 12 + 12 + 8 + 5 = 45
To find the mean, we divide the total number of hours (45) by the total number of students (8+6+4+2+1 = 21):
45 / 21 ≈ 2.14 hours
Therefore, the mean number of hours students spent on math homework is 2.14 hours.