Difference between revisions of "MeanX Command"
From GeoGebra Manual
Noel Lambert (talk | contribs) |
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)") |
||
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|statistics}} | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|statistics}} | ||
− | ; MeanX | + | ; MeanX( <List of Points> ) |
: Calculates the mean of the ''x''-coordinates of the points in the list. | : Calculates the mean of the ''x''-coordinates of the points in the list. | ||
:{{example|1=<code><nowiki>MeanX[{(0,0), (3,2), (5,1), (2,1), (2,4)}]</nowiki></code> yields ''2.4''}} | :{{example|1=<code><nowiki>MeanX[{(0,0), (3,2), (5,1), (2,1), (2,4)}]</nowiki></code> yields ''2.4''}} |
Revision as of 17:16, 7 October 2017
- MeanX( <List of Points> )
- Calculates the mean of the x-coordinates of the points in the list.
- Example:
MeanX[{(0,0), (3,2), (5,1), (2,1), (2,4)}]
yields 2.4