Given the data is: 10, 17, 16, 21, 13, 18, 12, 10.
Arranging the given data in ascending order
10, 10, 12, 13, 16, 17, 18, 21
Number of observations = 8
Therefore,
Median = Mean of (8/2th value and (8/2 + 1)th)
= Mean of 4th and 5th value
= Mean of 13 and 16
= (13 + 16)/2
= 29/2
= 14.5