FgivenA: Future value given Annual value (Engineering Economics)
Description
Compute F given A
Usage
FgivenA(A, n, i, frequency = c("annual", "semiannual", "quarter", "bimonth",
"month", "daily"))
FA(A, n, i, frequency = c("annual", "semiannual", "quarter", "bimonth",
"month", "daily"))
Arguments
A
numeric vector that contains the annual 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
FgivenA numeric vector that contains the future value(s) rounded to
2 decimal places
FA data.frame of both n (0 to n) and the resulting future values
rounded to 2 decimal places
the "uniform series amount (occurs at the end of each
interest period)"
i
the "effective interest rate per interest period"
n
the "number of interest periods"
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 131-132, 142, 164.
# NOT RUN {library(iemisc)
# Example 4-7 from the Reference text (page 131-132)FgivenA(23000, 40, 6, "annual") # the interest rate is 6%FA(23000, 40, 6, "annual") # the interest rate is 6%# }