tmval.Annuity.sv

Annuity.sv()[source]

Calculates the accumulated value of the annuity. The formula used to calculate the accumulated value will depend on the type of annuity that gets inferred from the arguments provided to the parent class. Several classes of annuities come with shortcut formulas which will be used in favor of the equation of value formula to improve computation speed:

  1. Annuity-immediate: \sx{\angln i}

  2. Annuity-due: \sx**{\angln i}

  3. Perpetuity-immediate: \sx{\angl{\infty} i}

  4. Perpetuity-due: \sx**{\angl{\infty} i}

  5. Arithmetically increasing annuity-immediate: (I_{P, Q} s)_{\angln i}

  6. Arithmetically increasing annuity-due: (I_{P, Q} \sx**{})_{\angln i}

  7. Arithmetically increasing perpetuity-immediate: (I_{P, Q} s)_{\angl{\infty} i}

  8. Arithmetically increasing perpetuity-due: (I_{P, Q} s)_{\angl{\infty} i}

  9. Geometrically increasing annuity-immediate

  10. Geometrically increasing annuity-due

  11. Geometrically increasing perpetuity-immediate

  12. Geometrically increasing perpetuity-due

Returns

The accumulated value of the annuity.

Return type

float