avg |
(function for equations) |
Usage: |
avg (x1, x2, ... xn) |
Definition: |
(x1 + x2 + ... + xn) / n |
Required: |
xi are unrestricted reals |
Returns the average of x1, x2, … xn, or more precisely, their arithmetic mean. That is the sum of the arguments divided by how many there are.
At least one argument must be passed.
Example: |
avg (10, 6, 6, 8) returns 7.5 |