Orion TI-
30XS MultiView™ User’s Guide - User guide
Version 1.0
Orbit Research
Confidential and Proprietary Information
35
3.25 Probability
prb
This key displays two menus: PRB and RAND.
PRB
contains the following options:
nPr
Calculates the number of possible
permutations
of
n
items taken
r
at a
time, given
n
and
r
. The order of objects is important, as in a race.
nCr
Calculates the number of possible
combinations
of
n
items taken
r
at a
time, given
n
and
r
. The order of objects is not important, as in a hand of
cards.
!
A
factorial
is the product of the positive integers from 1 to
n
.
n
must be a
positive whole number ≤ 69.
RAND
contains the following options:
rand
Generates a random real number between 0 and 1. To control a
sequence of random numbers, store an integer (seed value) ≥ 0 to
rand
. The seed value changes randomly every time a random number
is generated.
randint(
Generates a random integer between 2 integers, A and B, where A ≤
randint ≤ B. Separate the 2 integers with a comma.
Examples
nPr
8
Result = 8
prb
,
1
Result = PBR 1:
3
,
enter
Result = 336
nCr
52
,
prb
,
2
,
5
,
enter
Result = 2598960
!
4
,
prb
,
3
,
enter
Result = 24
[sto right arrow]
rand
5
,
[sto right arrow], prb, right
arrow
Result = Rand 1:
1
,
enter
Result = 5
Rand
prb, right arrow
,
1
,
enter
Result =
0.000093165
Randint(
prb, right arrow
,
2
,
3
,
2nd, comma
,
5
,
), enter
Result = 5
Problem