[sage-support] Re: Bug in symbolic integral

2014-11-14 Thread Peter Bruin
Hello, This appears to be a bug in the evaluation of the incomplete Gamma function in the older PARI version(s) used by Sage up to and including 6.3. The computation is correct in the newly released Sage 6.4, which uses the recent stable PARI release 2.7.1. (See also

[sage-support] Re: Bug in symbolic integral

2014-11-12 Thread kcrisman
*numerical way* (double checked by Wolfram Alpha http://www.wolframalpha.com/input/?i=int%20from%202%20to%203%20of%201%2Flog%28x%29%5E2 and Maple): sage: numerical_integral(1/log(x)^2,2,3) (*1.273097216447114*, 1.4134218422857824e-14) *symbolic way* (I think this is wrong) Of

[sage-support] Re: Bug in symbolic integral

2014-11-12 Thread Robert Dodier
On 2014-11-12, Johannes Lippmann johannes.lippm...@googlemail.com wrote: *symbolic way* (I think this is wrong) sage: N(integral(1/log(x)^2,(x,2,3))) *0.536566859259958* Hmm, I can't reproduce this problem. I am working w/ Maxima 5.34.1. (%i1) display2d : false $ (%i2) foo : 1/log(x)^2

[sage-support] Re: Bug in symbolic integral

2014-11-12 Thread kcrisman
Hmm, I can't reproduce this problem. I am working w/ Maxima 5.34.1. (%i1) display2d : false $ (%i2) foo : 1/log(x)^2 $ (%i3) integrate (foo, x, 2, 3); (%o3) gamma_incomplete(-1,-log(3))-gamma_incomplete(-1,-log(2)) (%i4) %, numer; (%o4) 1.273097216447114 (%i5)