# How do I solve #y'' + y = -2 sin(x)# with the initial conditions #y(0) = 0# and #y'(0) = 1#?

##### 1 Answer

Mar 16, 2015

Your solution is made of two parts:

General Solution=Complementary Function+Particular Integral=CF+PI

CF is given equating to zero your equation and transforming it into a 2nd degree equation introducing an auxiliary factor

PI is given depending upon the function

So you have:

Hope it helps