Formula for altitude of star

sin alt= sin lat sin d + cos lat cos d cos H

Amount of time (in hours) between rising and setting of a star

T = 0.13333 [180 - arccos(tan lat tan d)]