integral, using sqrt instead of abs.



There are two curiosities

FIRST:$ maxima
Maxima 5.14.0 http://maxima.sourceforge.net
Using Lisp CLISP 2.41 (2006-10-13)
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
(%i1) integrate(sqrt(2*x*sin(x)-cos(1/x)), x, 0, 2/%pi);
                    1            2                   1
Is  - 2 x cos(2 x + -) - sin(x + -) - sin(x) + 2 cos(-) x
                    x            x                   x
                                                   positive, negative, or zero?

## here, the user has to wait for "what?"
## ENTER => nothing, no (%o1), no (%i2), ...
## ENTER => nothing, no (%o1), no (%i2), ...

## But pushing the ';' character and ENTER, it says:
Incorrect syntax: Premature termination of input at ;.
;
Maxima encountered a Lisp error:
SYSTEM::FORMAT-TABULATE: argument -1 should be a nonnegative fixnum
Automatically continuing.
To reenable the Lisp debugger set *debugger-hook* to nil.
(%i3)
## where are (%o1), (%i2) and (%o2) that have not appeared?

SECOND:$ maxima
Maxima 5.14.0 http://maxima.sourceforge.net
Using Lisp CLISP 2.41 (2006-10-13)
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
(%i1) integrate(sqrt(2*x*sin(x)-cos(1/x)), x, 0, 2/%pi);
                    1            2                   1
Is  - 2 x cos(2 x + -) - sin(x + -) - sin(x) + 2 cos(-) x
                    x            x                   x
                                                   positive, negative, or zero?

## I do Control-D => it doesn't exit, it floods in a loop of printing the
##                 above formula.

   Sincerely, J.C.Pizarro