Problem 9.6 - Complete Response of a Circuit with Two Sources
*
* The circuit for this problem is from textbook Example 9.11.
* NOTE: This is a two-part problem.
* 1. An exponential (EXP) source and a PWL function source are
* both used in Part 1, with the circuit configuration as given
* in the problem statement.
* 2. Use a DC source in place of the PWL source. (Can you explain
* why this will work in PSpice?) Change the capacitance value
* to adjust the circuit time constant to .5 second.
*
* Use the UIC statement because the sources are discontinuous at t=0
* and because the capacitance initial voltage is 0 volts.
*
* Graph the capacitance voltage response using PROBE. For each part of
* the problem show the capacitance voltage, the particular solution,
* and the graph of the expression for the complete response. Note that
* the particular solution vp(t) consists of the two terms of the
* complete response that are due to the forcing functions.
* At what time in seconds are the complete response and the particular
* solution equal? How many time constants of the EXP source is that?
*
* Complete response for Part 1. v(t) = 4 + 12exp(-t) - 10exp(-3t).
* Complete response for Part 2. v(t) = 4 + 16exp(-t) - 14exp(-2t).
*
I1 0 1 EXP(4 ??? ??? ??? 6) ; Complete the EXP function statement.
I2 0 1 PWL(0 2)
R1 1 0 2
C1 1 0 .166667 IC=6
.TRAN ??? 6 ??? ??? UIC ; Complete the .TRAN command.
.PROBE
.END
Problem 9.6, Part 2 - Complete Response of a Circuit with Two Sources
*
* Adjust RC circuit time constant to .5 second. Use a DC current
* source and UIC statement to simulate the step function input.
*
I1 0 1 EXP(4 ??? ??? ??? 6) ; Complete the EXP function statement.
I2 0 1 DC 2
R1 1 0 2
C1 1 0 ??? IC=6 ; Enter new capacitance value.
.TRAN ??? 6 ??? ??? UIC ; Complete the .TRAN command.
.PROBE
.END