Click or drag to resize
FinancePv 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 Pv(
	double rate,
	int nper,
	double pmt,
	double fv,
	FinancePeriod time
)

Parameters

rate
Type: SystemDouble
A double which specifies the interest rate per period.
nper
Type: SystemInt32
A int which specifies the number of periods.
pmt
Type: SystemDouble
A double which specifies the payment made each period.
fv
Type: SystemDouble
A double which specifies the annuity's value after the last payment.
time
Type: Imsl.FinanceFinancePeriod
The time in a Period when the payment is made (either AtEnd or AtBeginning).

Return Value

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

If {\it rate} = 0,


            {\it pv} + {\it pmt} \times {\it nper} + {\it fv} = 0

If {\it rate} \ne 0,


            {\it pv}(1 + {\it rate})^{\it nper}  + {\it pmt} \left[ {1 + {\it 
            rate} \left( {\it period} \right)} \right] {{(1 + {\it rate})^{\it 
            nper}  - 1} \over {\it rate}} + {\it fv} = 0

See Also