\[ \boxed{ {\frac {\rm d}{{\rm d}x}}y \left( x \right) +y \left( x \right) \cos \left( x \right) - \frac{1}{2}\,\sin \left( 2\,x \right) =0} \]