Compute the median from the following data:
Marks0−77−1414−2121−2828−3535−4242−49Numbers ofstudents347110169
We prepare the cumulative frequency table, as shown:
Marks | Number of students (f) | Cumulative frequency |
0-7 | 3 | 3 |
7-14 | 4 | 7 |
14-21 | 7 | 14 |
21-28 | 11 | 25 |
28-35 | 0 | 25 |
35-42 | 16 | 41 |
42-49 | 9 | 50 |
N=Σf=50 |
N= 50
⇒N/2=25The cumulative frequency greater than 25 is 41 and the corresponding class is 35-42.
Thus the median class is 35-42.
Therefore, l=35, h = 7,
f = 16,
c.f. of preceding class = 25 and N/2=25