To find the median, we need to first arrange the data set in order from least to greatest:
3, 31, 35, 36, 38
The median is the middle value in the data set. Since there are five values in the data set, the middle value is the third value, which is 35. Therefore, the median of the data set is 35.
To find the mean, we need to add up all the values in the data set and divide by the total number of values:
(3 + 31 + 35 + 36 + 38) / 5 = 28.6
Therefore, the mean of the data set is 28.6.