Content deleted Content added
m →References: clean up |
Halley1986 (talk | contribs) →Methodology: +fix: correct quadrant condition checks for arcTAN, +conditions for adjusting arcCos-computed values. |
||
Line 33:
: <math>\begin{align}
\tan(Zn
Z &= arctan(tanZ) \text{ } \in [-90,+90] \\
Zn &= \begin{cases}
Z & \text{if }LHA
180+Z & \text{if }LHA < 180, \text{ South Latitude} \\▼
\end{cases} \\
\end{align}</math>
:The adjustment from Z to Zn (which is in <math>[0,360]</math>, and measured from North) has two reasons:
::(1)The angles in [0,360] with the same <math>\tan</math> is not unique (since <math>\tan
::(2)The negative angle must be adjusted to positive angle.
or, alternatively,
: <math>\begin{align}
\cos(\pm Zn) &= \frac{\sin(dec) - \sin(lat) \cdot \sin(Hc)}{\cos(lat) \cdot \cos(Hc)} Z & = \arccos(cosZ) \text { } \in [0,180] \\
Zn &= \begin{cases}
-Z+360 & \text{if }LHA \in [0,180] \\
\end{cases} \\
\end{align}</math>
:The adjustment for disambiguating <math>\cos</math> values has similar reasons.
Where
Line 55 ⟶ 62:
:''Hc'' = Computed altitude
:''Zn'' = Computed azimuth (Zn=0 at North)
:''Z'' = preliminary result for Zn (in some nautical
| title = Celestial Navigation
| website = https://www.youtube.com/
|