rms current formula in rlc circuit