# Difference between revisions of "Mean Command"

From GeoGebra Manual

Line 3: | Line 3: | ||

;Mean[ <List of Numbers> ] | ;Mean[ <List of Numbers> ] | ||

:Calculates the arithmetic mean of the list elements. | :Calculates the arithmetic mean of the list elements. | ||

+ | :{{example|1=<div><code><nowiki>Mean[{1, 2, 3, 2, 4, 1, 3, 2}]</nowiki></code> yields ''2.25''.</div>}} | ||

; Mean[ <List of Numbers>, <List of Frequencies> ] | ; Mean[ <List of Numbers>, <List of Frequencies> ] | ||

:Calculates the weighted mean of the list elements. | :Calculates the weighted mean of the list elements. | ||

+ | :{{example|1=<div><code><nowiki>Mean[{1, 2, 3}, {3, 2, 5}]</nowiki></code> yields ''2.2''.</div>}} | ||

==CAS Syntax== | ==CAS Syntax== | ||

;Mean[ <List of Numbers> ] | ;Mean[ <List of Numbers> ] |

## Revision as of 10:05, 21 December 2012

- Mean[ <List of Numbers> ]
- Calculates the arithmetic mean of the list elements.
**Example:**`Mean[{1, 2, 3, 2, 4, 1, 3, 2}]`

yields*2.25*.

- Mean[ <List of Numbers>, <List of Frequencies> ]
- Calculates the weighted mean of the list elements.
**Example:**`Mean[{1, 2, 3}, {3, 2, 5}]`

yields*2.2*.

## CAS Syntax

- Mean[ <List of Numbers> ]
- Calculates the arithmetic mean of the list elements.
**Example:**`Mean[{1, 2, 3, 5, 44}]`

yields*11*.