226 Appendix A: Functions and Instructions
R4Pq() MATH/Angle menu
R4Pq (
xExpression
,
yExpression
) ⇒
expression
R4Pq (
xList
,
yList
) ⇒
list
R4Pq (
xMatrix
,
yMatrix
) ⇒
matrix
Returns the equivalent q-coordinate of the
(
x,y
) pair arguments.
Note: The result is returned as either a degree or
radian angle, according to the current angle
mode.
In Degree angle mode:
R8Pq(x,y) ¸
In Radian angle mode:
R4Pq(3,2) ¸
R4Pq([3,-4,2],[0,pà4,1.5])
¸
R4Pr() MATH/Angle menu
R4Pr (
xExpression
,
yExpression
) ⇒
expression
R4Pr (
xList
,
yList
) ⇒
list
R4Pr (
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,pà4,1.5])
¸
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
randMat() MATH/Probability menu
randMat(
numRows
,
numColumns
) ⇒
matrix
Returns a matrix of integers between -9 and 9 of
the specified dimension.
Both arguments must simplify to integers.
RandSeed 1147 ¸ Done
randMat(3,3)
¸
8 ë 3 6
ë 2 3 ë 6
0 4 ë 6
Note: The values in this matrix will change
each time you press ¸.
randNorm( ) MATH/Probability menu
randNorm(
mean
,
sd
) ⇒
expression
Returns a decimal number from the specific
normal distribution. It could be any real number
but will be heavily concentrated in the interval
[
mean
-3ù
sd
,
mean
+3ù
sd
].
RandSeed 1147 ¸ Done
randNorm(0,1)
¸ .492...
randNorm(3,4.5) ¸ ì3.543...
(Sets the random-number seed.)