- #1
toofle
- 20
- 0
Homework Statement
Solve the difference equation
Homework Equations
y[n+2]-3y[n+1]+2y[n]==4n*2^n, n>=0
y0=0,y1=1
The Attempt at a Solution
1. Homogenous solution:
Characteristic equation => r^2-3r+2==0 <=> r1=1,r2=2 => yhn = C1*1^n+C2*2^n
2. Particular solution:
ypn = ?
I tried different things but everything comes out wrong.
I guess(what is the right word?) witha polynomial of the same degree as the right hand side of the equation how is it when 2^n is in both yhn and righthand side of the equation?