# pureendowment: Function to evaluate the pure endowment In spedygiorgio/lifecontingencies: Financial and Actuarial Mathematics for Life Contingencies

## Description

Function to evaluate the pure endowment

## Usage

 ```1 2``` ```Exn(actuarialtable, x, n, i = actuarialtable@interest, type = "EV", power = 1) ```

## Arguments

 `actuarialtable` An actuarial table object. `x` Age of the insured. `n` Length of the contract. `i` Interest rate (it overwrites the `actuarialtable` one) `type` A string, eithed "EV" (default value), "ST" (stocastic realization) or "VR" if the value of the variance is needed. `power` The power of the APV. Default is 1 (mean)

## Value

The APV of the contract

## Author(s)

Giorgio A. Spedicato

## References

Actuarial Mathematics (Second Edition), 1997, by Bowers, N.L., Gerber, H.U., Hickman, J.C., Jones, D.A. and Nesbitt, C.J.

`axn`, `Axn`
 ```1 2 3 4 5``` ```#assumes SOA example life table to be load data(soaLt) soa08Act=with(soaLt, new("actuarialtable",interest=0.06, x=x,lx=Ix,name="SOA2008")) #evaluate the pure endowment for a man aged 30 for a time span of 35 Exn(soa08Act, x=30, n=35) ```