Second one
a) class interval that contains the median
We have 30 values
The median occurs between the 15th and 16th value
The interval where this occurs is 2 ≤ h < 3
b) mean .....I'm less sure about this one because we don't actually know how many hours any particular individual spends on his/her tablet
But let's assume that each individual spends the midpoint of their class interval as a representative time on their tablet
[ For instance....assume that every one in the first class interval spends 1/2 hr on their phone.....everyone in the second class interval spens 1 + 1/2 hrs on their phone, etc.]
So......one estimate of the mean is
[ 4 (1/2) + 8 (1 + 1/2) + 11(2 + 1/2) + 7(3 + 1/2) ] / 30 ≈ 2.2 hrs
