rate Function

Calculates the interest required for the current investment value to attain the future value over a certain number of periods.


real rate(
    real _future_value,
    real _current_value,
    real _terms)

Parameter

Description

_future_value

The future value of the investment.

_current_value

The current value of the investment.

_terms

The number of periods for which the investment spans.

The interest rate required for _current_value to reach _future_value over _terms periods.

// Returns the value 0.12.
rate(10000,1000,20);

Community Additions

ADD
Show: