Calculates maturity value for a specific amount when compounded at a specific rate of interest.