\[ \int e^{\cos ^2(x)+\sin ^2(x)} \, dx \]
Optimal antiderivative \[ {\mathrm e} x \]
command
integrate(exp(cos(x)^2+sin(x)^2),x, algorithm="giac")
Giac 1.9.0-11 via sagemath 9.6 output
\[ x e \]
Giac 1.7.0 via sagemath 9.3 output
\[ \mathit {sage}_{0} x \]________________________________________________________________________________________