Find the general solution: dy/dx+2y=sin x.
Hint. This is linear with P=2, Q=sinx; find the integrating factor e^(2x) first.
The integrating factor is e^(integral of 2 dx)=e^(2x); multiplying through and integrating y.e^(2x)=integral of e^(2x)sinx dx (a standard reduction integral) gives the general solution.
✦ y=(2sin x-cos x)/5+Ce^(-2x)
