A study was conducted to analyze the number of hours spent on homework by a group of 50 students in a week. The following hours were recorded:
- 0 hours: 5 students
- 1 hour: 10 students
- 2 hours: 15 students
- 3 hours: 12 students
- 4 hours: 8 students
- 5 hours: 0 students
To determine the average number of hours spent on homework, calculate the total homework hours and divide by the total number of students.