Difference between revisions of "Median Command"

From GeoGebra Manual
Jump to: navigation, search
m (Bot: Automated text replacement (-{{command +{{command|cas=true))
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=4.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude>
 
<noinclude>{{Manual Page|version=4.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude>
{{command|statistics}}
+
{{command|cas=true|statistics}}
 
;Median[ <List of Numbers> ]
 
;Median[ <List of Numbers> ]
 
:Determines the median of the list elements.
 
:Determines the median of the list elements.

Revision as of 13:42, 10 September 2011


Median[ <List of Numbers> ]
Determines the median of the list elements.
Example:
  • Median[{1, 2, 3}] yields 2 and
  • Median[{1, 1, 8, 8}] yields 4,5.
Note:
If the length of the given list is even, the arithmetic mean of the two center elements is returned.

CAS Syntax

Median[ <List of Numbers> ]
Determines the median of the list elements.
Example:
  • Median[{1, 2, 3}] yields 2 and
  • Median[{1, 1, 8, 8}] yields 4,5.
Note:
If the length of the given list is even, the arithmetic mean of the two center elements is returned.
© 2024 International GeoGebra Institute