On Oct 22, 4:57 am, Gary Church <[email protected]> wrote: > Hello all, > > How can I evaluate > > integral(sin(x^2),x,0,2) > > to get a real value instead of the nasty expression involving erf() and I > that it spits out at me? > > Thanks much, > Gary
One can check that the "nasty expression" is real: sage: w=integral(sin(x^2),x,0,2) sage: w.imag_part().simplify_full() 0 It seems that some special functions (erf, Fresnel,...?) have to be used in the exact integration Andrzej Chrzeszczyk -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
