Answer — Step by step
| Class interval | Frequency |
|---|---|
| 118–126 | 3 |
| 127–135 | 5 |
| 136–144 | 9 |
| 145–153 | 12 |
| 154–162 | 5 |
| 163–171 | 4 |
| 172–180 | 2 |
Step 1 — Make the inclusive classes continuous
The classes are 118–126, 127–135, …, 172–180. The gap between 126 and 127 is 1, so subtract 0.5 from every lower limit and add 0.5 to every upper limit.
The continuous classes are 117.5–126.5, 126.5–135.5, 135.5–144.5, 144.5–153.5, 153.5–162.5, 162.5–171.5 and 171.5–180.5.
Each class has width h = 9.
Step 2 — Find the cumulative frequencies
For frequencies 3, 5, 9, 12, 5, 4, 2, the cumulative frequencies are 3, 8, 17, 29, 34, 38, 40.
Thus N = 40 and N/2 = 20.
The cumulative total first passes 20 in class 144.5–153.5, which is the median class.
Step 3 — Identify the formula values
Median = l + [(N/2 − cf)/f]h.
Here l = 144.5, cf = 17 (the cumulative frequency before the median class), f = 12 and h = 9.
Step 4 — Substitute and calculate
Median = 144.5 + [(20 − 17)/12] × 9
= 144.5 + 27/12 = 144.5 + 2.25 = 146.75.
Check and answer
146.75 lies in the median class 144.5–153.5. The median is 146.75.