[sage-devel] Re: Incorrect definite integral

2009-10-17 Thread Martin Rubey
Harald Schilly writes: > this report came in from the "report a problem" link for 4.1.1. > > - > > Sage gives an incorrect value when calculating a definite integral > analytically: > > sage: integrate(cos(x)^2 * (1 + sin(x)^2)^-3,x,0,pi/2) > 21/64*pi*sqrt(2) > sage: _.n

[sage-devel] Re: Incorrect definite integral

2009-10-17 Thread ma...@mendelu.cz
On 17 říj, 12:42, Harald Schilly wrote: > On Oct 17, 8:18 am, "ma...@mendelu.cz" wrote: > > > I reported this as ID 2880886,  ... > > Thanks. Out of curiosity, i tried this integral with sympy. This ends > up to take minutes or longer. Should we report this as a bug, too? > > integrate(cos(x)^

[sage-devel] Re: Incorrect definite integral

2009-10-17 Thread Harald Schilly
On Oct 17, 8:18 am, "ma...@mendelu.cz" wrote: > I reported this as ID 2880886, ... Thanks. Out of curiosity, i tried this integral with sympy. This ends up to take minutes or longer. Should we report this as a bug, too? integrate(cos(x)^2 * (1 + sin(x)^2)^-3,x,0,pi/2, algorithm='sympy') H --~

[sage-devel] Re: Incorrect definite integral

2009-10-16 Thread ma...@mendelu.cz
> > This is also present in the Maxima current CVS version.  Someone may > want to report this to the Maxima bug tracker - I cannot right now. > Old Maxima 5.18 has the same problem. I reported this as ID 2880886, since the problem seems to be different one than https://sourceforge.net/tracker/

[sage-devel] Re: Incorrect definite integral

2009-10-16 Thread kcrisman
On Oct 16, 7:39 pm, Harald Schilly wrote: > this report came in from the "report a problem" link for 4.1.1. > > - > > Sage gives an incorrect value when calculating a definite integral > analytically: > > sage: integrate(cos(x)^2 * (1 + sin(x)^2)^-3,x,0,pi/2) > 21/64*pi