This applet simulatie an RLC circuit.
You can adjust angular frequency for the AC source ,  R, L, C .

The code has been modified so that you can remove one or two elements.
Now you can study pure resistor circuit, RC, RL, LC or RLC circuit with this simulation.
I also add small circle along the circuit loop to simulate the average motion of charge particle in the loop.
The current flow I in the loop in proportional to (in phase) the voltage of the resistor VR.
However, there is a 90 degree out of phase between voltage of inductor/capacitor and the current I.
The slider bar on the left is used to adjust the voltage of the source. V

/htdocs/ntnujava/ejsuser/2/users/ntnu/fkh/RLC_pkg/RLC.propertiesFull 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(1347kB):double click downloaded file to run it. (149 times by 84 users) , Download EJS source (45 times by 26 users) View EJS source