ngivenPFi | R Documentation |
Compute n given P, F, and i
ngivenPFi(P, F, i)
P |
numeric vector that contains the present value(s) |
F |
numeric vector that contains the future value(s) |
i |
numeric vector that contains the interest rate(s) as a percent |
n is expressed as
n = \frac{\log \left(\frac{F}{P}\right)}{\log \left(1 + i\right)}
the "number of interest periods"
the "future equivalent"
the "present equivalent"
the "effective interest rate per interest period"
n numeric vector that contains the period value(s)
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 129, 142.
# Example for equation 4-7 from the Reference text (page 142)
library(iemisc)
ngivenPFi(P = 500, F = 1000, i = 15)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.