Find the general solution (implicit if necessary, explicit if convenient) to the differential equation
dy/dx = ysinx
This is a separable equation, and we can rewrite it as:
Taking the antiderivative of both sides we get:
Exponentiating both sides we get:
y = Ce−cos x .