HP-35A/21 D.MS<-->Decimal degrees routines « Next Oldest | Next Newest »

 ▼ Matt Agajanian Unregistered Posts: 980 Threads: 239 Joined: Aug 2006 03-28-2012, 08:50 PM Hello all, In that the HP-21 (Woodstock) and HP-35 (Classic) do not have conversions to and from degrees to degrees/minutes/seconds, has anyone devised a method to convert the decimal degree value to degrees-minutes-seconds? Please let me know. Thanks Edited: 28 Mar 2012, 8:50 p.m. ▼ Eric Smith Unregistered Posts: 2,309 Threads: 116 Joined: Jun 2005 03-28-2012, 09:02 PM Not anything automatic. You can obviously do it by working through the calculations manually. Gerson W. Barbosa Unregistered Posts: 2,761 Threads: 100 Joined: Jul 2005 03-28-2012, 10:15 PM 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"``` ▼ Paul Dale Unregistered Posts: 3,229 Threads: 42 Joined: Jul 2006 03-28-2012, 10:54 PM Quote:```LINE DATA OPERATIONS DISPLAY REMARKS 1 Seconds ENTER^ 6 0 STO / 2 Minutes + RCL / 3 Degrees +``` Interesting, using the single storage register and saving no keystrokes in doing so.... Likewise for the reverse conversion. - Pauli Edited: 28 Mar 2012, 10:54 p.m. ▼ Gerson W. Barbosa Unregistered Posts: 2,761 Threads: 100 Joined: Jul 2005 03-29-2012, 07:39 AM Quote: Interesting, using the single storage register and saving no keystrokes in doing so.... ...unless more than one conversion is performed, but then the instructions should be updated: ```LINE DATA OPERATIONS DISPLAY REMARKS 1 Seconds ENTER^ 6 0 STO / for the second and subsequent conversions execute the following operations instead: ENTER^ RCL / 2 Minutes + RCL / 3 Degrees +``` Gerson. Edited: 29 Mar 2012, 7:52 a.m. ▼ Marcus von Cube, Germany Unregistered Posts: 3,283 Threads: 104 Joined: Jul 2005 03-29-2012, 09:52 AM RCL should make ENTER^ superfluous. ▼ Gerson W. Barbosa Unregistered Posts: 2,761 Threads: 100 Joined: Jul 2005 03-29-2012, 02:05 PM Right you are! This means more keystroke saving on multiple conversions. I guess surveyors appreciated the successor of the HP-35, the HP-45, when it was released. Still not programmable, but it had ->D.MS and D.MS-> built-in :-) Also, a nice feature: no matter the current display mode, ->D.MS would leave the calculator temporarily in FIX 4 mode. Edited: 29 Mar 2012, 2:12 p.m. dbatiz Unregistered Posts: 64 Threads: 8 Joined: Oct 2006 03-29-2012, 01:47 AM There was a tread not too long ago where somebody posted equations that accomplish this. He made his posting as a guessing game, something about "Try to identify these" or something like that. I did a quick search, but came up empty handed. Does this ring any bells? Very respectfully, David ▼ Gerson W. Barbosa Unregistered Posts: 2,761 Threads: 100 Joined: Jul 2005 03-29-2012, 07:17 AM Here it is: Regards, Gerson. Matt Agajanian Unregistered Posts: 980 Threads: 239 Joined: Aug 2006 03-29-2012, 11:03 AM Hello all. Fantastic job on the D.MS<-->D.DDD conversion routines. I tried developing some algorithms last night. In comparison, yours were quite streamlined.

 Possibly Related Threads… Thread Author Replies Views Last Post MS advert shows spreadsheet with obvious error BruceH 3 2,167 11-14-2013, 09:50 AM Last Post: Bill (Smithville, NJ) HP 21 - How to troubleshoot? Adam Vaughn 13 3,524 10-02-2013, 09:40 AM Last Post: Adam Vaughn Binary versus Decimal prefixes bill platt 22 5,274 04-27-2013, 11:22 AM Last Post: Walter B Decimal/Binary Conversions for the HP 39gii - 3/16/2013 Eddie W. Shore 0 924 03-16-2013, 04:30 PM Last Post: Eddie W. Shore 33s Decimal Point Matt Agajanian 4 1,787 11-06-2012, 09:20 PM Last Post: Matt Agajanian Obtaining More Decimal Digits (50g) Eddie W. Shore 3 1,550 09-13-2012, 05:38 PM Last Post: Gilles Carpentier HP-35A Production Run Questions Matt Agajanian 0 908 07-02-2012, 09:02 PM Last Post: Matt Agajanian OT: Old windows and ms/dos on 3.5 disks Ethan Conner 7 2,385 05-20-2012, 02:20 AM Last Post: Marcus von Cube, Germany ->H and ->H.MS for the WP-34S Tom Grydeland 3 1,463 05-10-2012, 09:44 AM Last Post: M. Joury Truncating to Integer & Fraction--HP-35A/21A Matt Agajanian 11 3,036 03-31-2012, 10:36 PM Last Post: Matt Agajanian

Forum Jump: