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
*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
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
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)