Find the median of the data:

Question:

Find the median of the data:

31, 38, 27, 28, 36, 25, 35, 40

Solution:

Numbers are 31, 38, 27, 28, 36, 25, 35, 40

Arranging the numbers in ascending order

25, 27, 28, 31, 35, 36, 38, 40

n = 8 (even)

$\therefore$ Median $=\frac{\overline{2}^{\text {th }} \text { value }+\left(\frac{\mathrm{n}}{2}+1\right)^{\text {th }} \text { value }}{2}$

$=\frac{\frac{8}{2}^{\text {th }} \text { value }+\left(\frac{8}{2}+1\right)^{\text {th }} \text { value }}{2}$

$=\frac{4^{\text {th }} \text { value }+5^{\text {th }} \text { value }}{2}$

$=\frac{31+35}{2}$

$=\frac{66}{2}=33$