> > >>> > Yes, it does. Our assumptions go through Maxima, and apparently assuming > a variable is complex does the job. > > sage: a = integrate(x*cos(x^3),(x,0,0.5)).n() > sage: assume(x,'complex') > sage: b = integrate(x*cos(x^3),(x,0,0.5)).n() > sage: assumptions() > [x is complex] >
Actually, sage: assume(x,'complex') sage: integrate(x*cos(x^3),(x,0,0.5)) integrate(x*cos(x^3), x, 0, 0.5) so the reason it works is because Maxima doesn't even evaluate it in the version of Maxima we have, so it goes straight to numerical integration with .n(). Anyway, upgrading our Maxima will take care of this integral. -- 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