powered by
Calculates the present value of a future amount given an interest rate and number of periods.
calc_present_value(fv, rate, n)
Present value.
Future value.
Interest rate per period (decimal, e.g. 0.05 for 5%).
Number of periods.
calc_present_value(fv = 1100, rate = 0.10, n = 1) calc_present_value(fv = 1000, rate = 0.05, n = 5)
Run the code above in your browser using DataLab