bug in elliptic integrals in Maple V.5 (23.7.98)

Robert Michael Sinclair

In preparing a demonstration of the Arithmetic Geometric Mean for students, I came across the following behaviour, in which the second symbolic integral (or its numerical evaluation) are wrong. All numerical values should have been the same:

It is corrected with Maple 6. (U. Klein)

Heike Koch-Beuttenmueller (24.7.98)

You can avoid this bug in the following way:

It works for both problems:

This looks more complicated.

You get a small imaginary value,which must be due to rounding errors, so you can neglect it.

Herb Brown (24.7.98)

It is interesting that this works correctly in release 4: