effectivwert python

def rms(x):
    rms = np.sqrt(np.mean(x**2))
    return rms
Armandres