Difference between revisions of "Variance Command"
From GeoGebra Manual
Line 5: | Line 5: | ||
==CAS Syntax== | ==CAS Syntax== | ||
; Variance[List of Numbers]: Calculates the variance of list elements. If the list contains undefined variables, it yields a formula for the variance. | ; Variance[List of Numbers]: Calculates the variance of list elements. If the list contains undefined variables, it yields a formula for the variance. | ||
− | {{example|1=<code>Variance[{1,2,a}]</code> yields ''2 | + | {{example|1=<code>Variance[{1,2,a}]</code> yields'' <math>\frac{2(a²-3a+3)}{9}</math>''.}} |
Revision as of 12:58, 11 August 2011
- Variance[List of Numbers]
- Calculates the variance of list elements.
Example:
Variance[{1,2,3}]
yields 0.67.CAS Syntax
- Variance[List of Numbers]
- Calculates the variance of list elements. If the list contains undefined variables, it yields a formula for the variance.
Example:
Variance[{1,2,a}]
yields \frac{2(a²-3a+3)}{9}.