HW1 08 PDF

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Q2:

Response to u1 (t-1) is

⎧0, t <1
y1 (t − 1) = ⎨
⎩t − 1 − 1, t ≥ 1

Response to u2(t+1) is
⎧0, t < −1
y 2 (t + 1) = ⎨
⎩ 2(t + 1), t ≥ −1

Response to 2u1 (t − 1) + u 2 (t + 1) is

⎧ 0, t < −1

y (t ) = 2 y1 (t − 1) + y 2 (t + 1) = ⎨2(t + 1), −1 ≤ t < 1
⎪⎩4t + 2, t ≥1

A piecewise Linear function

y(-1)=0

y(1-)=2(1+1) = 4

y(1+)=4 x 1 + 2 =6

y(2)=4 x 2 + 2 = 10
Q3. Laplace transformation on both sides

s 2 y ( s ) − sy (0) − y (0) + 5( sy ( s ) − y (0)) + 6 y ( s ) = u ( s )


u (s) ( s + 5) y (0) + y (0)
Y ( s) = +
( s + 2)( s + 3) ( s + 2)( s + 3)


(1) u = 0, y (0) = 1, y (0) = −1

s+4 2 1
Y (s) = = −
(s + 2)(s + 3) s + 2 s + 3
y (t ) = (2e −2t − e −3t )1(t )
Let y1 (t ) = (2e −2t − e −3t )1(t )


(2) u (t ) = 1(t ), y (0) = 0 = y (0)
1 1 1 1
Y ( s) = = − +
s ( s + 2)( s + 3) 6 s 2( s + 2) 3( s + 3)
1 1 1
y (t ) = ( − e −2t + e −3t )1(t )
6 2 3
1 1 1
Let y 2 (t ) = ( − e − 2t + e −3t )1(t )
6 2 3


(3) u (t ) = 1(t ), y (0) = 2, y (0) = −2

By Linearity,
⎧u = 0 ⎧u = 1(t )
⎪⎪ ⎪⎪
y (t ) = 2 y (t ) due to ⎨ y (0) = 1 + y (t ) due to ⎨ y (0) = 0
⎪• ⎪•
⎪⎩ y (0) = −1 ⎪⎩ y = 0
= 2 y1 (t ) + y 2 (t )
1 7 5
= ( + e − 2t − e −3t )1(t )
6 2 3

⎡ ⎤
y
(4) state x = ⎢ • ⎥
⎢ y⎥
⎣ ⎦

You might also like