# Romberg_EI

Calculates Complete Elliptic Integral of the Second Kind Using Romberg's Method

Average rating: 4.4 (16 votes) Log in to vote

Dr. Ronald W. Satz Transpower Corporation http://www.transpowercorp.com |

Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

This function calls EI (ecc ; theta ) (which is equal to Sqrt ( 1- (ecc ^ 2 ) * ( ( Sin ( theta ) ) ^ 2 ) ) ) (where ecc = ellipse eccentricity and theta = angle in radians) to compute the integrand of the Complete Elliptic Integral of the Second kind at 33 points. It then takes these values to compute the Romberg value for the Complete Elliptic Integral of the Second kind--for instance, the perimeter of an elliptic orbit (which would be 4 x a x the value computed, where a = semi-major axis of the ellipse).

## Comments

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.