Question: Please write a function in MATLAB that takes the input(via input statements): Initial Loan Value($), Monthly Payment($), Interest Rate(%/yr), the month which the Refi will

Please write a function in MATLAB that takes the input(via input statements): Initial Loan Value($), Monthly Payment($), Interest Rate(%/yr), the month which the Refi will happen(#), and the new interest rate(%/yr) and the function should return the Total cost of the loan without Refi and the total cost of the loan with Refi and the difference in time for the two payments schemes in months, please do as quick as possible and use loops and use the formula A(t)=Ao*e^(r*t)
Refi means refiance.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!