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