powered by
Amount of principal and interest payments on a mortgage.
mortgage(balance, interest, term = 30, n = 12)
Amount of principal and interest payments.
Initial mortgage balance.
Interest rate.
Payoff period (in years).
Number of payments per year.
Calculates the amount of principal and interest payments on a mortgage.
mortgage(balance = 300000, interest = .05) mortgage(balance = 300000, interest = .04) mortgage(balance = 300000, interest = .06) mortgage(balance = 300000, interest = .05, term = 15)
Run the code above in your browser using DataLab