Returns the net present value of a stream of equal periodic cash
flows, which are subject to a given discount rate.
Namespace: Imsl.FinanceAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntaxpublic static double Npv(
double rate,
double[] eqCashFlow
)
Public Shared Function Npv (
rate As Double,
eqCashFlow As Double()
) As Double
public:
static double Npv(
double rate,
array<double>^ eqCashFlow
)
static member Npv :
rate : float *
eqCashFlow : float[] -> float
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:
where
= the
th cash flow.
See Also