Texas Instruments TI-80 Calculator User Manual


 
11-2 Applications
The RANDINT( (random integer) function can be used for probability
experiments. RANDINT( takes two arguments that define a set of integers from
which to draw for the probability experiments below.
Using
RANDINT(
from the
MATH PRB
menu, devise
probability experiments that employ the toss of a coin, the roll
of two dice, and the spin of a wheel.
For the coin tossing experiment, enter
RANDINT(0,1)
from the
Home screen. 0 = tails and 1 = heads. Press
¸
repeatedly
to generate the coin tosses.
You can also write a simple program to display “heads” or
“tails” for each coin toss.
You can simulate the rolling of two dice by adding together
the result from each die after a roll. On the Home screen,
enter
RANDINT(1,6)+RANDINT(1,6)
and press
¸
repeatedly.
You can simulate spinning a wheel with the numbers 1 to 100
using the
RANDINT(
function. Enter
RANDINT(1,100)
on the
Home screen and press
¸
repeatedly.
Probability Experiments: Coins, Dice, and Spinners
Problem
Procedure