what is the median of the following numbers? 8,1,2,6,1,4

what is the median of the following numbers? 8,1,2,6,1,4
Answer
Explanation:
Step1: Arrange numbers in ascending order
$1,1,2,4,6,8$
Step2: Determine the middle - value position
There are $n = 6$ numbers. For an even - numbered data set, the median is the average of the two middle numbers. The two middle numbers are the $\frac{n}{2}$th and $(\frac{n}{2}+1)$th numbers. Here, $\frac{n}{2}=3$ and $\frac{n}{2}+1 = 4$. The 3rd number is $2$ and the 4th number is $4$.
Step3: Calculate the median
Median=$\frac{2 + 4}{2}=\frac{6}{2}=3$
Answer:
$3$