The immediate reason is that maxima returns: Principal Value (%o4) 2
and Sage since #7377 (7 years ago) catches "Principal Value" and makes it divergent. See https://trac.sagemath.org/ticket/7377 for reasons this was introduced. There are tickets that urge to fix this: https://trac.sagemath.org/ticket/13511 https://trac.sagemath.org/ticket/17608 So it's a Sage bug in the Maxima interface. Regards, -- 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 https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.