(i) Let us arrange the numbers in ascending order as below.
7,14,15,21,22,23,24
Number of items n=7 is an odd number.
So, there exist only one middle term.
Thus, the Median =(n+12)thobservation
=(7+12)th observation
=4th observation =21
(ii) Let us arrange the numbers in ascending order
7,9,10,12,13,15,17,21,32,42.
Number of items n=10 is even number.
So, there exists two middle terms.
Thus, the median is the mean of (n2)th and (n2+1)th observations.
(n2)th observation =(102)th observation =5th observation =13
(n2+1)th observation (102+1)=(5+1)=6th observation =15.
∴ Median =13+152=282=14