atan2 - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: HP Prime (/forum-5.html) +--- Thread: atan2 (/thread-3604.html) |
atan2 - Powersoft - 04-10-2015 08:23 AM Dear Forum members, Is there a working example for the HP Prime to show the atan2(y,x) function? Thanks. Jan Kromhout Hellevoetsluis-NL RE: atan2 - Martin Hepperle - 04-10-2015 11:35 AM If you have to roll your own atan2(y,x) function have a look at http://en.wikipedia.org/wiki/Atan2 Martin RE: atan2 - DrD - 04-10-2015 11:41 AM Here is a little atan2(y,x) program especially useful as a subroutine: Code:
RE: atan2 - Helge Gabert - 04-11-2015 03:39 AM Don't forget there is also ARG ARG(x+i*y)=ATAN2(y,x), and ARG is built-in. RE: atan2 - jte - 04-12-2015 09:27 PM (04-11-2015 03:39 AM)Helge Gabert Wrote: Don't forget there is also ARG I've just tried ARG for a handful of values and have noticed a few minor details that might be worth keeping in mind.
|