back to Command Reference
[All Models]
Returns the permutation nPr for the values of n and r.
NPR ( n value , r value )
└──┬──┘ └──┬──┘
Numeric expression Numeric expression
X = NPR(69, 20)
10 N=10 : P=5
20 X = NPR(N, R)
30 PRINT X
Calculates 10P5 and displays the result.