integrate? sign?



Yikes: Try

  integrate(sqrt(tan(x)^2 + 2 * tan(x) + q),x);

and answer the asksign questions consistent with q = 1. The result is  a huge mess--it even depends on false:

((q+1)*(-1)^(4*cos(2*x))*sin(2*x)^2+(q+1)*(-1)^(4*cos(2*x))*cos(2*x)^2)*false+((q^2-2*q+5)*sin(4*x)^2+
((4*q^2-4)*sin(2*x)+(8*q+8)*cos(2*x))*sin(4*x)+(q^2-2*q+5)*cos(4*x)^2 + <junk deleted>


--Barton

________________________________________
From: maxima-bounces at math.utexas.edu [maxima-bounces at math.utexas.edu] on behalf of Richard Fateman [fateman at eecs.berkeley.edu]
Sent: Saturday, May 25, 2013 09:54
To: Maxima - list
Subject: integrate? sign?

integrate(sqrt(tan(x)^2 + 2 * tan(x) + 2),x);

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

says version 5.25.1
_______________________________________________
Maxima mailing list
Maxima at math.utexas.edu
http://www.math.utexas.edu/mailman/listinfo/maxima