The general solution of the differential equation y '+ ycosx = 0 is?

The general solution of the differential equation y '+ ycosx = 0 is?

∵y’+ycosx=0 ==>dy/dx+ycosx=0
==>dy/y=-cosxdx
==>LNY = - SiNx + LNC (C is an integral constant)
==>y=Ce^(-sinx)
The general solution of the original equation is y = CE ^ (- SiNx) (C is an integral constant)