NCR - Calculate A Combination of N Things Taken R at A Time. in Combinations, Order Do Not Count
NCR - Calculate A Combination of N Things Taken R at A Time. in Combinations, Order Do Not Count
numbers),
choose some number and store it into Rand. (Ex: 150 STO rand).
2. nPr - calculate a permutation of n things taken r at a time. In permutations, order counts.
If you have 30 people in a club and you wish to choose a president, vice-president, secretary,
and treasurer, this would be a permutation of 30 things taken 4 at a time.
n!
(n ! r )!
* 3. nCr - calculate a combination of n things taken r at a time. In combinations, order do not count.
If you have 30 people in a club and you wish to choose a 4 officers with equal rank, this would
be a combination of 30 things taken 4 at a time.
n!
n!(n ! r ) !
form randNorm(
-5-
Stu Schwartz