Final answer:
The class interval that contains the median is 20 < h < 30.
Step-by-step explanation:
The class interval that contains the median is 20 < h < 30. To find the median, we need to determine the class interval that contains the middle value. Since the total number of data values is 30, the middle value would be the 15th value.
To count the cumulative frequency, we add up the frequencies until we reach or exceed the middle value. In this case, the cumulative frequency for the interval 20 < h < 30 is 9 + 7 = 16, which exceeds 15.