Texas Instruments TI-89 Manual Book page 505

Ti ti-89: user guide
Hide thumbs Also See for TI-89:
Table of Contents

Advertisement

rand()
MATH/Probability menu
rand([n])
expression
is an integer ƒ zero.
n
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,
When an argument is negative, returns a
random integer in the interval [ë
randMat()
MATH/Probability menu
randMat(numRows, numColumns)
Returns a matrix of integers between -9 and 9
of the specified dimension.
Both arguments must simplify to integers.
randNorm ()
MATH/Probability menu
randNorm(mean, sd)
Returns a decimal number from the specific
normal distribution. It could be any real
number but will be heavily concentrated in
the interval [
randPoly ()
MATH/Probability menu
randPoly(var, order)
Returns a polynomial in
order. The coefficients are random integers
in the range ë 9 through 9. The leading
coefficient will not be zero.
must be 0–99.
order
RandSeed
MATH/Probability menu
RandSeed number
If
number
defaults for the random-number generator. If
ƒ 0, it is used to generate two seeds,
number
which are stored in system variables
and
seed2
RclGDB
CATALOG
RclGDB GDBvar
Restores all the settings stored in the Graph
database variable
For a listing of the settings, see
Note: It is necessary to have something
saved in
488
Appendix A: Functions and Instructions
n
matrix
expression
-3ù
,
+3ù
mean
sd
mean
expression
of the specified
var
= 0, sets the seeds to the factory
.
.
GDBvar
StoGDB
before you can restore it.
GDBvar
RandSeed 1147 ¸
rand() ¸
rand(6) ¸
].
n
rand(ë 100) ¸
,ë 1].
RandSeed 1147 ¸
randMat(3,3) ¸
Note: The values in this matrix will
change each time you press ¸.
RandSeed 1147 ¸
randNorm(0,1) ¸
randNorm(3,4.5) ¸
].
sd
RandSeed 1147 ¸
randPoly(x,5) ¸
RandSeed 1147 ¸
rand() ¸
seed1
RclGDB GDBvar ¸
.
(Sets the random-number seed.)
8 ë 3
ë 2
0
ì3.543...
ë 2ø x
ì 6ø x
5
+3ø x
4
3
+4ø xì 6
Done
.158...
5
ë 49
Done
6
3 ë 6
4 ë 6
Done
.492...
Done
Done
.158...
Done

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti-92 plusTi-92 plus

Table of Contents