Brian Dunning's FileMaker Custom Functions

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   Dr. Ronald W. Satz
Transpower Corporation
http://www.transpowercorp.com

Share on Facebook Share on Twitter

  Sample input:
Romberg_EI(0;Pi/2;0.01670862)
  Sample output:
1.571

  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

Log in to post comments.

 

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

Under construction. Email me your wish list for improvements.