Question: this is matlab. please solve the question below with all the assessments passed correctly. the 4 assessments are below LoanPrincipal=150000 heres the question here are



Loan Payment - total interest paid over term (multistep calculation in script) 1 solution submitted (max: Unlimited) View my solutions For a term loan with initial principal (total loan amount) value of P, the monthly payment can be computed with the formula IP(1 +1 Where is the monthly interest rate (decimal value), computed from an annual rectocimal value not percent) as i=r/12 and n is the number of months in the form of the loan. The total interest paid T over the full form of the loan is then TAN-P Write a script to determine the total interest paid over the full term of a loan for the collowing two cases: 1. Annual interest percentage rate of = 425% and a 20 year term. Assign the calculated monthly payment to the variable Payment20year. Assign the total interest paid to a variable named Interest 20year. 2. Annual interest percentage rate of r = 4.875% and a 90 year term. Assign the calculated monthly payment to the variable Payment3@year Assign the total interest paid to a variable named Interest 30year Code has already been provided to assign the value of the loan principal and assign it to the variable LoanPrincipal. Do not assign a new value to LoanPrincipal in your script Is the calculated monthly payment correct for the 20 year loan? (Pretest) The submission must contain a variable named Payment20year. Verity that you have used the correct formula from the problem statomont Check spelling, capitalization and order of operation Verity that you converted the given annual percentage rate to a monthly decimal rate. Is the calculated total interest correct for the 20 year loan? Is the calculated monthly payment correct for the 30 year loan? Is the calculated total interest correct for the 30 year loan? Output Code ran without output. For a term loan with initial A = iP(1 + i)" (1 + i)" 1 Loan Payment - total interest paid over term (multistep calculation in script) 1 solution submitted (max: Unlimited) View my solutions For a term loan with initial principal (total loan amount) value of P. the monthly payment can be computed with the formula Where is the monthly interest rate (decimal value), computed from an annual rato (decimal value not percent) as Y = 7/12, and is the number of months in the form of the loan. The total interest paid T over the full term of the loan is then TAP Write a script to determine the total interest paid over the full term of a loan for the following two cases 1. Annual interest percentage rate of 4.255 and a 20 year form. Assign the calculated monthly payment to the variable Payment2@year. Assign the total interest pard to a variable named Interest20year. 2. Annual interest percentage rate of r=48754 and a 30 year term. Assign the calculated monthly payment to the variable Paynent3&year. Assign the total interest paid to a variable named Interest 30year Code has already been provided to asean the value of the loan principal and assign it to the variable LoanPrincipal. Do not assign a new value to LoanPrincipal in your script Reset MATLAB Documentation Script 1 befine loan principal LoanPrincipal = 150000; Is the calculated monthly payment correct for the 20 year loan? (Pretest) The submission must contain a variable named Payment20year. Verily that you have used the correct formula from the problem statement. Check speling, capitalization, and order of operations. Verity that you converted the given annual percentage rate to a monthly decimal rate. Is the calculated total interest correct for the 20 year loan? Is the calculated monthly payment correct for the 30 year loan? Is the calculated total interest correct for the 30 year loan
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
