Think about what you are trying to get: The Root of the Mean of all the Squares -> Root Mean Square -> RMS by definition! On Mon, 6 Mar 2000, Lorick wrote: > Weeks ago I was looking at ways to determine the RMS value of a sampled > waveform with the 16F876 and several suggestions were to take 256 > measurements (for easy division later) and accumulate the sum of squares, > divide by number of samples, and square root to get the RMS value of the > readings. > > Now I would like to know why this works....what is the mathematical > relationship between squaring the readings and obtaining the RMS in the end? > > I know it's almost stupid to ask since we're talking about Root Mean Square > to begin with....but I am indeed missing the in between steps in the > story... > Jeffrey D. Spears University of Michigan College of Engineering ``Double-E, can't spell gEEk without it!'' -Captain Gerald M. Bloomfield II, USMC (my brother)