- #1
Ian88
- 2
- 0
Homework Statement
The problem is: y" + 2y' - 3y = x^2*e^x
Homework Equations
The Attempt at a Solution
I know the roots are y1 = -3 and y2 = 1, becoming e^x.
I'm not sure how to set my yp up though with the repeating e^x.
My ideas are yp = x * (x^2*A*e^x) or x * (Ax^2 + Bx + C)e^x.
I was also curious on the setup of a problem where yp = P(x)*e^ax* cos(bx).