On Tuesday, March 10, 2015 at 3:18:45 PM UTC-5, Nils Bruin wrote:
>
> On Tuesday, March 10, 2015 at 9:04:14 AM UTC-7, Dima Pasechnik wrote:
>>
>> On 2015-03-10, M M <mirette...@gmail.com> wrote: 
>>
>> Integration is done by Maxima, and it is a bloody mess; e.g. 
>>
>
> It is, but I suspect that's not the cause here. I think it's just 
> numerical instability.
>
> sage: sage: integral(x/(x^3-x+1), x, 1, 2).n(100)
> 0.56579991645642210974671290281
> sage: sage: integral(x/(x^3-x+1), x, 1, 2).simplify_full().n(100)
> 0.56579991645643344322713389324
>

For what it's worth...
┌────────────────────────────────────────────────────────────────────┐
│ Sage Version 6.5, Release Date: 2015-02-17                         │
│ Enhanced for SageMathCloud.                                        │
└────────────────────────────────────────────────────────────────────┘
sage: integral(x/(x^3-x+1), x, 1, 2, algorithm='sympy').n()
0.565799916456428
sage: integral(x/(x^3-x+1), x, 1, 2, algorithm='sympy').simplify_full().n()
0.565799916456428
sage: integral(x/(x^3-x+1), x, 1, 2, algorithm='sympy').n(100)
0.56579991645642798527545946385
sage: integral(x/(x^3-x+1), x, 1, 2, 
algorithm='sympy').simplify_full().n(100)
0.56579991645642798527545946385

--Steve

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to