rms takes one argument, a list X of real or complex numbers x1,x2,…,xn. The function returns the root mean square of X which is defined by
For example, input :
Output :
Input :