 i need it in Matlab

2. This problem looks at the loans and the money the borrower will owe to the bank(s). Loans rates could vary from 2% (hard to find) to 25% (credit cards, not hard to find). The loan can be evaluated by the following formula A = P(1+R/100) where A is the amount you will owe after “n” years with the principal money “P” borrowed from the bank. R is the interest rate. a) Make a surface plot (lecture 11) of A where the x axis is the Principal Value P and y axis is the interest rate R. The z axis should be the value for A. Assume that n =10,P = 10000:1000:100000, R = 2:1:25 b) Now that you did part a, make a function that gets two vectors of P and R and a scalar n to generate the surface plot described in part a. Name the function “My_loan”. The function should only create the surface plot; it should not write anything to the command window. Run it for the same values used in part a. Hint: your function’s first line should look something like: function t=My_Loan(P.R.n) c) Based on figure generated on part b, how much will someone owe if they got a \$60000 loan with interest rate of 15% after 10 years?Show this plot to your friends and educate them on this matter.