Texas Instruments TI-73 Car Stereo System User Manual


 
Chapter 2: Math Operations
49
7302ENG.DOC CH2 Math Operations, English Julie Hewlett Revised: 07/29/98 11:58 AM Printed: 05/19/99 8:58
AM Page 49 of 32
The 1
PRB Menu
The 1
PRB
(probability) menu lets you select functions
that are often used to calculate probabilities.
1""
1:rand
Generates a random number between 0 and 1.
2:randInt(
Generates a random integer between two values.
3:nPr
Calculates the number of permutations for a group
of items.
4:nCr
Calculates the number of combinations for a group
of items.
5:!
Calculates the factorial of a positive integer.
6:coin(
Simulates one or more coin tosses.
7:dice(
Simulates one or more dice rolls.
rand rand 1
"
"
1 1
Generates a random real number between 0 and 1
(0<number<1).
rand
takes no arguments.
rand
If you want to control a sequence of random numbers, first
store an integer seed value to
rand
. The calculator generates
a specific sequence of random numbers from each seed value.
To get a different sequence, use a different seed value. The
default seed value is 0.
seed X
rand