- #1
gjfelix2001
- 19
- 0
Hi everyone...
I need to solve the differential equations of a RC circuit given a voltage and a current pulse. I have to get this responses:
http://i.imagehost.org/view/0340/Respuesta1
I'm using matlab, with runge kutta. I've been solving the equations separately changing the initial conditions and the value of current and voltage, but i want to know if there is a way to get the response solving the differential equations only once??
By the way, the differential equations I'm trying to solve are
[tex]\frac{dV}{dt}=\frac{1}{C}(i(t)-\frac{V}{R})[/tex]
and
[tex]I = \frac{dQ}{dt}=\frac{1}{R}(V-\frac{Q(t)}{C}) [/tex]
How should i solve this equations in order to get the responses showed in the pictures?
I need to solve the differential equations of a RC circuit given a voltage and a current pulse. I have to get this responses:
http://i.imagehost.org/view/0340/Respuesta1
I'm using matlab, with runge kutta. I've been solving the equations separately changing the initial conditions and the value of current and voltage, but i want to know if there is a way to get the response solving the differential equations only once??
By the way, the differential equations I'm trying to solve are
[tex]\frac{dV}{dt}=\frac{1}{C}(i(t)-\frac{V}{R})[/tex]
and
[tex]I = \frac{dQ}{dt}=\frac{1}{R}(V-\frac{Q(t)}{C}) [/tex]
How should i solve this equations in order to get the responses showed in the pictures?
Last edited by a moderator: