[_Riccati]
Book solution method
Riccati ODE, Generalized ODE
Mathematica ✓
cpu = 6.56183 (sec), leaf count = 57
Maple ✓
cpu = 0.175 (sec), leaf count = 25
DSolve[y'[x] == Cos[x] - (Sin[x] - y[x])*y[x],y[x],x]
Mathematica raw output
{{y[x] -> (-(C[1]/E^Cos[x]) + Sin[x] + C[1]*Integrate[E^(-Cos[K[1]]), {K[1], 1,
x}]*Sin[x])/(1 + C[1]*Integrate[E^(-Cos[K[1]]), {K[1], 1, x}])}}
Maple raw input
dsolve(diff(y(x),x) = cos(x)-(sin(x)-y(x))*y(x), y(x),'implicit')
Maple raw output
y(x) = -1/(_C1+Int(exp(-cos(x)),x))*exp(-cos(x))+sin(x)