The Root Mean Square (RMS) function does the following calculation:

Result = Sqrt( Sum( Square(Value) ) ) / NumValues )