Step 1 — Add a cumulative frequency column
| Life time (in hours) | Frequency f | Cumulative frequency |
|---|
| 1500 – 2000 | 14 | 14 |
| 2000 – 2500 | 56 | 70 |
| 2500 – 3000 | 60 | 130 |
| 3000 – 3500 | 86 | 216 |
| 3500 – 4000 | 74 | 290 |
| 4000 – 4500 | 62 | 352 |
| 4500 – 5000 | 48 | 400 |
| Total | 400 | |
Step 2 — Locate the median class
n=400⇒2n=200
Reading down the cumulative frequencies: 14,70,130,216.
130 is still below 200, but 216 has passed it. So the 200th lamp lies in the class 3000 – 3500, which is the median class.
Step 3 — Apply the formula
l=3000,cf=130,f=86,h=500
Median=l+(f2n−cf)×h
=3000+(86200−130)×500
=3000+8670×500
=3000+8635000
=3000+406.98
Median life time≈3406.98 hours
Reading the answer back
About half the lamps fail before roughly 3407 hours and about half last longer.
Notice how the fraction 8670 works: the median class holds 86 lamps, and you need to travel 70 of them into it, so you move 8670 — a little over four-fifths — of the way across a 500-hour class. That is why the answer sits near the upper end of 3000–3500.