David Joyner wrote:
> I agree
>
> sage: a = integrate(sin(t*t),t,0,3)
> sage: a.n(3)
> ERROR: An unexpected error occurred while tokenizing input
> The following traceback may be corrupted or invalid
> The error message is: ('EOF in multi-line statement', (897, 0))
>
Maybe this is the same bug as:
http://trac.sagemath.org/sage_trac/ticket/5400
Jason
> <snip>
>
> has a strange error message which might (or might not)
> indicate a bug of some type. Generally, though, I think
> a.n(3) tries to first evaluate a as an exact expression, which
> it can't (AFAIK) do, then coerce a into the appropriate
> floating point data type. Type a.n?? to see the source code.
>
>
>
> On Wed, Mar 11, 2009 at 2:47 PM, [email protected]
> <[email protected]> wrote:
>> Why integrate(sin(t*t),t,0,3).n(X) blows up for (apparently) all X >
>> 0?
>>
>> cs
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---