-
-
Notifications
You must be signed in to change notification settings - Fork 673
Closed
Description
I interrupted Sage after 5min of churning without result:
sage: f=diff((tan(x)+x)*e^tan(x),x)
(tan(x)^2 + 1)*(x + tan(x))*e^tan(x) + (tan(x)^2 + 2)*e^tan(x)
sage: integrate(f,x)
On a faster computer:
sage: %time integrate(f,x)
CPU times: user 3min 58s, sys: 50 ms, total: 3min 58s
Wall time: 3min 58s
integrate((tan(x)^2 + 1)*(x + tan(x))*e^tan(x) + (tan(x)^2 + 2)*e^tan(x), x)
On the other hand, for the equivalent expression
sage: g=e^tan(x)*sec(x)^2*(tan(x)+x)+e^tan(x)*(sec(x)^2+1)
sage: %time integrate(g,x)
RuntimeError: ECL says: In function CAR, the value of the first argument is
0
which is not of the expected type LIST
which happens in maxima/ECL with abs_integrate
loaded, but not in maxima/SBCL. Upstream: https://sourceforge.net/p/maxima/bugs/2781/
Upstream: Fixed upstream, but not in a stable release.
Component: symbolics
Keywords: integration, maxima
Reviewer: Peter Bruin, Ralf Stephan, Karl-Dieter Crisman
Issue created by migration from https://trac.sagemath.org/ticket/16643