Question: Please do on Matlab and follow instructions and do not do a function inside a function use this function Write a function that takes the
Write a function that takes the following input (either as arguments or via input statments): Initial Loan Value ($): Monthly Payment ($): Interest rate (%/yr): The month in which the Refi will happen (#): The new Interest rate (%/yr): The function should return the following values: Total cost of the loan without Refl, Total cost of the loan with Refi, the difference in time for the two payment schemes in months. rr Write a function that takes the following input (either as arguments or via input statments): Initial Loan Value ($): Monthly Payment ($): Interest rate (%/yr): The month in which the Refi will happen (#): The new Interest rate (%/yr): The function should return the following values: Total cost of the loan without Refl, Total cost of the loan with Refi, the difference in time for the two payment schemes in months. rr
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
