Hi!
On Mar 12, 4:48 am, Ajay Rawat <[email protected]> wrote:
> sage: a=integrate(sin(t*t),t,0,3)
> sage: a
> sqrt(pi)*((sqrt(2)*I + sqrt(2))*erf((3*sqrt(2)*I + 3*sqrt(2))/2) +
> (sqrt(2)*I - sqrt(2))*erf((3*sqrt(2)*I - 3*sqrt(2))/2))/8
Yes, and then
sage: a.n()
yields a Traceback,
TypeError: unable to simplify to complex approximation
More precisely, it is about approximating the error function (which
admittedly I don't know...) if the argument is not real:
sage: erf(pi).n()
0.999991123853632
sage: erf(I).n()
Traceback (most recent call last):
...
TypeError: unable to simplify to complex approximation
Cheers,
Simon
--~--~---------~--~----~------------~-------~--~----~
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
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---