Learn R Programming

iemisc (version 0.5.0)

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)

encoding

UTF-8

Details

n is expressed as

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

[object Object],[object Object],[object Object],[object Object]

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
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