powered by
Accumulated principal paid back at time n
princ_accum(s, r, t, n)
numeric value of accumulated paid principal
original loan amount
interest rate. Divide by 100 if in a percent and again by 12 if yearly
loan term in months
month to return value for
s <- 10000 r <- 5 / 100 / 12 t <- 60 n <- 5 princ_accum( s, r, t, n)
Run the code above in your browser using DataLab