Median class is 40–50 since median =
46. Formula for median:
Median = l + (N)/(2) - cff× h
Here,
l=40, h=10, f=65, N=229, (N)/(2)=114.5
Cumulative frequency before median class:
12+30+x = 42+x
Substitute:
46 = 40 + (114.5-(42+x))/(65)× 10
6 = (72.5-x)/(65)× 10
x=25
Using total frequency:
12+30+25+65+y+25+18=229 y=40