Confused by Maxima 5.9.0



It works on my maxima 5.9 with gcl, but there is a bug !

(D1) FALSE
(C2) integrate(sqrt(2-2*cos(t)),t,0,2*%pi);

Is  SIN(t)^2+COS(t)^2+2*COS(t)+1  positive, negative, or zero?

positive;
(D2) 0

This is however impossible, because the function is positive...
Maple returns 8 !



Le Mardi 30 Mars 2004 09:02, Shaun Jackman a écrit :
> I upgraded from Maxima 5.6 to 5.9.0 and I can't figure out how to
> integrate now. What follows is a sample session.
>
> Thanks,
> Shaun
>
>
> GCL (GNU Common Lisp)  (2.6.1) Tue Jan 27 20:46:38 UTC 2004
> Licensed under GNU Library General Public License
> Dedicated to the memory of W. Schelter
>
> Use (help) to get some basic information on how to use GCL.
> Maxima restarted.
> (C1) sqrt( 2 - 2*cos(t));
>
> (D1)                          SQRT(2 - 2 COS(t))
> (C2) integrate( %, t, 0, 2*%pi);
>
>        2         2
> Is  SIN (t) + COS (t) + 2 COS(t) + 1  positive, negative, or zero?
>
> positive
> positive
> positive
> Incorrect syntax: POSITIVE is not an infix operator
> \npositive\npositive\n
>                     ^
> (C3)
>
> _______________________________________________
> Maxima mailing list
> Maxima@www.math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima

-- 
****************************
Michel Gosse
michel.gosse@ac-poitiers.fr
Clef pgp disponible sur 
http://www.keyserver.net/en/
*****************************