(48g) (49g) (50g) Rectangular to Polar Coordinate Conversion [RPL]
|
12-12-2013, 04:43 PM
(This post was last modified: 06-15-2017 01:30 PM by Gene.)
Post: #1
|
|||
|
|||
(48g) (49g) (50g) Rectangular to Polar Coordinate Conversion [RPL]
Although these two little RPL programs will work on the HP 28C/S, they are intended for later RPL calculators such as the HP 48S and HP 50g which lack this capability. Both programs accept the input parameters in the form of a complex number and return the results as individual values into the stack.
Rectangular to Polar Coordinates: << DUP ARG SWAP ABS >> Example: (3,4) --> 5 in stack level 1 and 53.13 in stack level 2 (degrees) Polar to Rectangular Coordinates: << DUP DUP RE SWAP IM SIN * SWAP DUP RE SWAP IM COS * >> Example: (5,53.13) --> 3 in stack level 1 and 4 in stack level 2 (degrees) |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(48g) (49g) (50g) Rectangular to Polar Coordinate Conversion [RPL] - Michael de Estrada - 12-12-2013 04:43 PM
RE: Rectangular to Polar Coordinate Conversion [RPL] - Joe Horn - 12-13-2013, 08:58 AM
RE: Rectangular to Polar Coordinate Conversion [RPL] - Michael de Estrada - 12-15-2013, 03:55 AM
RE: Rectangular to Polar Coordinate Conversion [RPL] - Han - 12-17-2013, 06:30 AM
RE: Rectangular to Polar Coordinate Conversion [RPL] - Michael de Estrada - 12-17-2013, 03:52 PM
RE: Rectangular to Polar Coordinate Conversion [RPL] - CosmicTruth - 06-03-2014, 10:49 AM
RE: Rectangular to Polar Coordinate Conversion [RPL] - HP67 - 06-03-2014, 11:19 AM
RE: Rectangular to Polar Coordinate Conversion [RPL] - CosmicTruth - 06-03-2014, 11:16 PM
|
User(s) browsing this thread: 1 Guest(s)