Problem 11.1 - Time-Domain Solution from Frequency-Domain Analysis
*
* The circuit for this problem is from textbook Example 11.4.
*
* Use the .AC sweep at the given frequency of the problem to find
* the frequency domain (phasor) solution for the inductance current.
* Express the current as a function of time, i(t), using the cosine
* reference. Compare the result with the textbook Example 11.4.
*
.OPT NOPAGE NOBIAS ; This statement is for Versions 4.03 or later.
; For earlier versions, delete the NOBIAS term.
VS 1 0 AC ??? ??? ; Complete the steady state ac source
IS 0 2 AC ??? ??? ; specification. Note that the current
; source is given as a sine wave and
; must be converted to a cosine ref.
L1 1 2 .5
R1 2 0 1K
C1 2 0 1U
.AC LIN 1 ??????? ??????? ; Specify the sweep frequency in
; hertz for the single-point sweep.
; Use six significant figures.
.PRINT AC IM(L1) IP(L1)
.END