Appendix A: Functions and Instructions 861
R4
44
4Pqqqq() MATH/Angle menu
R4
44
4Pq
qq
q (
xExpression
,
yExpression
)
expression
R4
44
4Pq
qq
q (
xList
,
yList
)
list
R4
44
4Pq
qq
q (
xMatrix
,
yMatrix
)
matrix
Returns the equivalent q-coordinate of the
(

x,y

) pair arguments.
Note: The result is returned as a degree, gradian
or radian angle, according to the current angle
mode setting.
In Degree angle mode:
R8Pq(x,y) ¸
In Gradian angle mode:
R8Pq(x,y) ¸
In Radian angle mode:
R4Pq(3,2) ¸
R4Pq([3,-4,2],[0,4,1.5]) ¸
R4
44
4Pr() MATH/Angle menu
R4
44
4Pr (
xExpression
,
yExpression
)
expression
R4
44
4Pr (
xList
,
yList
)
list
R4
44
4Pr (
xMatrix
,
yMatrix
)
matrix
Returns the equivalent r-coordinate of the
(

x,y

) pair arguments.
In Radian angle mode:
R4Pr(3,2) ¸
R4Pr(x,y) ¸
R4Pr([3,-4,2],[0,4,1.5]) ¸
4
44
4Rad CATALOG/MATH/Angle menu
4
44
4 Rad
expression
Converts an expression to radian angle measure.
In Degree angle mode:
1.5 4Rad ¸ .02618R
In Gradian angle mode:
1.5 4Rad ¸ .023562R
rand() MATH/Probability menu
rand([
n
])
expression
n
is an integer ƒ zero.
With no parameter, returns the next random
number between 0 and 1 in the sequence. When
an argument is positive, returns a random integer
in the interval [1,
n
].
When an argument is negative, returns a random
integer in the interval [ë
n
,ë1].
RandSeed 1147 ¸ Done
rand() ¸ .158...
rand(6) ¸ 5
rand(ë100) ¸ ë49
(Sets the random-number)