Difference between revisions of "NPr Command"
From GeoGebra Manual
Line 1: | Line 1: | ||
− | + | <noinclude>{{Manual Page|version=4.2}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude>{{betamanual|version=4.2}} | |
− | <noinclude>{{Manual Page|version=4. | ||
{{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 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 17:31, 12 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 of r elements out of a list of n elements.
- Example:
NPr[10, 2]
yields 90.