Returns the interest payment for an investment for a given period.

Namespace: Imsl.Finance
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public static double Ipmt(
	double rate,
	int period,
	int nper,
	double pv,
	double fv,
	Finance..::.Period time
)
Visual Basic (Declaration)
Public Shared Function Ipmt ( _
	rate As Double, _
	period As Integer, _
	nper As Integer, _
	pv As Double, _
	fv As Double, _
	time As Finance..::.Period _
) As Double
Visual C++
public:
static double Ipmt(
	double rate, 
	int period, 
	int nper, 
	double pv, 
	double fv, 
	Finance..::.Period time
)

Parameters

rate
Type: System..::.Double
A double which specifies the interest rate.
period
Type: System..::.Int32
A int which specifies the payment period.
nper
Type: System..::.Int32
A int which specifies the total number of periods.
pv
Type: System..::.Double
A double which specifies the present value.
fv
Type: System..::.Double
A double which specifies the future value.
time
Type: Imsl.Finance..::.Finance..::.Period
The time of a Period when the payment is made (either AtEnd or AtBeginning).

Return Value

A double which specifies the interest payment for a given period for an investment.

Remarks

It is computed using the following:

\left\{ {{\it pv}\left( {1 + {\it rate}} 
            \right)^{{\it nper} - 1}  + {\it pmt} \left( {1 + {\it rate} \times 
            {\it period}} \right) {{{\left( {1 + {\it rate}} \right)^{{\it nper} 
            - 1} } \over {\it rate}}} } \right\} {\it rate}

See Also