Post Reply 
HP 50g Inverse by Coordinates
06-08-2015, 02:14 PM (This post was last modified: 06-09-2015 02:45 AM by RMollov.)
Post: #2
RE: HP 50g Inverse by Coordinates
(06-07-2015 10:51 PM)MNH Wrote:  Hello,

The following code was inspired by Dave Britten:

Code:
\<< SWAP 4 ROLL - SWAP
ROT - R\->C  DUP ARG DUP
0 <
   \<< 360 +
   \>> IFT SWAP ABS
\>>

Input:

4:N1
3:E1
2:N2
1:E2

Output:

2:Azimuth
1:Distance

Regards,

Mark

So you assume the calculator is set to DEGREES

Another way of doing it can be:
Code:
\<< RECT \->V2 UNROT \->V2 - CYLIN V\-> 360 MOD SWAP \>>

Cheers,
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP 50g Inverse by Coordinates - MNH - 06-07-2015, 10:51 PM
RE: HP 50g Inverse by Coordinates - RMollov - 06-08-2015 02:14 PM
RE: HP 50g Inverse by Coordinates - MNH - 06-09-2015, 01:48 PM



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