[sage-support] Re: wrong result for integral(sqrt(cos(x)-cos(x)^3), x, 0, pi/2)

2016-04-14 Thread kcrisman
> > > > >> Using SageMathCloud I was surprised to find this bug: > >> > >> integral(sqrt(cos(x)-cos(x)^3), x, 0, pi/2) > >> -2/3 > >> > >> The correct result is 2/3 (luckily I noticed that something was wrong > >> because the result must be positive!) > > > Usually such things are due to

[sage-support] Re: wrong result for integral(sqrt(cos(x)-cos(x)^3), x, 0, pi/2)

2016-04-14 Thread Robert Dodier
On 2016-01-21, kcrisman wrote: >> Using SageMathCloud I was surprised to find this bug: >> >> integral(sqrt(cos(x)-cos(x)^3), x, 0, pi/2) >> -2/3 >> >> The correct result is 2/3 (luckily I noticed that something was wrong >> because the result must be positive!) > Usually

[sage-support] Re: wrong result for integral(sqrt(cos(x)-cos(x)^3), x, 0, pi/2)

2016-01-21 Thread kcrisman
> Using SageMathCloud I was surprised to find this bug: > > integral(sqrt(cos(x)-cos(x)^3), x, 0, pi/2) > -2/3 > > The correct result is 2/3 (luckily I noticed that something was wrong > because the result must be positive!) > > numerical_integral gets it right: > >