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.
[img]http://www.phy.ntnu.edu.tw/ntnujava/index.php?action=dlattach;topic=2147.0;attach=4055;image[/img]
V_{AC}=V_C+V_R,

I(t)=\frac{V_R}{R}=\frac{V_{AC}-V_C}{R}=\frac{V_{AC}-Q/C}{R}

V_C(t)=\frac{Q}{C}

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 http://www.phy.ntnu.edu.tw/ 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