Learn R Programming

iemisc (version 0.5.0)

PgivenF: Present value given Future value (Engineering Economics)

Description

Compute P given F

Usage

PgivenF(F, n, i, frequency = c("annual", "semiannual", "quarter", "bimonth",
  "month", "daily"))

PF(F, n, i, frequency = c("annual", "semiannual", "quarter", "bimonth", "month", "daily"))

Arguments

F
numeric vector that contains the future value(s)
n
numeric vector that contains the period value(s)
i
numeric vector that contains the interest rate(s) as a percent
frequency
character vector that contains the frequency used to obtain the number of periods [annual (1), semiannual (2), quarter (4), bimonth (6), month (12), daily (365)]

Value

  • PgivenF numeric vector that contains the present value(s) rounded to 2 decimal places

    PF data.frame of both n (0 to n) and the resulting present values rounded to 2 decimal places

encoding

UTF-8

Details

P is expressed as

$$P = F\left[\frac{1}{\left(1 + i\right)^n}\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 128, 142, 164.

Examples

Run this code
library(iemisc)
# Example 4-4 from the Reference text (page 128)
PgivenF(10000, 6, 8, "annual") # the interest rate is 8\%

PF(10000, 6, 8, "annual") # the interest rate is 8\%

Run the code above in your browser using DataLab