igivenICPn | R Documentation |
Compute i given IC, n, and P
igivenICPn(P, IC, n = NULL, begin_event = NULL, end_event = NULL)
P |
numeric vector that contains the principal value |
IC |
numeric vector that contains the total amount of interest charged |
n |
numeric vector that contains the number of years |
begin_event |
character vector that contains the start date |
end_event |
character vector that contains the end date |
i is expressed as
i = {\frac{IC * 100}{P * n}}
the interest rate
the total amount of interest charged
the principal amount of the loan
the number of years
i numeric vector that contains the simple interest rate as a percent rounded to 2 decimal places
Irucka Embry
TN Code § 47-14-102 (2021). 2021 Tennessee Code – Title 47 - Commercial Instruments and Transactions – Chapter 14 - Interest Rates Generally – § 47-14-102. Definitions. See https://law.justia.com/codes/tennessee/2021/title-47/chapter-14/section-47-14-102/.
# Example 1
library(iemisc)
igivenICPn(P = 500, IC = 1000, n = 10)
# Example 2
library(iemisc)
igivenICPn(P = 500, IC = 1000, begin_event = "1 January 2020", end_event = "1 January 2030")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.