2. If the median of the distribution given below is 28.5, find the values of x and y.
Class |
Number of consumers |
Cumulative Frequency |
0-10 | 5 | 5 |
10-20 | x | 5+x |
20-30 | 20 | 25+x |
30-40 | 15 | 40+x |
40-50 | y | 40+x+y |
50-60 | 5 | 45+x+y |
= 60 |
|
Now,
Given median = 28.5 which lies in the class 20-30
Therefore, Median class = 20-30
Frequency corresponding to median class, f = 20
Cumulative frequency of the class preceding the median class, c.f. = 5 + x
Lower limit, l = 20; Class height, h = 10
Also,
Therefore, required values are: x=8 and y=7