'Less than' cumulative frequency table (accumulate up to upper class boundaries):
| Marks less than | Cumulative frequency |
|---|---|
| 10 | 10 |
| 20 | 25 |
| 30 | 50 |
| 40 | 80 |
| 50 | 100 |
Here n=100, so 2n=50.
The cumulative frequency first reaches 50 at 'less than 30', meaning entries beyond cf = 50 lie in 30–40. Since 2n=50 is reached exactly at cf of class 20–30, the median class is 30–40 (the class where cf first exceeds 50 for the next value).
Computing the median with l=30, cf=50, f=30, h=10:
Median=30+(3050−50)×10=30
So the median is 30 marks, and the 'less than' table shows how cf helps locate it.