NTNUJAVA Virtual Physics Laboratory
Enjoy the fun of physics with simulations!
Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/

Easy Java Simulations (2001- ) => electromagnetism => Topic started by: ahmedelshfie on April 29, 2010, 07:10:04 pm



Title: RC circuit (DC: charge/discharge)
Post by: ahmedelshfie on April 29, 2010, 07:10:04 pm
This applet is Rc circuit (DC: charge/discharge)
Created by prof Hwang
Modified by Ahmed
Original project RC circuit (DC: charge/discharge) (http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=313.msg1009#msg1009)

For the charging cycle:$ V_s=V_R+V_C=I R + \int \frac{I dt}{C}$ where Vs is the voltage from the power supply.
$0=R \frac{dI}{dt}+ \frac{I}{C},  \frac{dI}{dt}=-\frac{I}{RC}$,  so the solution is $I(t)=I_0 e^{-t/(RC)}$
at $t=0, V_c=0 so I(t=0)=I_0=V_s/R$
The result is $V_R(t)=I(t) R =V_s e^{-t/(RC)}, V_c(t)=V_s-V_R(t)= V_s (1- e^{-t/(RC)})$