# Circuit Theory/TF Examples/Example34/io
## Starting Point

Starting point of i$_o$ looks good. Take integral to visit V$_c$ initial condition. Then get expression for V$_{total}$, then take integral of that to visit I$_L$ initial condition. Lots of integrals.

## Transfer Function

    $H(s)={\frac {i_{o}}{i_{s}}}={\frac {\frac {1}{R_{2}+{\frac {1}{sC}}}}{{\frac {1}{sL}}+{\frac {1}{R_{1}}}+{\frac {1}{R_{2}+{\frac {1}{sC}}}}}}$
    ${\frac {i_{o}}{i_{s}}}={\frac {2s^{2}}{8s^{2}+11s+4}}$

## Homogeneous Solution

Set the denominator of the transfer function to 0 and solve for s:
    $s_{1,2}={\frac {-11\pm {\sqrt {7}}i}{16}}$
So the solution is going to have the form:
    $i_{o_{h}}=e^{\frac {11t}{16}}(A\cos {\frac {7}{16}}+B\sin {\frac {7}{16}})$

## Particular Solution

After a very long time the inductor shorts, all the current flows through it so:
    $i_{o_{p}}=0$

## Initial Conditions

Adding the particular and homogeneous solutions, get:
    $i_{o}(t)=i_{o_{p}}+i_{o_{h}}+C=e^{-{\frac {11t}{16}}}(A\cos {\frac {7t}{16}}+B\sin {\frac {7t}{16}})+C$
Doing the final condition again, get:
    $i_{o}(\infty )=0=C\Rightarrow C=0$
Let's try for V$_c$ first. From the terminal relation for a capacitor:
    $V_{c}(t)={\frac {1}{C}}\int i_{o}dt$
We know that initially V$_c$ = 1.5 so at t=0 can find equation for A and B:
At this point mupad goes numeric and get this equation:
    $A=-0.6363636364B-0.7244318182$
Need another equation. Can find V$_t$ by adding V$_r$ and V$_c$. Then from V$_t$ can find expression for the current through the inductor and visit it's initial condition. Need to start over in MuPad because t=0 has ruined the current session. So repeating the setup of V$_C$:
The integration constant is going to be zero because after a long time V$_C$ is zero (the inductor shorts).
From the terminal equation for an inductor:
    $I_{L}(t)={\frac {1}{L}}\int V_{T}dt$
Mupad goes numeric.
At this point have to figure out the integration constant. After a long time, the inductor's current is going to be 1 because it shorts the current source. Looking at IL in the mupad window can see that every term is multiplied by e$^{-0.6875t}$ which is going to zero as t goes to ∞. This means the integration constant is 1.
So add 1 to IL, then set t=0 and I$_L$ = 0.5 and again solve for A and B:
Get this equation:
    $A=6.273453094B+1.802644711$
Now need to solve the two equations and two unknowns:
Get:
    $A=-0.4916992187,B=-0.3657226563$
So now have time domain expression for i$_o$ step response:
    $i_{o}(t)\mu (t)=e^{-{\frac {11t}{16}}}(-0.492\cos {\frac {7t}{16}}-0.366\sin {\frac {7t}{16}})$

## Impulse Response

The impulse response is the derivative of the step response:

## Convolution Integral

The first step is to substitute into i_s for t:
Now form the convolution integral:
Replacing y with t:
There is going to be an integration constant. This value can not be determined because the driving function oscillates. The initial conditions of the inductor and capacitor have already been visited. More information (like a specific value at a future time) is needed in order to compute an integration constant.
Thus the final answer is:
    $i_{o}=0.335sin(2t)-0.0177cos(2t)-0.474e^{-0.6875t}cos(0.438t)-0.648e^{-0.6875t}sin(0.438t)+0.492$
The answer indicates that i$_o$ = 0 when t=0. The exponential terms die after 5/0.6875 = 7.27 seconds leaving a sinusoidal function at more than a 90° phase shift from the current source with a DC level of about 0.5 amps.