Differential equation for LRC circuit