124 Alphabetical Listing
nPr()
Catalog >
nPr(Expr1, Expr2) ⇒ expression
For integer Expr1 and Expr2 with Expr1 ≥
Expr2 ≥ 0, nPr() is the number of
permutations of Expr1 things taken Expr2
at a time. Both arguments can be integers
or symbolic expressions.
nPr(Expr, 0 ⇒ 1
nPr(Expr, negInteger) ⇒ 1 / ((Expr+1)•
(Expr+2) ... (expression−negInteger))
nPr(Expr, posInteger) ⇒ Expr•(Expr−1) ...
(Expr−posInteger+1)
nPr(Expr, nonInteger) ⇒ Expr! /
(Expr−nonInteger)!
nPr(List1, List2) ⇒ list
Returns a list of permutations based on the
corresponding element pairs in the two
lists. The arguments must be the same size
list.
nPr(Matrix1, Matrix2) ⇒ matrix
Returns a matrix of permutations based on
the corresponding element pairs in the two
matrices. The arguments must be the same
size matrix.
npv()
Catalog >
npv(InterestRate,CFO,CFList[,CFFreq])
Financial function that calculates net
present value; the sum of the present
values for the cash inflows and outflows. A
positive result for npv indicates a profitable
investment.
InterestRate is the rate by which to
discount the cash flows (the cost of money)
over one period.
CF0 is the initial cash flow at time 0; it
must be a real number.
CFList is a list of cash flow amounts after
the initial cash flow CF0.