- #1

sweep123

- 16

- 0

## Homework Statement

solve y"+y=xsin(x) , initial conditions y(0)=0, y'(0)=1

## Homework Equations

## The Attempt at a Solution

I know that when right hand side equals something like sin(x), then the particular integral is xc1sin(x)+xc2cos(x). I am unsure what the particular integral should be for above. can anyone help me. I have tried (x^2)c1sin(x)+(x^2)c2cos(x), but have not gotten a solution from it. Thanks