Randint, Randint( randint( 1 – Texas Instruments TI-73 EXPLORER User Manual
Page 56
50
Chapter 2: Math Operations
7302ENG.DOC CH2 Math Operations, English Julie Hewlett Revised: 07/29/98 11:58 AM Printed: 05/19/99 8:58
AM Page 50 of 32
Generate a sequence of random numbers using whatever value
happens to be the current seed.
: 1 " "
1
b b b
Generate a sequence of random numbers using seed=1.
:
1
X 1 "
"
1
b 1 " "
1
b b
randInt(
randInt( 1
"
"
2
2
Generates a random integer between lower and upper (both
integers) boundaries.
The random integer returned may be one of the boundaries.
For example,
randInt(1,5)
may return 1, 2, 3, 4, or 5.
To generate more than one random integer, specify
#ofIntegers, a positive whole number >0.
randInt(
lower,upper[,#ofIntegers]
)
Find a random integer from 2 through 10.
: 1 " "
2
2
¡
1 0
E b
Find 4 random integers from 2
through 10. (Recall and edit the
last entry.)
- £ ! ¡
4
E
b
³
³
³
³
Your result
may vary.
Your result may
vary.
Your results
may vary.