This is a Maxima bug; running this in Sage's version of Maxima gives

(%i5) integrate(sqrt(cos(2*(x)))/sin(x),x);

sign: argument cannot be imaginary; found %i
 -- an error. To debug this try: debugmode(true);

The same error is produced by the latest Maxima:

Maxima 5.41.0 http://maxima.sourceforge.net
using Lisp SBCL 1.4.4
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(cos(2*(x)))/sin(x),x);

sign: argument cannot be imaginary; found %i
 -- an error. To debug this try: debugmode(true);




On Monday, February 26, 2018 at 4:51:45 PM UTC, Michael Colin D' Souza 
wrote:
>
> integral(sqrt(cos(2*(x)))/sin(x),x) gave a runtime error message 
> "RuntimeError: ECL says: Error executing code in Maxima:".
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to