Post Reply 
HP 48GX Division by Zero
06-06-2015, 11:56 PM (This post was last modified: 06-07-2015 01:20 AM by Dave Britten.)
Post: #6
RE: HP 48GX Division by Zero
What about arcsin((n2-n1)/SQRT((e2-e1)^2+(n2-n1)^2))?

EDIT: That just covers 1st quadrant, though. You'd have to figure out signs to get the correct angle. Or better yet, just make the 48 do the work for you.

Code:
\<< SWAP - ROT ROT SWAP - SWAP R\->C ARG \>>

Input:

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

Output:

1: Azimuth
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP 48GX Division by Zero - MNH - 06-03-2015, 11:55 PM
RE: HP 48GX Division by Zero - Bruno - 06-05-2015, 09:03 AM
RE: HP 48GX Division by Zero - Bruno - 06-05-2015, 10:05 AM
RE: HP 48GX Division by Zero - MNH - 06-06-2015, 08:10 PM
RE: HP 48GX Division by Zero - Dave Britten - 06-06-2015 11:56 PM
RE: HP 48GX Division by Zero - MNH - 06-07-2015, 03:32 AM



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