Converts polar coordinates (π₯,π¦) to polar coordinates (π,π).
REC ( distance π , angle π )
ββββββ¬ββββ βββββ¬βββ
Numeric expression Numeric expression
REC(10,15)
Converts polar coordinates (π,π) to rectangular coordinates (π₯,π¦). The following relational expressions are used at this time:
π₯ = π cos π, π¦ = π sin π
The value of π₯ is automatically assigned to variable X, while π¦ is automatically assigned to variable Y.
10 A=2 : B=30
20 Z=REC(A,B)
30 PRINT X; Y
Converts polar coordinates (2,30) to rectangular coordinates.