Difference between revisions of "NPr Command"
From GeoGebra Manual
(added missing description) |
|||
Line 4: | Line 4: | ||
;nPr [<Number n>, <Number r>] | ;nPr [<Number n>, <Number r>] | ||
:Returns the number of possible permutations of ''r'' elements out of a list of ''n'' elements. | :Returns the number of possible permutations of ''r'' elements out of a list of ''n'' elements. | ||
+ | :{{example| 1=<div><code><nowiki>NPr[10, 2]</nowiki></code> yields ''90''.</div>}} |
Revision as of 11:52, 22 August 2011
This command works in CAS View only.
- nPr [<Number n>, <Number r>]
- Returns the number of possible permutations of r elements out of a list of n elements.
- Example:
NPr[10, 2]
yields 90.