Resonance in series RLC circuit