Computes present value, future value, payments and years for annuity and annuity due.

ivt_annuity_pv(payment, rate, years)

ivt_annuity_fv(payment, rate, years)

ivt_annuity_due_pv(payment, rate, years)

ivt_annuity_due_fv(payment, rate, years)

ivt_annuity_payment_fv(future_value, rate, years)

ivt_annuity_payment_pv(present_value, rate, years)

ivt_annuity_years_fv(future_value, rate, payment)

ivt_annuity_years_pv(present_value, rate, payment)

Arguments

payment

Annuity payment.

rate

Interest/discount rate.

years

Number of years/annuity payments.

future_value

Future value of cash flow.

present_value

Present value of cash flow.

Examples

# present value of annuity ivt_annuity_pv(1000, 8, 5)
#> [1] 3992.71
# future value of annuity ivt_annuity_fv(950, 7.3, 6)
#> [1] 6847.208
# present value of annuity due ivt_annuity_due_pv(1000, 4.8, 5)
#> [1] 4562.487
# future value of annuity due ivt_annuity_due_fv(1000, 6.4, 3)
#> [1] 3400.646
# payments given present value ivt_annuity_payment_pv(546.15, 7.6, 6)
#> [1] 116.7108
# payments given future value ivt_annuity_payment_fv(941.56, 7.35, 5)
#> [1] 162.5892
# years given present value ivt_annuity_years_pv(454.89, 10, 120)
#> [1] 4.999938
# years given future value ivt_annuity_years_fv(610.51, 10, 100)
#> [1] 5