TI-89 / TI-92 Plus / Voyage™ 200 PLT Statistics with List Editor App † Calc Menu 107
randInt(
Description
† (
Calc) Æ 4:Probability Æ 5:randInt(
randInt( LOW,UP[,NUMTRIALS] ⇒ LIST
randInt( (random integer) generates and displays a LIST of random integers within a
range specified by LOW and UP integer bounds.
Note: If NUMTRIALS is omitted, this function returns a scalar value. If NUMTRIALS is provided, it
must be in the range {1,2, . . . ,999} and the function returns a list of length NUMTRIALS. If
NUMTRIALS = 1, a list with 1 element is returned.
Example
1. With the cursor in the name cell of an empty list (
list3), press † (Calc) and select
4:Probability. Then select 5:randInt(. The 5:randInt( function is displayed in the entry
line.
2. Enter the lower and upper bounds and the number of trials (1,20,50).
3. Press b to compute the data.
A list of 50 random integers with values between 1 and 20 is
generated and displayed in list3.