y=cos x + C
Differentiating both sides of this equation with respect to x, we get:
\(y'=\frac{d}{dx}(\cos x+ C)\)
\(\Rightarrow y' =-\sin x\)
Substituting the value of y' in the given differential equation, we get:
L.H.S=\(y'+\sin x=\sin x +\sin x=0\)=R.H.S.
Hence, the given function is the solution of the corresponding differential equation.

A ladder of fixed length \( h \) is to be placed along the wall such that it is free to move along the height of the wall.
Based upon the above information, answer the following questions:
(iii) (b) If the foot of the ladder, whose length is 5 m, is being pulled towards the wall such that the rate of decrease of distance \( y \) is \( 2 \, \text{m/s} \), then at what rate is the height on the wall \( x \) increasing when the foot of the ladder is 3 m away from the wall?
A relation between involved variables, which satisfy the given differential equation is called its solution. The solution which contains as many arbitrary constants as the order of the differential equation is called the general solution and the solution free from arbitrary constants is called particular solution.
Read More: Formation of a Differential Equation