Click or drag to resize
FinanceNpv Method
Returns the net present value of a stream of equal periodic cash flows, which are subject to a given discount rate.

Namespace: Imsl.Finance
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
public static double Npv(
	double rate,
	double[] eqCashFlow
)

Parameters

rate
Type: SystemDouble
A double which specifies the interest rate per period.
eqCashFlow
Type: SystemDouble
A double array of equally-spaced cash flows.

Return Value

Type: Double
A double which specifies the net present value of the investment.
Remarks
It is found by solving the following:

\sum\limits_{i = 1}^{count} 
            {{{\it value}_i} \over {\left( {1 + {\it rate}} \right)}^i }

where {\it value}_i = the ith cash flow.

See Also