Converts rectangular coordinates (π₯,π¦) to polar coordinates (π,π).
POL ( x-coordinate , y-coordinate )
βββββββ¬βββββ βββββββ¬βββββ
Numeric expression Numeric expression
POL(3, 2)
x-coordinate & y-coordinate: Numeric expression. | x | + | y | > 0 |
Converts rectangular coordinates (π₯,π¦) to polar coordinates (π,π). The following relational expressions are used at this time:
r = β(π₯Β²+π¦Β²) cos π = π₯ / (β(π₯Β²+π¦Β²)) sin π = π¦ / ((β(π₯Β²+π¦Β²))
10 A=5 : B=3
20 Z=POL(A,B)
30 PRINT X; Y
Converts rectangular coordinate point (5,3) to polar coordinates.