How to enter whole degrees and decimal minutes ?

04062020, 01:25 PM
(This post was last modified: 04062020 01:27 PM by springer5.)
Post: #1




How to enter whole degrees and decimal minutes ?
Hi
Does anyone know of a way to enter whole degrees and decimal minutes on the HP Prime? For example, to calculate.... 12 degrees and 35.67 minutes plus 24 degrees and 18.553 minutes. I'm trying to use my Prime for marine navigational formulae and all the data is presented in this format. the degrees,minutes,seconds button on the Prime only accepts whole numbers of each. I can of course convert it all to decimal degrees but that's a pain when the formulae are quite complex and each new set of numbers needing to be entered is based on the previous step's results. It means I'm converting in the middle of formula entry which is very cumbersome and prone to error. Anyone know of a way? Thanks in advance 

04062020, 02:21 PM
Post: #2




RE: How to enter whole degrees and decimal minutes ?
(04062020 01:25 PM)springer5 Wrote: Hi You need to make your own input routine = code a program   VPN 

04062020, 03:11 PM
(This post was last modified: 04062020 03:14 PM by springer5.)
Post: #3




RE: How to enter whole degrees and decimal minutes ?
(04062020 02:21 PM)CyberAngel Wrote: You need to make your own input routine = code a program Thanks CyberAngel. I wrote a simple program to add or subtract sets of numbers in that format, but when it comes to long, complex formulas all with different structures it gets very complicated. Some formulas might have 3 arguments, some 10, so the input routines would either have to be written for each permutation or a routine setup at the beginning which asks the user to specify structure prior to input and the program would almost have to write itself each time depending on the work at hand. One day sin1 (C * sin(lat)+ S * cos (lat) Maybe on another day z1 =z1/tan(dec) On a third day both of them together. and so on. All the above variables requiring to be input in whole degrees and decimal minutes *as the formulas is worked through* because some of the variables themselves have to be looked up in tables (or not) depending on the previous calculation. It really needs to be done manually. Too much for the Prime I'm thinking now. Jus the simple firmware routine to allow input of decimal minutes when using the degrees, minutes and seconds button would have made it so easy. I'd hoped it might be simpler than that using "the great HP Prime" but so be it. Thanks for clarifying that there's no built in way to do it though. Cheers 

04062020, 04:23 PM
Post: #4




RE: How to enter whole degrees and decimal minutes ?
Try this.
Nigel (UK) 

04062020, 04:49 PM
Post: #5




RE: How to enter whole degrees and decimal minutes ?
(04062020 04:23 PM)Nigel (UK) Wrote: Try this. Awesome! Thanks Nigel. This looks like a good solution for what I need. I haven't used the Define feature before so I wasn't famiiliar with it. But it looks like it's just what I need. Thanks again. I appreciate it. You've just saved me from a massive headache 

04062020, 05:18 PM
Post: #6




RE: How to enter whole degrees and decimal minutes ?
I'm glad to have helped. My pleasure!
Nigel (UK) 

04062020, 05:29 PM
Post: #7




RE: How to enter whole degrees and decimal minutes ?
This is probably a can of worms, but it would be nice if the Prime at least accepted DDM (degrees decimal minutes) format on input, even if it then automatically converted it to DMS, which doesn't sound too hard to do. Displaying the results in DDM format would be a whole separate can of worms though!
(For what it's worth, Casio scientific calculators allow input in DD, DDM or DMS format, but can only display results in DD or DMS format.) — Ian Abbott 

04072020, 08:24 AM
Post: #8




RE: How to enter whole degrees and decimal minutes ?
Yeah, it probably could accept without too much trouble.... Maybe will look at that sometime. Display is a no go as we have no more flags on the real number object unfortunately.
TW Although I work for the HP calculator group, the views and opinions I post here are my own. 

04072020, 09:25 AM
Post: #9




RE: How to enter whole degrees and decimal minutes ?
(04072020 08:24 AM)Tim Wessman Wrote: Yeah, it probably could accept without too much trouble.... Maybe will look at that sometime. Display is a no go as we have no more flags on the real number object unfortunately. How many different Real Number formats do you use? Do they each have a separate flag for simplicity? Maybe some flags could be reused by priotizing the selection to other formats & hours/degrees formats? Perhaps you already did that and totally ran out of flags. < Sigh > < muttering "what do I know” > – – VPN 

10082020, 11:36 AM
Post: #10




RE: How to enter whole degrees and decimal minutes ?
Apologies for asking this ; I do not want to press you. But is this feature (accepting decimal numbers within the DMS format) still planned? This is very useful for navigation/astronomical purposes, and this is a very common feature supported by most calculators these days (Casio have it since the 80s). Thanks a lot in advance.


10152020, 10:01 PM
Post: #11




RE: How to enter whole degrees and decimal minutes ?
(04062020 04:23 PM)Nigel (UK) Wrote: Try this. As an alternative I suggest to define DM like this: →HMS(IP(X)+(FP(X)*5/3)) Usage: DM(7.165) returns 7°16′30″ Thibault  not collector but in love with the few HP models I own  Also musician : http://walruspark.co 

10162020, 11:38 AM
Post: #12




RE: How to enter whole degrees and decimal minutes ?  
10302020, 12:34 PM
Post: #13




RE: How to enter whole degrees and decimal minutes ?
Given the "restriction" that you use HOME mode and RPN entry:
12 degrees and 35.67 minutes plus 24 degrees and 18.553 minutes. 12°35.67 ENTER 60 / + 24° 18.553 ENTER 60 / + + 36°54'13.38" BR Stefan 

« Next Oldest  Next Newest »

User(s) browsing this thread: 1 Guest(s)