Question: please answer it using MATLAB ONLY. Thank you Q2: Economic formulas are available to compute annual payments for loans. Suppose that you borrow an amount

please answer it using MATLAB ONLY. Thank you

please answer it using MATLAB ONLY. Thank you Q2: Economic formulas are

Q2: Economic formulas are available to compute annual payments for loans. Suppose that you borrow an amount of money P and agree to repay it in n annual payments at an interest rate of i. The formula to compute the annual payment A is: A=P(1+i)n1i(1+i)n. Write an M-file to compute A. Test it with P=$100,000 and an interest rate of 3.3%(i=0.033). Compute results for n=1,2,3,4, and 5 and display the results as a table with headings and columns for n,A, and the total interest paid (nAP)

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!