Contents:
Calculate present value of ordinary annuity.
payment (float) – Periodic payment amount.
rate (float) – Interest rate per period (as decimal).
periods (int) – Number of periods.
Present value of ordinary annuity.
float
Examples
>>> ordinary_annuity_pv(1000, 0.05, 10) 7721.73