PgivenAcont | R Documentation |
Compute P given A with interest compounded continuously
PgivenAcont(A, n, r)
A |
numeric vector that contains the annual value(s) |
n |
numeric vector that contains the period value(s) |
r |
numeric vector that contains the continuously compounded nominal annual interest rate(s) as a percent |
P is expressed as
P = A≤ft[\frac{e^{rn} - 1}{e^{rn}≤ft(e^{r} - 1\right)}\right]
the "present equivalent"
the "annual equivalent amount (occurs at the end of each year)"
the "nominal annual interest rate, compounded continuously"
the "number of periods (years)"
PgivenAcont numeric vector that contains the present value(s) rounded to 2 decimal places
Irucka Embry
William G. Sullivan, Elin M. Wicks, and C. Patrick Koelling, Engineering Economy, Fourteenth Edition, Upper Saddle River, New Jersey: Pearson/Prentice Hall, 2009, page 169.
library("iemisc") PgivenAcont(2000, 3, 12) # the interest rate is 12%
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.