Possible Duplicate:
$dy/dx = y \sin x-2\sin x$, $y(0) = 0$ — Initial Value Problem
$\frac{dy}{dx} = y\sin x - 2\sin x,\quad y(0) = 0$
So, I get
$\frac{1}{y-2} dy = \sin x dx.$
Then, I integrated and got
$\ln(y-2) =-\cos x + C.$
Then, I did $e$^ both sides, but I end up with $\ln(-2)$ which is an error.
Can someone help me? Thank you.