834
Appendix A: Functions and Instructions
R
4
Pr()
MATH/Angle menu
R
4
Pr (
xExpression
,
yExpression
)
⇒
expression
R
4
Pr (
xList
,
yList
)
⇒
list
R
4
Pr (
xMatrix
,
yMatrix
)
⇒
matrix
Returns the equivalent
r
-coordinate of the
(
x,y) pair arguments.
In Radian angle mode:
R
4
Pr(3,2)
¸
R
4
Pr(x,y)
¸
R
4
Pr([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
...
randPoly()
MATH/Probability menu
randPoly(
var
,
order
)
⇒
expression
Returns a polynomial in
var
of the specified order.
The coefficients are random integers in the range
ë
9 through 9. The leading coefficient will not be
zero.
order
must be 0–99.
RandSeed 1147
¸
Done
randPoly(x,5)
¸
ë
2
ø
x
5
+3
ø
x
4
ì
6
ø
x
3
+4
ø
x
ì
6
RandSeed
MATH/Probability menu
RandSeed
number
If
number
= 0, sets the seeds to the factory defaults
for the random-number generator. If
number
ƒ
0, it is
used to generate two seeds, which are stored in
system variables
seed1
and
seed2
.
RandSeed 1147
¸
Done
rand()
¸
.158
...
(Sets the random-number seed.)
Summary of Contents for Titanium TI-89
Page 9: ...Getting Started 6 TI 89 Titanium keys Ë Ì Í Ê ...
Page 34: ...Getting Started 31 2 or D 2 B u s i n e s s D B D B Press Result ...
Page 43: ...Getting Started 40 3 0 D B D D B D Press Result ...
Page 44: ...Getting Started 41 D 2 0 0 2 D B Scroll down to October and press Press Result ...
Page 58: ...Getting Started 55 Example Set split screen mode to TOP BOTTOM Press Result 3 B D ...
Page 70: ...Getting Started 67 ...
Page 175: ...Operating the Calculator 172 From the Keyboard ...
Page 456: ...Tables 453 ...
Page 527: ...Data Matrix Editor 524 ...