The general solution to the differential equation is y = sinx + c cosx.
<h3>What is differential equation?</h3>
It is defined as the equation which contains functions, derivative of the functions to make an expression.
We have a differential equation:
Multiply by dx:
(cosx) dy + (sinx) y dx = dx
(cosx) dy = (1 - (sinx) y) dx
After simplification and integrating, we will get:
y = sinx + c cosx
Thus, the general solution to the differential equation is y = sinx + c cosx.
Learn more about the differential equation here:
brainly.com/question/14620493
#SPJ4