Analytical Calculation Of The Rms Current