> Maxima 5.25.1 > > (%i2) display2d:false; > (%o2) false > (%i3) h:sin(t)^2/(cos(t)+1.5)^2; > (%o3) sin(t)^2/(cos(t)+1.5)^2 > (%i4) integrate(h,t,0,2*%pi); > > rat: replaced 1.5 by 3/2 = 1.5 > > rat: replaced 1.5 by 3/2 = 1.5 > > rat: replaced 1.5 by 3/2 = 1.5 > > rat: replaced 1.5 by 3/2 = 1.5 > > rat: replaced 1.5 by 3/2 = 1.5 > (%o4) -(2*sqrt(5)-6)*%pi/sqrt(5) > > (Dan's result for a=3/2)
Right, but I'm wondering why I can't reproduce the " Error executing code in Maxima: CRECIP: attempted inverse of zero (mod 3) " bit in the Maxima currently in Sage? The problem is that then upgrading Maxima might not fix this. - kcrisman -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org