title: Calculate the RMS for a sinusoidal wave
body: <p>I want to calculate the RMS value for a sinusoidal wave by taking only 40 samples per cycle. The sampling frequency is 2 KHz and the sine frequency is 50 Hz.</p>
  
  <p>Please, can anyone give me a hint?</p>