Enjoy the fun of physics with simulations!

Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/

Title: RC circuit : VR(t)/VC(t)Post by: Fu-Kwun Hwang on April 12, 2011, 03:45:32 pm
This is a simple RC DC circuit:
Assume initially t=0, Qc=0. You can adjust DC voltage source$V_s$, Resistor R and Capacitor C and find out how $V_R(t)=I(t)*R $ and $V_C(t)=Q(t)/C$ changed with time. Since $V_s=V_R+V_C=I*R+Q/C$, so $I=(V_s-V_c)/R=\frac{V_s-Q/C}{R}$ this is the only equation used in EJS to create the simulation. So it is very easy to create simulation with EJS. Enjoy it! |