计算普通年金的终值和现值,支持期末年金
普通年金终值:FV = A × [(1+r)^n - 1] / r
普通年金现值:PV = A × [1 - (1+r)^(-n)] / r
其中A为每期金额,r为利率,n为期数。普通年金指期末收付的年金。