Mercator Sailing: Course and Distance
08-28-2018, 08:53 AM (This post was last modified: 08-28-2018 05:15 PM by Dieter.)
Post: #9
 Dieter Senior Member Posts: 2,397 Joined: Dec 2013
RE: Mercator Sailing: Course and Distance
(08-28-2018 12:46 AM)Gene222 Wrote:  M = a ln(10) log tan (45 + L/2) - a (e^2 sin L + e^4 / 3 sin^3 L + e^6/5 sin^5 L ...

Thank you very much for this formula.

(08-28-2018 12:46 AM)Gene222 Wrote:  a is the equitorial radius of the earth expressed in minutes of arc of the equator = 3437.74677078.

This is the factor 60*180/pi in my formula.
Circumference at equator in arc minutes = 60 · 360° = 21600'
Radius at equator = circumference / 2$$\pi$$ = 60 · 180 / $$\pi$$ = 3437,7467707849392526...

Now let's compare the Bowditch formula with the one I posted, assuming e=0,081819191 for WGS84.
The Bowditch formula was used with exact (12-digit) coefficients and one more term.

L=5°
Bowditch: 298,375698376
Artanh:   298,375698374

L=10°
Bowditch: 599,073043655
Artanh:   599,073043671

L=20°
Bowditch: 1217,26588915
Artanh:   1217,26588917

L=30°
Bowditch: 1876,86220651
Artanh:   1876,86220652

L=40°
Bowditch: 2607,88368513
Artanh:   2607,88368514

L=50°
Bowditch: 3456,82030073
Artanh:   3456,82030073

L=60°
Bowditch: 4507,40395347
Artanh:   4507,40395348

L=70°
Bowditch: 5944,24941337
Artanh:   5944,24941337

L=80°
Bowditch: 8352,48380806
Artanh:   8352,48380805

L=85°
Bowditch: 10741,6440576
Artanh:   10741,6440579

L=87°
Bowditch: 12499,0738936
Artanh:   12499,0738943

L=89°
Bowditch: 16276,4947743
Artanh:   16276,4947699

Convinced ?-)

I think we can safely assume that the slight differences beyond the 10th digit are due to roundoff errors, especially as L approaches 90°. That's why with 12-digit precision the 89° artanh result is slightly off. The 34s here returns 16276,49477437... ;-)

Edit:
I have now compared both formulas in Excel (15 digits). The more terms you add to the Bowditch formula the closer it matches the result of the artanh formula. With terms up to sin(L)^11 and exact coefficients the results agree within a few ULP. So the Bowditch formula seems to be a series expansion of the artanh formula. The latter essentially has two advantages: you don't need half a dozen of numeric constants but just one, the eccentricity e, and the whole thing is much shorter.

Dieter
 « Next Oldest | Next Newest »

 Messages In This Thread Mercator Sailing: Course and Distance - Eddie W. Shore - 08-10-2018, 03:08 AM RE: Mercator Sailing: Course and Distance - PedroLeiva - 08-10-2018, 11:23 AM RE: Mercator Sailing: Course and Distance - Dieter - 08-12-2018, 05:13 PM RE: Mercator Sailing: Course and Distance - Eddie W. Shore - 09-22-2018, 11:37 PM RE: Mercator Sailing: Course and Distance - Gene222 - 08-24-2018, 07:21 PM RE: Mercator Sailing: Course and Distance - Dieter - 08-25-2018, 06:08 AM RE: Mercator Sailing: Course and Distance - Eddie W. Shore - 09-22-2018, 11:39 PM RE: Mercator Sailing: Course and Distance - Gene222 - 08-26-2018, 12:30 AM RE: Mercator Sailing: Course and Distance - Dieter - 08-26-2018, 07:18 AM RE: Mercator Sailing: Course and Distance - Albert Chan - 09-10-2022, 03:17 PM RE: Mercator Sailing: Course and Distance - Gene222 - 08-28-2018, 12:46 AM RE: Mercator Sailing: Course and Distance - Dieter - 08-28-2018 08:53 AM RE: Mercator Sailing: Course and Distance - Dieter - 08-28-2018, 04:49 PM RE: Mercator Sailing: Course and Distance - Gene222 - 08-29-2018, 09:02 PM RE: Mercator Sailing: Course and Distance - Dieter - 08-30-2018, 05:49 AM RE: Mercator Sailing: Course and Distance - Gene222 - 08-30-2018, 11:59 PM RE: Mercator Sailing: Course and Distance - Gene222 - 08-31-2018, 02:15 AM RE: Mercator Sailing: Course and Distance - Dieter - 08-31-2018, 05:46 AM RE: Mercator Sailing: Course and Distance - Dieter - 09-01-2018, 05:51 AM RE: Mercator Sailing: Course and Distance - VadimV - 12-21-2022, 08:31 PM RE: Mercator Sailing: Course and Distance - Gene222 - 09-01-2018, 02:52 AM RE: Mercator Sailing: Course and Distance - Gene222 - 09-02-2018, 04:03 PM RE: Mercator Sailing: Course and Distance - Dieter - 09-02-2018, 06:27 PM RE: Mercator Sailing: Course and Distance - Gene222 - 09-03-2018, 10:10 PM RE: Mercator Sailing: Course and Distance - Dieter - 09-04-2018, 07:19 PM RE: Mercator Sailing: Course and Distance - Gene222 - 09-05-2018, 05:46 PM

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