The median is the middle record of data when it is ordered
and in case of even data number, median will be the mean of the two middle records
firstly we need to arrange them:
29.9
30
30.1
30.5
30.7
30.8
31
31
the 4th and 5th records are the median,,,,,
and their mean = 30.5+30.7 = 30.6
This is the median of the data sete
Hope that helps