Current location - Training Enrollment Network - Mathematics courses - How to calculate the average and median in mathematics?
How to calculate the average and median in mathematics?
Average value:

1, arithmetic mean: sum of values of each sample/total number of samples.

2. Geometric mean: the product root of each sample value (root = total number of samples, if the total number of samples is 5, it will be raised to the fifth power).

Median: Sort the values of a group of samples from small to large, and then find out the values of the middle samples.

Is the median.

Whether the total number of samples is odd or even, if odd, the middle one is the median, if even, the average of the middle two is the median.