FYI: The term RMS applies to a pure sine way
ONLY and nothing else. RMS voltage is derived by taking the positive swing of the sine wave and taking the peak voltage of the sine way and multiplying it times .707 and you have and RMS voltage.
For people in the US we have 120v RMS sine wave power. The voltage swings from 0 volts up 170V positive peak back to 0 and down to 170V negative peak. So we take the positive peak of 170V X .707=120.19V
There is an article that tries to discredit RMS by using a Square wave with a 5 second cycle.
Remember RMS=pure sine wave!