RC circuit with sinusoidal voltage - initial behavior?

by FiFi   Last Updated November 09, 2018 23:25 PM

For a simple RC circuit with a sinusoidal voltage source, the differential equation is: $$\frac{dq}{dt}=\frac{sin(t)}{R}-\frac{q}{RC}$$ When I plot the solution to this differential equation using euler's method, I get this: enter image description here

I'm confused as to what is happening in the first few cycles. Does this have something to do with transient response? Or are the initial conditions in combination with the sin(t) source forcing it to do that?

Obviously, as t increases, it settles into an equilibrium, but why does it not start out in equilibrium?

Thanks for the help.



Related Questions


Updated December 19, 2017 09:25 AM

Updated December 14, 2017 16:25 PM

Updated December 16, 2017 17:25 PM

Updated April 15, 2017 15:25 PM

Updated November 20, 2018 22:25 PM