Difference between revisions of "Median Command"
From GeoGebra Manual
Line 10: | Line 10: | ||
* <code><nowiki>Median[{1, 1, 8, 8}]</nowiki></code> yields ''4,5''. | * <code><nowiki>Median[{1, 1, 8, 8}]</nowiki></code> yields ''4,5''. | ||
</div>}} | </div>}} | ||
+ | {{note| 1=<div>If the length of the given list is even, the arithmetic mean of the two elements in the middle of the list is returned.</div>}} |
Revision as of 13:56, 18 August 2011
- Median[List of Numbers]
- Determines the median of the list elements.
CAS Syntax
- Median[List of Numbers]
- Determines the median of the list elements.
Example:
Median[{1, 2, 3}]
yields 2 andMedian[{1, 1, 8, 8}]
yields 4,5.
Note:
If the length of the given list is even, the arithmetic mean of the two elements in the middle of the list is returned.