To find the median class, we first calculate the cumulative frequencies:
\[
\text{Class interval:} \quad 0-10, 10-20, 20-30, 30-40, 40-50
\]
\[
\text{Frequency:} \quad 4, 5, 13, 20, 8
\]
Now, compute the cumulative frequency:
\[
\text{Cumulative frequency:} \quad 4, 9, 22, 42, 50
\]
The total frequency \( N \) is 50.
Step 1: Find the median position.
The median position is given by:
\[
\frac{N}{2} = \frac{50}{2} = 25
\]
Step 2: Find the median class.
The cumulative frequency just greater than or equal to 25 is 42, which corresponds to the class interval \( 20-30 \).
Thus, the median class is \( 20-30 \).