-
-
Notifications
You must be signed in to change notification settings - Fork 679
Closed
Description
Sage ignores the absolute value in the following symbolic integration.
sage: g=abs(sin(x)*cos(x))
sage: g.integrate(0,2*pi)
0
(the right result is 2, the integrand is positive in the interval so the
integral can never be 0!
sage: version()
'SageMath version 7.6, Release Date: 2017-03-25'
Component: symbolics
Keywords: symbolic integration, absolute value, abs_integrate
Issue created by migration from https://trac.sagemath.org/ticket/23271