Question: Your assignment is to write a function, extraPayments, that computes total number of monthly payments required to pay off the loan given the barrower makes
Your assignment is to write a function, extraPayments, that computes total number of monthly payments required to pay off the loan given the barrower makes one extra
payment per year ie once every months
The function accepts the following four scalar inputs in order:
The loan principal, amount of money barrowed
The annual interest rate
The loan term in years, number of years to payback the loan
The extra annual payment amount
Your function should output the following two scalar values in order:
The total interest paid over the duration of the loan
The number of months saved from the original term due to the extra annual payment
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
