|Re: hp49g+ and vectors|
Message #3 Posted by Vieira, Luiz C. (Brazil) on 5 Apr 2006, 4:41 p.m.,
in response to message #1 by Chelsey
I have already written many survey programs to either RPN- or RPL-based calculators, and the same circunstance applies. You see, there is no matter how the calculator counts or positions angles because it doesn't have any reference to quadrants. You just have to worry about how to create these cardinal references and how to identify in which quadrant the coordinate is located. If you enter
(-200,-200)and asks for its argument, the HP49G+ returns
-135If you enter
(200,200)the argumetn now is
45If you consider that either (-200,-200) or (200,200) are coordinates and you have them already 'coded' as north, south, east or west by simply working with their signal, then it doesn't matter how the calculator interprets angles, you just need to work with the returned value as it is. Now, if you enter
(200,-200) and asks for its argument, the HP49G+ returns
-45and if you enter
(-200,200)the returned argument is
135I do not have the listings right here, but I remember that these outputs did not cause me much trouble computing the azymuth.
If you need further info, let us know.
Edited: 5 Apr 2006, 4:45 p.m.