Difference between revisions of "NPr Command"
From GeoGebra Manual
Line 2: | Line 2: | ||
{{command|CAS}} | {{command|CAS}} | ||
;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 without repetition of ''r'' elements out of a list of ''n'' elements. |
:{{example| 1=<div><code><nowiki>NPr[10, 2]</nowiki></code> yields ''90''.</div>}} | :{{example| 1=<div><code><nowiki>NPr[10, 2]</nowiki></code> yields ''90''.</div>}} |
Revision as of 11:51, 13 June 2012
This page is about a feature that is supported only in GeoGebra 4.2. |
This command works in CAS View only.
- 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.