Step 1: Find the total frequency.
\[
N = 4 + 6 + 5 + 8 + 2 = 25
\]
Step 2: Compute \(\frac{N}{2}\).
\[
\frac{N}{2} = \frac{25}{2} = 12.5
\]
Step 3: Identify the median class.
The median class is the class whose cumulative frequency just exceeds 12.5.
Cumulative frequencies:
\[
0–5: 4, \quad 5–10: 10, \quad 10–15: 15, \quad 15–20: 23, \quad 20–25: 25
\]
The cumulative frequency just greater than 12.5 is 15, corresponding to the class 10–15.
Step 4: Recheck based on median formula.
However, as per the standard definition, the class interval containing \(\frac{N}{2}\) = 12.5 is 10–15.
Step 5: Conclusion.
Hence, the median class is 10–15.