Texas TI-86 用户手册

下载
页码 431
342
     Chapter 20: A to Z Function and Instruction Reference
20ATOZ.DOC   TI-86, Chap 20, US English   Bob Fedorisko   Revised: 02/13/01 2:42 PM   Printed: 02/13/01 3:05 PM   Page 342 of 118
randInt(
MATH PROB menu
(randIn shows on menu)
randInt(
lower
,
upper
,
#ofTrials
)
Returns a list of random integers bound by the specified
integers, lower 
 integer  upper. The #ofTrials is an
integer 
‚ 1 that specifies the number of integers
returned in the list.
A seed value stored to 
rand
 also affects 
randInt(
.
1¶rand:randInt(1,10,3) b
{8 9 3}
randInt(
lower
,
upper
)
Returns a single random integer.
0¶rand:randInt(1,10) b
10
randM(
MATRX OPS menu
randM(
rows
,
columns
)
Returns a rows × columns matrix filled with random
one-digit integers (
L9 to 9).
0¶rand:randM(2,3) b
[[4  
L
2 0] 
[
L
7 8  8]]
randNorm(
MATH PROB menu
(randN shows on menu)
randNorm(
mean
,
stdDeviation
,
#ofTrials
)
Returns a list of random numbers from a normal
distribution specified by mean and stdDeviation. The
#ofTrials
 is an integer 
‚ 1 that specifies how many
numbers are returned. Each returned number could be
any real number, but most will be within the interval:
[mean
N3(stdDeviation), mean+3(stdDeviation)].
A seed value stored to 
rand
 also affects 
randNorm(
.
1¶rand:randNorm(0,1,3) b
{
L
.660585055265 
L
1.0…
randNorm(
mean
,
stdDeviation
)
Returns a single random number.
0¶rand:randNorm(0,1) b
L
1.58570962271