You are on page 1of 1

3.

1
Original Equation: y + y = sin(t)
Using method discussed in class to solve for r.
y + y
r2 + 1
(r -1)(r+1)
r = 1, -1
yh = C1cos(t)+ D1sin(t)

Putting yp into the yh.


yh = Ccos(t) + Dsin(t) (1/2)tcos(t)
yh = -Csin(t) + Dcos(t) (1/2)cos(t) + (1/2)tsin(t)
Solving for coefficients of C and D using I.C.:
Y(0) = 0
Ccos(0) + Dsin(0) 0 = 0
C=0
Y(0) = 0
-Csin(0) + Dcos(0) (1/2)cos(0) + (1/2)sin(0) = 0
Dcos(0) = (1/2)cos(0)
D = (1/2)
Final equation:
yh = (1/2)sin(t) (1/2)tcost(t)
Checking my final equation:
Y = (1/2)sin(t) (1/2)tcos(t)
Y = (1/2)sin(t) (1/2)tcos(t)
(1/2)sin(t) (1/2)tcos(t) + (1/2)tsin(t)
(1/2)cos(t) = sin(t)
Check y(0)
(1/2)sin(0) (1/2)0cost(0) = 0

Finding the particular solution by using the


method discussed in class.
Sin(t)
r=0+i
s=1
yp = t(Asin(t) + Bcos(t)
yp = Atsin(t) + Btcos(t)
yp = Asin(t) + Atcos(t) + Bcos(t) Btsin(t)
yp = 2Acos(t) Atsin(t) 2Bsin(t) Btcos(t)
Solving for coefficients by cancelling
everything out with cos(t) in it:
2Acos(t) Atsin(t) 2Bsin(t) Btcos(t) + Atsin(t)
+ Btcos(t) = sin(t)
-2B = -1
B = -(1/2)
A=0
yp = -(1/2)tcos(t)

You might also like