# Homework Help: First order Transient Circuit

1. Jun 4, 2007

Please click the image to make it larger:
http://img360.imageshack.us/img360/2049/82009866sy5.th.jpg [Broken]

To solve this circuit I'm going to use the differential equation approach. I'm concerned with the voltage across the capacitor at $$V_c(0^-)$$ and $$V_c(0^+)$$

At position 1 before the switch is thrown $$V_c(0^-)=0$$

At position 2 after switch is thrown I have the following from KCL:

$$\frac{6-V(t)}{12k} = C\frac{dv}{dt} + \frac{V(t)}{6k}$$

This reduces to: $$\frac{dv}{dt} + 2.5V(t) = 5$$

My problem is that I know that this is correct but I don't know how to put it all together.

I know that the solution is of the form:

$$K_1 +K_2e^{-t/t_c}$$

The answer is $$V(t)=1.33 -1.33e^{-2.5t}V$$

How do I extract this from my work?:rofl:

Last edited by a moderator: May 2, 2017
2. Jun 5, 2007

Wow, I thought someone would understand this

3. Jun 5, 2007

### mjsd

Assuming that you have got the diff eqn correct (I can't see your image so can't check), then you need to either solve this by Integrating factor method or sub in the form
$$K_1 +K_2e^{-t/t_c}$$
into your equation and then solve for K1, K2 and t_c. You will find that it a polynomial in $$e^{-t/t_c}$$, equating coefficient of $$e^{-t/t_c}$$ on both sides you get relation for K1 and t_c, and then use your initial condition to fix K2.

i have got a feeling that
RHS may be wrong

Last edited by a moderator: May 2, 2017
4. Jun 5, 2007

### Mindscrape

I think you made a reduction error because you have the KCL equation correct.

I get the same KCL, but mine reduced to:
$$6 = 3v_c(t) + 1.2 \frac{dv_c(t)}{dt}$$

This is simply a differential equation that you need to solve for like any other diff eq would go. First find the homogeneous solution
$$0 = 3v_c(t) + 1.2 \frac{dv_c(t)}{dt}$$
with separation of variables and then find the particular solution
$$6 = 3v_c(t) + 1.2 \frac{dv_c(t)}{dt}$$

5. Jun 5, 2007

### Mindscrape

Actually I see that my answer doesn't agree with the answer given to you, but I am pretty sure that mine is right because as a quick check you can look at the circuit given to you and for DC values replace capacitors with open circuits and inductors with short circuits.

The DC solution (which happens to correspond with the particular solution because the DC source is driving the circuit) I get is the same through the Diff Eq. and the DC reduction method. Maybe you can verify this.