Plot the forced response v_{o} (t) in the circuit of Fig. D.35(a) for 0 < t < 5 s if the source voltage is as shown in Fig. D.35(b).
We draw the circuit and set the attributes as shown in Fig. D.36. We enter in the data in Fig. D.35(b) by double-clicking the symbol of the voltage source V1 and typing in T1 = 0 , V1 = 0 , T2 = 1 ns , V2 = 12 , T3 = 1 s , V3 = 12 , T4 = 1.001 s , V4 = 0 , T5 = 2 s , V5 = 0 , T6 = 2.001 s , V6 = 12 , T 7 = 3 s , V 7 = 12, T8 = 3.001 s , V 8 = 0 . In the Analysis/Setup/Transient dialog box, we set Print Step = 0.2 s and Final Time = 5 s . When the circuit is simulated and we are in the Orcad PSpice window, we close or minimize the window to go back to the Schematics window. We place two voltage markers as shown in Fig. D.36 to get the plots of input v_{s} and output v_{o} We press <Alt-Esc> to get into the Orcad PSpice window and obtain the plots shown in Fig. D.37.