Wondering if anyone could help me answer this swine of a question I have been trying to do for ages.
I am trying to solve a difference equation
u[n+2] + 3u[n+1] + 2u[n]=cos([3x(Pi)xn]/4)
Anyway I found the complementary difference equation easily enough but can't get the particular solution
I put y[p]=Acos([3x(Pi)xn]/4) + Bsin([3x(Pi)xn]/4)
Then I found u[n +1] etc using the compound angle formulaes and subbed into the original equation.
I then compared coefficients of sin and cos.
However my simultaneous equations dont solve to the right answers.
I don't expect anyone to actually do this question but could someone tell me if I am doing the right method?
Thanks.
2007-01-30
21:43:38
·
1 answers
·
asked by
Philip J
2
in
Science & Mathematics
➔ Mathematics