In probability theory and statistics, median is described as the numerical value separating the higher half of a sample, a population, or a probability distribution, from the lower half. The median of a finite list of numbers can be found by arranging all the observations from lowest value to highest value and picking the middle one. If there is an even number of observations, then there is no single middle value; the median is then usually defined to be the mean of the two middle values. - Wikipedia |
Yes but, can't you like, um, write the code for him? Very inconsiderate to require people to do their own homework you know. |