NavList:
A Community Devoted to the Preservation and Practice of Celestial Navigation and Other Methods of Traditional Wayfinding
Re: Negative numbers
From: Lars Bergman
Date: 2024 Mar 8, 06:13 -0800
From: Lars Bergman
Date: 2024 Mar 8, 06:13 -0800
Alex,
your formula
sin(h) = sin(latitude)·sin(declination) + cos(latitude)·cos(declination)·cos(t)
can be rewritten
hav(90°-h) = hav(latitude - declination) + cos(latitude)·cos(declination)·hav(t)
if you want to avoid multiplication of negative numbers. In this form all factors and terms are non-negative.
Lars