AgivenG | R Documentation |
Compute A given G
AgivenG(
G,
n,
i,
frequency = c("annual", "semiannual", "quarter", "bimonth", "month", "daily")
)
G |
numeric vector that contains the gradient 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)] |
A = G\left[\frac{1}{i} - \frac{n}{\left(1 + i\right)^n - 1}\right]
the "uniform series amount (occurs at the end of each interest period)"
the "uniform gradient amount"
the "effective interest rate per interest period"
the "number of interest periods"
AgivenG numeric vector that contains the annual value(s) rounded to 2 decimal places
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 142, 150, 152-154, 164, 166-167.
library(iemisc)
# Example 4-20 from the Reference text (pages 153-154)
AgivenG(1000, 4, 15, "annual") # the interest rate is 15\%
# Example 4-31 from the Reference text (pages 166-167)
AgivenG(1000, 4, 20, "semiannual") # the nominal interest rate is 20\% compounded semiannually
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.