Financial Toolbox    

Annuities

Several toolbox functions deal with annuities. This first example shows how to compute the interest rate associated with a series of loan payments when only the payment amounts and principal are known. For a loan whose original value was $5000.00 and which was paid back monthly over four years at $130.00/month

The function returns a rate of 0.0094 monthly, or approximately 11.28% annually.

The next example uses a present-value function to show how to compute the initial principal when the payment and rate are known. For a loan paid at $300.00/month over four years at 11% annual interest

The function returns the original principal value of $11,607.43.

The final example computes an amortization schedule for a loan or annuity. The original value was $5000.00 and was paid back over 12 months at an annual rate of 9%.

This function returns vectors containing the amount of principal paid,

the amount of interest paid,

the remaining balance for each period of the loan,

and a scalar for the monthly payment.


  Depreciation Pricing and Computing Yields for Fixed-Income Securities