If the median of the distribution given below is 28.5, find the values of x and y


Class interval



Frequency



0 – 10


10 – 20


20 – 30


30 – 40


40 – 50


50 – 60



5


X


20


15


y


5



Total



60


As per the question,

N= 60



Hence,


Median class = 20-30


Cumulative frequency = 25 + x


Lower limit, l = 20


cf = 5 + x


f = 20


h = 10


Now,


Median can be calculated as:



28.5


28.5 =


25 –x =17


x = 25-17


x = 8


Now,


From the cumulative frequency we can find the value of x + y as:


60 = 5 +20 +15 +5 +x +y


45 +x +y = 60


x + y = 15


y = 15 – x


y = 15 – 8


y = 7


Hence,


Value of x = 8 and y = 7


11