| Class Interval | 0-10 | 10-20 | 20-30 |
| Frequency | 5 | x | 20 |
| 30-40 | 40-50 | 50-60 |
| 15 | y | 5 |
The frequency distribution table is as follows:
| Class Boundary | Frequency | Cumulative Frequency (less than type) |
| 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\) |
According to the condition, \(45+x+y=60\)
or, \(x+y=15----(i)\)
Also, โตMedian = 28.5
So, the median class is (20-30).
โด The median is determined using the formula:
\[ = l + \left[\cfrac{\cfrac{n}{2}-cf}{f}\right]รh \]
[Here, \(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} \]
According to the 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 the value of \(x\) in equation \((i)\),
\[ 8+y=15 \]
or, \(y=7\)
โด The required values are \(x=8, y=7\).