Difference between revisions of "NPr Command"

From GeoGebra Manual
Jump to: navigation, search
Line 1: Line 1:
+
<noinclude>{{Manual Page|version=4.2}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude>{{betamanual|version=4.2}}
<noinclude>{{Manual Page|version=4.0}}</noinclude>
 
 
{{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 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.
© 2024 International GeoGebra Institute