The frequency distribution table:
| Class Boundaries | Frequency | Cumulative Frequency (Less Than) |
| 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=n\) |
Here, \(n=60\) (Given).
By condition, \(45+x+y=60\),
or, \(x+y=15----(i)\).
Since the median = 28.5,
The median class is (20-30).
Formula for median:
\(=l+\left[\cfrac{\cfrac{n}{2}-cf}{f}\right]Ãh\)
Where:
\(l=20\), \(n=60\), \(cf=5+x\), \(f=20\), \(h=10\).
\(=20+\left[\cfrac{30-(5+x)}{20}\right]Ã10\)
\(=20+\cfrac{25-x}{20}Ã10\)
\(=20+\cfrac{25-x}{2}\)
By condition:
\(20+ \cfrac{25-x}{2}=28.5\)
or, \(\cfrac{25-x}{2}=8.5\)
or, \(25-x=17\)
or, \(-x=-8\)
or, \(x=8\).
Substituting \(x\) in equation (i):
\(8+y=15\)
or, \(y=7\).
âī Required values: \(x=8, y=7\).