Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please note that if n is in months, then r has to be the monthly rate. The monthly rate can be found by taking the

Please note that if n is in months, then r has to be the monthly rate. The monthly rate can be found by taking the annual percentage rate (APR) and dividing by 12.

a) Write a function payment that takes in PV, r, and n as inputs, and outputs the payment P.

b) Use the function you wrote above to create a loan amortization table. A loan amortization table will show how much principal is left after each payment and how much interest is paid with each payment. The columns should be principal paid, interest paid, cumulative principal, cumulative interest, and principal balance. So for the loan above, the amortization table would look like:

Principal Paid Interest Paid Cumulative Prin Cumulative Int Principle Balance

128.80 83.33 128.80 83.33 19871.20

matlab

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

How To Perform A Building Water Audit

Authors: Troy Aichele

1st Edition

1651578273, 978-1651578278

More Books

Students also viewed these Accounting questions