Give the formula for calculating the median of ungrouped data.
Arrange the ungrouped data in ascending order. Then count the number of data. Let the number of data is N
If N is odd, then median = (N+12)th term
If N is even, then median = average of (N2)th term and (N2)+1th term