Lindsayyyy
- 215
- 0
Hi everyone,
I shall find the solution for the following differential equation:
y''(x)+2y'(x)+y(x)=x^{2}+3
-
At first solved the homogenous equation and found the general solution for the homogenous as the following:
y(x)=e^{-x}+xe^{-x}
Now I have to find an ansatz function I guess, but I don't know how to do this. I tried At³ but didn't work. Can someone help me?
Thanks in advance
Homework Statement
I shall find the solution for the following differential equation:
y''(x)+2y'(x)+y(x)=x^{2}+3
Homework Equations
-
The Attempt at a Solution
At first solved the homogenous equation and found the general solution for the homogenous as the following:
y(x)=e^{-x}+xe^{-x}
Now I have to find an ansatz function I guess, but I don't know how to do this. I tried At³ but didn't work. Can someone help me?
Thanks in advance