% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/chapter18_pensions.R
\name{AVz_dc}
\alias{AVz_dc}
\title{Accumulated value of defined contribution plan contributions}
\usage{
AVz_dc(x, z, Sx, c, i, g = NULL, s = NULL)
}
\arguments{
\item{x}{Entry age.}

\item{z}{Retirement age.}

\item{Sx}{Salary at age \code{x}.}

\item{c}{Contribution rate as a proportion of salary.}

\item{i}{Annual effective interest rate.}

\item{g}{Optional constant annual salary growth rate.}

\item{s}{Optional salary scale vector of length \code{z - x}.}
}
\value{
The accumulated value of contributions at age \code{z}.
}
\description{
Computes the accumulated value at retirement age \eqn{z} for the defined
contribution model in Equation (18.1).
}
\examples{
AVz_dc(x = 30, z = 65, Sx = 50000, c = 0.10, i = 0.05, g = 0.04)
}
