Rectangular-Polar Coordinate Conversion
Pol converts rectangular coordinates to polar coordinates, while Rec converts polar coordinates to rectangular coordinates.
(1) Rectangular Coordinates (Rec)
(2) Polar Coordinates (Pol)
Specify the angle unit before performing calculations.
The calculation result for r and θ and for x and y are each assigned respectively to variables X and Y.
Calculation result θ is displayed in the range of -180° < θ ≦ 180°.
Example 1: To convert rectangular coordinates (√2; √2) to polar coordinates (Angle unit: Deg)
(MthIO-MathO)
(Pol)
2
(;)
2
- r = 2; θ = 45
(LineIO)
(Pol)
2
(;)
2
- r = 2
θ = 45
Example 2: To convert polar coordinates (√2; 45°) to rectangular coordinates (Angle unit: Deg)
(MthIO-MathO)
(Rec)
2
(;) 45
- X = 1; Y = 1