> > > Maxima thinks that the answer is instead zero. (Or more correctly, the >> particular configuration and version of Maxima built into Sage thinks the >> answer is zero.) >> > > It seems "domain: complex" causes the problem. > > (%i1) display2d:false; > > (%o1) false > (%i2) integrate(sqrt(cot(x)^2),x); > > (%o2) 'integrate(abs(cot(x)),x) > (%i3) domain:complex; > > (%o3) complex > (%i4) integrate(sqrt(cot(x)^2),x); > > (%o4) log(tan(x))-log(tan(x)^2+1)/2 > > This may be worth reporting to Maxima. >
Perhaps surprisingly, abs_integrate isn't involved in the mess-up? Yes, definitely report upstream. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.