HP Forums
(55) Additional Moon Tracking Computer and Calculator Programs - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Software Libraries (/forum-10.html)
+--- Forum: General Software Library (/forum-13.html)
+--- Thread: (55) Additional Moon Tracking Computer and Calculator Programs (/thread-12199.html)



(55) Additional Moon Tracking Computer and Calculator Programs - SlideRule - 01-15-2019 02:37 PM

Elevation & azimuth routines from Additional Moon Tracking Computer and Calculator Programs, EIMACS.

… two scientific calculator programs … two equations used for these programs are:
Elevation = …
Azimuth= …


HP-55 Program Form
EME Antenna AZ and EL from Moon's GHA and declination


BEST!
SlideRule


RE: (55) Additional Moon Tracking Computer and Calculator Programs - Greg - 10-15-2019 11:14 AM

Thanks SlideRule. It is really interesting to see how the early calculators behave. I find this program especially interesting because of how much you need to key in to get it started after loading the program. It really shows the impact of providing fully merged keystrokes in later models.

The HP-25 version, also in the article, uses less program steps and does the tedium of storing the sin/cos of your latitude and longitude within the program. You need to calculate those and store them manually as part of the setup for the HP-55 version.

The HP-55 program in hp55u format is:
Code:

PROG
49
01: 34       : RCL
02: 08       : 8
03: 71       : *
04: 34       : RCL
05: 05       : 5
06: 71       : *
07: 34       : RCL
08: 07       : 7
09: 34       : RCL
10: 04       : 4
11: 71       : *
12: 61       : +
13: 32       : g
14: 12       : sin-1
15: 33       : STO
16: 00       : 0
17: 31       : f
18: 14       : tan
19: 34       : RCL
20: 06       : 6
21: 71       : *
22: 34       : RCL
23: 07       : 7
24: 34       : RCL
25: 05       : 5
26: 81       : /
27: 34       : RCL
28: 00       : 0
29: 31       : f
30: 13       : cos
31: 81       : /
32: 22       : x<->y
33: 51       : -
34: 32       : g
35: 13       : cos-1
36: 00       : 0
37: 34       : RCL
38: 09       : 9
39: 31       : f
40: -48      : x<=y? 48
41: 23       : Rv
42: 23       : Rv
43: 34       : RCL
44: 02       : 2
45: 22       : x<->y
46: 51       : -
47: -00      : GTO 00
48: 23       : Rv
49: 23       : Rv
DATA
20
00: 0
01: 0
02: 360
03: 0
04: 0
05: 0
06: 0
07: 0
08: 0
09: 0
10: 0
11: 0
12: 0
13: 0
14: 0
15: 0
16: 0
17: 0
18: 0
19: 0
STATE
3
DEG
FIX
2
HELP
33
EME Antenna AZ and EL
from Moon's GHA and Declination

https://www.hpmuseum.org/forum/
thread-12199.html

1. Antenna Long. (deg)
   STO 3

2. Antenna Lat. (deg)
   ENTER ENTER
   f sin STO 4
   Rv f cos STO 5
   Rv f tan STO 6

3. Moon Declination (d.ms, south is -ve)
   f ->H
   ENTER
   f sin STO 7
   Rv f cos STO 8

4. Moon GHA (d.ms)
   f ->H
   RCL 3 - ENTER
   f sin STO 9
   Rv f cos

5. BST R/S

Gives Azimuth (deg).
RCL 0 for Elevation (deg).
For new moon data, go to step 3.

END

You can copy and paste that into Menu (click the LED display), Prog/Data of the hp55u emulator. It should also be a good starting point for any other HP-55 emulators around.

On a HP-55, BST in RUN mode takes you to step 00.