iemisc (version 0.9.8)

ngivenPFi: To Find i Given F, n, and P (Engineering Economics)

Description

Compute n given P, F, and i

Usage

ngivenPFi(P, F, i)

Arguments

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

Value

n numeric vector that contains the period value(s)

Details

n is expressed as

$$n = \frac{\log \left(\frac{F}{P}\right)}{\log \left(1 + i\right)}$$

n

the "number of interest periods"

F

the "future equivalent"

P

the "present equivalent"

i

the "effective interest rate per interest period"

References

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.

Examples

Run this code
# NOT RUN {
library("iemisc")
# Example for equation 4-7 from the Reference text (page
ngivenPFi(P = 500, F = 1000, i = 15)




# }

Run the code above in your browser using DataLab