\[ y'(x)=(y(x)+\cos (x))^2+\sin (x) \] ✓ Mathematica : cpu = 0.0300991 (sec), leaf count = 18
\[\left \{\left \{y(x)\to \frac {1}{c_1-x}-\cos (x)\right \}\right \}\]
✓ Maple : cpu = 0.066 (sec), leaf count = 16
\[ \left \{ y \left ( x \right ) =-\cos \left ( x \right ) + \left ( {\it \_C1}-x \right ) ^{-1} \right \} \]