professor corrected typo in RMS formula