This applet is [b]Rc circuit (DC: charge/discharge)[/b]
Created by prof Hwang
Modified by Ahmed
Original project [url=http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=313.msg1009#msg1009]RC circuit (DC: charge/discharge)[/url]

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.
math_failure (math_unknown_error): 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)})

/htdocs/ntnujava/ejsuser/37048/users/br/ahmed/chargerc_pkg/chargerc.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(1504kB):double click downloaded file to run it. (19 times by 9 users) , Download EJS source (2 times by 2 users) View EJS source