Re: HP-35A/21 D.MS<-->Decimal degrees routines Message #3 Posted by Gerson W. Barbosa on 28 Mar 2012, 10:15 p.m., in response to message #1 by Matt Agajanian
From Hewlett-Packard's HP-35 MATH PAC, available in the HP Museum DVD 1, Calculator Manuals:
Degrees, minutes and seconds to decimal degrees
LINE DATA OPERATIONS DISPLAY REMARKS
1 Seconds ENTER^ 6 0 STO /
2 Minutes + RCL /
3 Degrees +
Example
32.6 ENTER^ 6 0 STO / .5433333333
17 + RCL / .2923888888
46 + 46.29238889 46°17'32.6" = 46.29°
Decimal degrees to degrees, minutes and seconds
LINE DATA OPERATIONS DISPLAY REMARKS
1 X ENTER^ Let D = integer part of X
2 D Degrees
3 - 6 0 STO * A Let M = integer part of A
4 M Minutes
5 - RCL * B Let S = nearest integer to B
6 S Seconds
Example
23.32916667 ENTER^ 23.32916667
23 23. Degrees (integer part of X)
- 6 0 STO * 19.7500002
19 19. Minutes (integer part of X)
- RCL * 45.000012
45 45 Seconds (nearest integer to X)
23.32916667° = 23°19'45"
|