298 Appendix A: Function and Instruction Reference
73A-ENG.DOC AppxA: Function/Instruction Reference, English Julie Hewlett Revised: 07/29/98 1:10 PM Printed:
05/19/99 9:03 AM Page 298 of 36
mode(list[,freq])
-vMATH
Returns the mode (element which occurs most
frequently) of list. If a second list, freq, is specified, it
is interpreted as the frequency of the elements in the
first list. list and freq must have the same number of
elements.
mode({1,2,4,3,1,8})
b
{1}
MultiConst
-†
Selects the Multiple mode (affects the Set Constant
editor). Allows the user to access all defined
constants (as opposed to only one).
items nCr number
1PRB
Returns the number of combinations of n items taken
r number at a time. The order in which you select the
items DOES NOT matter. items and number can be
non-negative integers or lists.
If both arguments are lists, they must have the same
number of elements. If one argument is a list and the
other a non-list, the non-list is paired with each
element in the list, and list of combinations is
returned.
5 nCr 2 b10
5 nCr {2,4,6,8}
b
{10 5 0 0}
Normal
.
Selects the Normal Decimal Notation mode setting;
Displays results with digits to the left and right of the
decimal (as opposed to scientific notation).
123©M2 b1.23
items nPr number
1PRB
Returns the number of permutations of n items taken
r number at a time. The order in which you select the
items DOES matter. items and number can be
nonnegative integers or lists.
If both arguments are lists, they must have the same
number of elements. If one argument is a list and the
other a non-list, the non-list is paired with each
element in the list, and list of permutations is
returned.
5 nPr 2 b20
5 nPr {2,4,6,8}
b
{20 120 0 0}