On Sunday, May 13, 2012 8:46:41 PM UTC-7, ketchers wrote: > > Sage returns negative value for the integral of a positive function > x*cos(x^3) on (0,0.5), if I use abs(cos(x^3))*x, then it gets it correct? > > This works for me:
sage: numerical_integral(x*cos(x^3), 0, 0.5) (0.1247560409610376, 1.3850702913602309e-15) -- John -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org