Difference between revisions of "NPr Command"
From GeoGebra Manual
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version=4.2}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude> | + | <noinclude>{{Manual Page|version=4.2}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude> |
{{command|probability}} | {{command|probability}} | ||
;nPr [<Number n>, <Number r>] | ;nPr [<Number n>, <Number r>] |
Revision as of 10:32, 21 December 2012
- nPr [<Number n>, <Number r>]
- Returns the number of possible permutations without repetition of r elements out of a list of n elements.
- Example:
nPr[10, 2]
yields 90.
CAS Syntax
- nPr [<Number n>, <Number r>]
- Returns the number of possible permutations without repetition of r elements out of a list of n elements.
- Example:
nPr[10, 2]
yields 90.
- Example:
nPr[n, 3]
yields n³ - 3n² + 2n.
Note: See also BinomialCoefficient command.