This is a simulation of AC powered RC circuit.
It can be used to study phase between voltage of capacitorVR, voltage of resistor VRand voltage of AC power supply Vs.



Q(t)=\int I\, dt
The current I and voltage V_C are 90 degree out of phase.

The voltage V_C in capacitor is proportional to charge Q,
However, change Q need to be charged by  current I. (Q=\int I\,dt).
So current I is leading charge Q (90 degree earlier).
And voltage in resistor V_R is proportional to current I.
Voltage in R (V_R)is leading Voltage in capacitor(V_C)

The following simulation assume, V_{AC}=V_o \sin\,(\omega\,t+\phi)

V_R=I\,R,\qquad V_C=\frac{Q}{C}=\frac{1}{C}\,\int I dt

translate strings in simulation to different language format before download
Full screen applet or Problem viewing java?Add to exception site list
Press the Alt key and the left mouse button to drag the applet off the browser and onto the desktop. This work is licensed under a Creative Commons Attribution 2.5 Taiwan License
Download EJS jar file(1071.6kB):double click downloaded file to run it. (40 times by 24 users) , Download EJS source View EJS source