In article <1810883.1233935248698.JavaMail.firstname.lastname@example.org>, Shahram Zafary <email@example.com> wrote:
> Dear Sir; > > I have found out a single term formula for approximating the circumference of ellipse and I hope to print, and publish it. This formula is very simple and accurate. > I will be grateful if you help and guide me about it.
The perimeter, A, of an ellipse with semiaxes a and b, 0 < b <= a is given by
A = 4.a.E(k') = (aa - S).2.pi/M(a, b)
where a_0 = a, b_0 = b, c_0 = aa - bb.
This will give the perimeter of the ellipse to 5 significant figures with 4-6 iterations for e < .99, where e is the eccentricity. The AGM converges quadratically so one more iteration will give 10 significant figures.
So unless you know exactly how much accuracy you want at compile time and are prepared to engineer approximations for the full range of eccentricities that will be called for, and absolutely need the speed of specialized approximations, use the AGM as it will give answers with accuracy specified at run time, and will not take much time doing it.
Might as well code up the AGM and see how it performs anyway.