Functions

rms

Supported By

Syntax

[the] rms of factor

rms ( expression )

Factor and expression yield lists of integers, numbers, or complexes.

Example

put rms(2,3,4) -- yields 3.109126

Description

The rms function returns the root mean square, or the square root of the arithmetic mean of the squares, of its arguments.

If all the values are integers or numbers, a number is returned. If any value is a complex, a complex is returned.