 # NavList:

## A Community Devoted to the Preservation and Practice of Celestial Navigation and Other Methods of Traditional Wayfinding

### Compose Your Message

Message:αβγ
Message:abc
 Add Images & Files Posting Code: Name: Email:
Re: Why are NA sight reduction tables not popular?
From: Gary LaPook
Date: 2012 Apr 9, 01:41 -0700
 Interesting point you bring up about using the pole as the AP. Interestingly, the law of cosine formula does produce the correct Hc but that is trivial since we all know that Hc = Dec at the pole. In the law of cosines computation the first term becomes simply sin Dec and the second term drops out because cos 90 = 0 leaving the formula as:sin Hc = sin DecHc = DecAll the azimuth formulas blow up because the only azimuth available at the north pole is south. Both the N.A. and the common formula fail because LHA is undefined since there is no longitude at the pole. The Power squadron formula fails because the dreaded "divide by zero" error. None of this is a surprise because we all know that you don't use azimuth for plotting an LOP when using the pole as the AP, you use GHA as the proxy for azimuth. So the computation for celestial using the pole as the AP reduces to:Hc = Dec A= GHAgl-- On Mon, 4/9/12, Geoffrey Kolbe wrote:From: Geoffrey Kolbe Subject: [NavList] Re: Why are NA sight reduction tables not popular?To: NavList@fer3.comDate: Monday, April 9, 2012, 12:00 AMAt 23:50 08/04/2012, Gary Lapook wrote:> Now that I have looked at those pages in my N.A. I am again left scratching my head as to how somebody can come up with unnecessarily complicated ways to express simple things.> > The N.A.  implementation of he law of cosines formula is:> S= sin Dec> C = cos Dec cos LHA> Hc = arc sin (S sin Lat + C cos Lat)> Hunh?> > What's wrong with the way we all learned it:> > sin Hc = (sin Lat sin Dec + cos Lat cos Dec cos LHA)> > And the N.A. azimuth formula implementation:> > X = (S cos Lat - C sin Lat)/cos Hc> If  X > +1 set X = +1> If X < -1  set X = -1> A = arc cos X> > Which is the equivalent of :> > cos A = (sin Dec cos Lat - cos Lat cos LHA)/cos Hc> > instead the standard:> > sin A = sec Hc cos Dec sin LHA> > Where do they find those people at the N.A. office?> > glParaphrasing Herbert Prinz, in his posting of many years ago and which I regret I no longer have a date for :-The problem is that calculators have rounding errors. Consider the NA expression for the azimuth A(sinDec cosLat - cosDec sin Lat cosLHA)/cos HcThe theoretical range of values for this expression is -1 to +1. However, due to rounding errors, the actual value that will be computed will almost always differ from the correct value. In the limits, these rounding errors may actually take the returned value for this expression outside the permitted range for which the arc cos algorithm in the calculator is defined. On trying to compute the inverted cosine, most calculators or computers will fail at this point. Sillier calculators, like the HP48, will happily continue in the domain of complex numbers, which is of questionable benefit to the average navigator.Hence the check which the good people at the NA office put in as an extra step to ensure that whatever calculating machine you may be using - and the NA people have to consider that you may be using anything from a cheap scientific calculator from Walmart to a Cray super computer - the algorithm does not fail or become unstable as this expression approaches its limits.You might argue that observing celestial bodies at the zenith is highly unlikely, but as the Arctic ocean increasingly becomes navigable during the summer, it is increasingly likely that navigators may try to use this expression in an Arctic scenario. In such circumstances, it is quite likely that the North Pole be used for an assumed position and an azimuth for Polaris be calculated, for example. The algorithm must be stable in such circumstances.I should note here that the Power Squadron formula for the azimuth would certainly fail with the Pole as an assumed position and if the formula is used in a programmable calculator or computer which did not return Hc until all computations were done, you would get no useful output at all.The main problem with the formula you propose, sin A = sec Hc cos Dec sin LHA, is the selection of quadrant. You need four rules to select the correct quadrant for the inverted sine, whereas you only need two for the inverted cosine. Too, I think the expression is not as accurate if used with the assumed position in polar regions and with high altitude stars such as Polaris.I think that after a moment's thought, you will conclude - as Herbert Prinz did - that the people at the NA had actually made a carefully considered choice in the formulae on which they based their algorithm and also carefully considered the wide range of circumstances in which their algorithm may be used.Geoffrey Browse Files

Drop Files ### NavList ### What is NavList? ### Join NavList

 Name: (please, no nicknames or handles) Email:
 Do you want to receive all group messages by email? Yes No
You can also join by posting. Your first on-topic post automatically makes you a member. ### Posting Code

Enter the email address associated with your NavList messages. Your posting code will be emailed to you immediately.
 Email: ### Email Settings

 Posting Code: ### Custom Index

 Subject: Author: Start date: (yyyymm dd) End date: (yyyymm dd)