To study the resonance condition of a series LCR circuit