Difference between revisions of "SD Command"

From GeoGebra Manual
Jump to: navigation, search
Line 9: Line 9:
 
;SD[ <List of Numbers> ]
 
;SD[ <List of Numbers> ]
 
;SD[ <List of Numbers>, <List of Frequencies> ]
 
;SD[ <List of Numbers>, <List of Frequencies> ]
:{{example|1=<div><code><nowiki>SD[{1, 2, 3, 4, 5}]</nowiki></code> yields <math>\sqrt{2}</math>.</div>}}
+
:{{examples|1=<br><code><nowiki>SD[{1, 2, 3, 4, 5}]</nowiki></code> yields <math>\sqrt{2}</math>.<br><code><nowiki>SD[{-3 + 2 x, -1- 4 x, -2 + 5 x^2}]</nowiki></code>  is [[Evaluate Tool|evaluated]] as [[File:Tool Evaluate.gif]] $\frac{\sqrt{25x⁴ + 10x³ + 28x² - 18x + 3 \sqrt{2} \; } \; }{ \; 3 \; }\;$ }}
:{{note| 1=<div>See also [[Mean Command]].</div>}}
+
:{{note|1=<div>See also [[Mean Command]].</div>}}

Revision as of 19:01, 30 January 2013


SD[ <List of Numbers> ]
Calculates the standard deviation of the numbers in the list.
Example:
SD[{1, 2, 3, 4, 5}] yields 1,41.
SD[ <List of Numbers>, <List of Frequencies> ]
Calculates the weighted standard deviation of the given numbers.
Example:
SD[{20, 40, 41, 42, 40, 54}, {20, 6, 4, 5, 2} ] yields 5.96.

CAS Syntax

SD[ <List of Numbers> ]
SD[ <List of Numbers>, <List of Frequencies> ]
Examples:
SD[{1, 2, 3, 4, 5}] yields \sqrt{2}.
SD[{-3 + 2 x, -1- 4 x, -2 + 5 x^2}] is evaluated as Tool Evaluate.gif $\frac{\sqrt{25x⁴ + 10x³ + 28x² - 18x + 3 \sqrt{2} \; } \; }{ \; 3 \; }\;$
Note:
See also Mean Command.
© 2024 International GeoGebra Institute