Operation Manual

Chapter 2: Math, Angle, and Test Operations 64
MATH PROB (Probability) Operations
MATH PROB Menu
To display the MATH PROB menu, press  |.
Note: Use Catalog Help for more syntax help when needed.Select a menu item and then press à to go
to a syntax help editor (if the menu item is supported).
rand
rand (random number) generates and returns one or more random numbers > 0 and < 1. To generate a
list of random-numbers, specify an integer > 1 for numtrials (number of trials). The default for numtrials
is 1.
rand[(numtrials)]
Note: To generate random numbers beyond the range of 0 to 1, you can include
rand in an expression.
For example,
rand5 generates a random number > 0 and < 5.
Each
rand execution generates the same random-number sequence for a given seed value. The factory-
set seed value for
rand is 0. To generate a different random-number sequence, store any nonzero seed
value to rand. To restore the factory-set seed value, store 0 to rand or reset the defaults (Chapter 18).
Note: The seed value also affects
randInt(, randNorm(, randBin( and randIntNoRep( instructions.
nPr, nCr
nPr (number of permutations) returns the number of permutations of items taken number at a time.
items and number must be nonnegative integers. Both items and number can be lists.
MathPrint™:
Classic:
items nPr number
nCr (number of combinations) returns the number of combinations of items taken number at a time.
items and number must be nonnegative integers. Both items and number can be lists.
MATH NUM CMPLX PROB FRAC
1: rand
Random-number generator
* 2: nPr
Number of permutations
* 3: nCr
Number of combinations
*4:!
Factorial
5: randInt(
Random-integer generator
6: randNorm(
Random # from Normal distribution
7: randBin(
Random # from Binomial distribution
8: randIntNoRep(
Random ordered list of integers in a range
* FUNC shortcut menu ALPHA F2.