What is interesting is the RMS calculation. The equation is squared before integrating. The sin x is much different from the (sin x) squared. You then simply take the square root. The mean is based on the sinx. So to say that it is the root of the mean squared is not accurate. It's actually the root of the integral of sinxsquared which is not the root of the intergal of sinx quantity squared.