Post Reply 
Perimeter of Ellipse
12-29-2019, 07:58 PM
Post: #16
RE: Perimeter of Ellipse
(12-07-2019 07:57 PM)Gerson W. Barbosa Wrote:  
(12-04-2019 10:27 PM)Gerson W. Barbosa Wrote:  ———-

This first Ramanujan approximation brings the error down to under one meter:

π[3(a + b) - √((3a + b)(a + 3b))]

His second approximation is even better, with an error less than one micrometer:

https://www.johndcook.com/blog/2013/05/0...-ellipse/


Instead of

p ~ 2π[3*agm(a,b) - 2√(a*b)]

I will suggest a better approximation involving the arithmetic-geometric mean and the geometric mean:

p ~ 2π{a + b - a*b/agm(a,b) - 2[agm(a,b) - √(a*b)]}

Let’s use it to compute the length of the orbit of Pluto¹:

.
.
.



36529672878.01583848170946635744574

Exact result:

36529672878.01583840603514193230844 km

Difference:

0.000000075674324425137 km,

or

75.674 μm

——


¹ Assuming the parameters are exact and the orbit is perfectly elliptical.

We can do better:

\(p\approx \frac{\pi \left [ \left ( 15h\sqrt{1+\frac{3h}{8-3h\sqrt{2}}}-80\right )\left ( a^{2}+\frac{6}{5}ab+b^{2} \right ) +4h\left ( a^{2}+2ab+b^{2} \right ) \right ]}{\left ( 12h\sqrt{1+\frac{3h}{8-3h\sqrt{2}}}+4h-64\right )\left ( a+b \right )}\)


where

\(h = \left (\frac{a-b}{a+b} \right )^{2 }\)

This one wasn't particularly difficult to find (might explain later).

p ~ 36529672878.01583840603557428740268 km

p = 36529672878.01583840603514193230844 km

Difference: 0.432 nm

Contrary to what is stated above, the difference obtained with Ramanujan's second approximation is less than one nanometer, not one micrometer (actually 0.905 nm), about the double of the above result, but his formula is way more simple.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Perimeter of Ellipse - Joe Horn - 03-05-2016, 04:19 PM
RE: Perimeter of Ellipse - Wes Loewer - 03-06-2016, 11:55 AM
RE: Perimeter of Ellipse - Wes Loewer - 03-06-2016, 02:16 PM
RE: Perimeter of Ellipse - Joe Horn - 03-07-2016, 03:34 PM
RE: Perimeter of Ellipse - ggauny@live.fr - 07-11-2019, 05:02 PM
RE: Perimeter of Ellipse - TASP - 03-06-2016, 02:40 PM
RE: Perimeter of Ellipse - parisse - 03-06-2016, 06:42 PM
RE: Perimeter of Ellipse - SlideRule - 03-07-2016, 01:16 PM
RE: Perimeter of Ellipse - parisse - 03-09-2016, 08:39 AM
RE: Perimeter of Ellipse - Albert Chan - 03-24-2019, 12:42 PM
RE: Perimeter of Ellipse - Gerson W. Barbosa - 12-29-2019 07:58 PM
RE: Perimeter of Ellipse - Albert Chan - 01-19-2020, 03:56 AM
RE: Perimeter of Ellipse - Albert Chan - 01-19-2020, 11:00 PM
RE: Perimeter of Ellipse - Albert Chan - 01-21-2020, 05:16 PM
RE: Perimeter of Ellipse - Albert Chan - 01-23-2020, 01:40 PM
RE: Perimeter of Ellipse - Albert Chan - 06-05-2020, 03:28 AM
RE: Perimeter of Ellipse - Albert Chan - 08-01-2020, 12:31 PM
RE: Perimeter of Ellipse - Albert Chan - 06-06-2020, 05:12 PM
RE: Perimeter of Ellipse - hazem - 04-11-2023, 09:43 PM
RE: Perimeter of Ellipse - rprosperi - 04-12-2023, 01:53 AM
RE: Perimeter of Ellipse - hazem - 04-13-2023, 02:06 PM
RE: Perimeter of Ellipse - floppy - 04-13-2023, 02:20 PM
RE: Perimeter of Ellipse - Werner - 04-12-2023, 05:43 AM
RE: Perimeter of Ellipse - rprosperi - 04-12-2023, 12:44 PM
RE: Perimeter of Ellipse - floppy - 04-12-2023, 07:22 PM
RE: Perimeter of Ellipse - Albert Chan - 04-13-2023, 05:23 PM
RE: Perimeter of Ellipse - floppy - 04-15-2023, 06:21 PM



User(s) browsing this thread: 1 Guest(s)