On Wed, Nov 19, 2008 at 8:50 AM, pong <[EMAIL PROTECTED]> wrote:
>
> Maybe someone has reported this already... but looks like there is a
> bug in integral
>
> sage: integral(x*abs(9-x^2), x, -6, 0)
> 162
>
> The integrand is negative on (-6,0)
Yep, these are coming from Maxima:

(%i11) integrate(x*abs(9-x^2), x, -6, 0);
(%o11) 162
(%i12) integrate(x*abs(9-x^2), x, -6, -3);
(%o12) -729/4
(%i13) integrate(x*abs(9-x^2), x, -3, 0);
(%o13) -81/4

I've CC'd Robert Dodier on this.

--Mike

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to