x dr/dx + r = xsinx
dr/dx + 1/x * r = sinx
I(x)=e^integral 1/x dx = e^lnx = x
d/dx (xr) = sinx
xr = -cosx + c
r = (-cosx + c)/x
the answer to this one is suppose to be: r = (sinx-xcosx+c)/x
I am guessing that I got the wrong integrating factor, but everything seem to work out okay?
dr/dx + 1/x * r = sinx
I(x)=e^integral 1/x dx = e^lnx = x
d/dx (xr) = sinx
xr = -cosx + c
r = (-cosx + c)/x
the answer to this one is suppose to be: r = (sinx-xcosx+c)/x
I am guessing that I got the wrong integrating factor, but everything seem to work out okay?