$$v(t)=iR+L\frac{di}{dt}+\frac{1}{C}\int i dt$$