



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The solutions to homework 7 of eel 3105, fall 2011, which involves finding the solutions to second order differential equations for different values of k and finding the impulse response of a given differential equation. The solutions are presented in detail with explanations and plots.
Typology: Study notes
1 / 6
This page cannot be seen from the preview
Don't miss anything!




2
Find solution y(t) for the following values of k: k=12, k=6, k=5.6, k=2, k=0, k=‐1. Choose a suitable time interval and plot these solutions. You can use MATLAB or some other computational math tool for plotting y(t). Comment on your answers. Answer: First, let us calculate the roots of the polynomial corresponding to the differential equation: 2
The roots are
There are four distinct cases: k >8 in which case we have two distinct real roots, k = 8 in which case we have two roots at ‐ 4 and ‐ 8 < k < 8 in which case we have a pair of complex conjugate roots and k < ‐ 8 when we again have two real roots. We will show solution for three values of k: k=12, k = 6, and k = ‐ 1 as these exhibit different behaviors. a. k=12: the roots are ‐1.52 and ‐10.48. The general form of solution is
We need to find coefficients A and B. Applying initial conditions gives us:
We can solve for A and B to get A = 1.171 B = ‐0.
t=0:.1:2pi; a=1.171exp(‐1.52t)‐0.171exp(‐10.48*t); plot(t,a)
b. k=6: the roots are ‐3+j2.65 and ‐ 3 ‐j2.65. There are two ways to proceed here. We can use either of the following general forms of solutions: ( 3 2.65) ( 3 2.65) 3
j t j t t
In either case, we have to use the initial conditions to find the unknown constants A, B or P, Q. We will use the second from as it avoids complex calculations. The initial conditions lead to the following simultaneous equations:
t t
Then P = 1 and Q = 1.13 which gives the solution
t=0:.1:2pi; d=exp(‐3t).(cos(2.65t)+1.13sin(2.65t)); plot(t,d) (^00 1 2 3 4 5 6 )
1
2
Find impulse response of this system. In other words, find y(t) for r(t) = unit impulse function and initial
Answer: We first recall from class that the unit impulse response function with zero initial conditions can be found by solving the differential equation with zero input but with a specific different set of initial conditions. In our case, the differential equation is second order. So, the initial condition on the first derivative should be set to one. Thus, we need to solve 2
We can follow the solution technique from Problem 1 above. The roots of the polynomial 2
are ‐2.8+j2.86 and ‐2.8‐j2.86. The general solution is of the form
Applying the initial conditions gives:
So, Q=1/2.86 giving the unit impulse response
t
As you can see, this is a decaying exponential. It is zero at t=0. Its derivative at t=0 is 1. The effect of the impulse at t=0 is to change the value of the first derivative from zero to one instantaneously.
3 2
Set this up as a state‐space linear system of the form
Find suitable matrices A, B, and C. What are the eigenvalues of A? Is this system stable? Solution: We start by defining the state vector 1 2 3 2 2
1 2 2 2 2 3 3 1 2 3 3 3 1 2 3
Thus, if we set