Use the image to answer the question.

A bar graph shows the number of hours spent on math homework versus the number of students. The horizontal axis shows the time in hours ranging from 1 to 5 in increments of 1. The vertical axis shows the number of students ranging from 0 to 10 in increments of 1. The data with time in hours, followed by the number of students is as follows: 1 to 8, 2 to 6, 3 to 4, 4 to 2, and 5 to 1.

The graph shows the number of hours randomly selected students spent on math homework. What is the mean number of hours students spent on math homework?

(1 point)
Responses

9 hours
9 hours

2.14 hours
2.14 hours

1.4 hours
1.4 hours

1 hour
1 hour

The mean is calculated by adding up all the hours and then dividing by the total number of students.

Total hours = (1 x 8) + (2 x 6) + (3 x 4) + (4 x 2) + (5 x 1) = 8 + 12 + 12 + 8 + 5 = 45

Total number of students = 8 + 6 + 4 + 2 + 1 = 21

Mean number of hours = Total hours / Total number of students = 45 / 21 ≈ 2.14 hours

Therefore, the mean number of hours students spent on math homework is 2.14 hours.