Elliptic Integral Bug?

asked 2019-04-10 00:56:34 +0100

Julien gravatar image

Hi,

How did Sage come up with a nice answer when being asked to compute the following elliptic integral of the second kind? $$\int \sqrt{1-(1/2)\sin^2(x)}dx$$

Using integral(f(x),x), SageMathCell returns: $$-\frac{\sqrt{2}}{48}(\sin(3x)-\sin(x))$$

Here is the link.

Is it my maths, or is it bug?

Thanks, Julien

edit retag flag offensive close merge delete

Comments

Typical problem with integration using maxima package abs_integrate.. Not the first one..

https://trac.sagemath.org/search?q=ab...

FrédéricC gravatar imageFrédéricC ( 2019-04-10 10:35:50 +0100 )edit