Reading RPLS is free for the whole profession. Members post, reply, and get the members-only rooms.
I have a fixed value (0?ø28??37?) that I need to rotate a paper map by. I know my trusty HP48 has a way to program one of the soft keys to be a formula, taking the value in Row 1 and add that fixed value to it.
So I need to type in a value in HH.MMSS, convert it to decimal, subtract my fixed value, and then convert back to HH.MMSS.
I used to program this thing all the time (20 years ago) but cannot seem to get it to work. I know I can do this in excel, but it would be easier in the long run if I could do it with my HP also. Anybody have any assistance??
The 41 has a function that does specifically that,?ÿ HMS-?ÿ?ÿ , no need to convert to decimal first.
I feel sure the 48 would have the same thing.
On the 41 I would enter (negative)?ÿ?ÿ -.2837?ÿ?ÿ hit enter several times to fill the stack
key in your angle and hit HMS+?ÿ?ÿ (you are adding a negative number)
Hit the register down button once (R and the arrow pointing down) to get the -.2837 back in the display and you are ready to enter the next one.
I assign the HMS- to the shift -?ÿ button and the HMS+ to the shift + button.
Purple key 4 (TIME)
...NXT (key with letter L on it)
...Softkey at the top HMS+ or HMS-?ÿ ?ÿalso has ->HMS (convert decimal to DMS)?ÿ ?ÿand HMS-> (convert from DMS to decimal)
The stack in the 48 works a little differently from the 41, the 41 only has 4 registers (x,y,z,and t) so when you hit enter 4 times they are all filled with the same # then you do your calc and hit the R down key you effectively refilled all of the registers with that same value again so you could just repeat ad infinitum and always have the number that you needed at the ready. With the 48 it has some huge number of registers so you have to hit the enter key lots of times to "push" that value way back in the stack. Not a big difference but a little bit different feel...lol,
I am familiar with the method mentioned above....
What I am looking for is to program a softkey to take an input (and without hitting enter once) having it convert. As in typing the following where S=my softkey:
45.2635S
and that number being converted to decimal, rotated, and converted back to HMS. Using the constant above it would convert it to?ÿ
44.5758
?ÿ
It's been a long time, but I used to have the HMS->, ->HMS, HMS+, HMS- functions stored in the CST button. Look up how to store them there and you'll have it handy.
/<<
HMS?? SWAP HMS?? - ??HMS
>>/
'DMS' STO
The softkey labeled 'DMS' will be in the VAR menu.
If I understand you correctly, you will enter two values on the stack.
I see, I never got very good at programming the 48 (not like the 41 anyway) as I recall program code chunks are stored as "variables" that can be assigned to the top row of softkeys but that's about all I remember, the availability of inexpensive pre-programmed cards pretty much put an end to my calculator programming.
Field Dog?ÿ ?ÿ
Thank you. That was enough to jog my memory.?ÿ
What I was looking for was a subtract contstant "SUBC":
/<<
HMS?? 0.2837 HMS?? - ??HMS
>>/
'SUBC' STO
?ÿ
Then I can make another one for the "ADDC"?ÿ?ÿ
/<<
HMS?? 0.2837 HMS?? + ??HMS
>>/
'ADDC' STO
It is actually easier than that...
/<<
0.2837 HMS+
>>/
?ÿ
And my memory is coming back in viewing variables, and editing them. Oh my, watch out 1993, I am back!!!!!