Question: calculator will compute the fixed monthly payment required to pay off a mortgage over a specified term, given the initial loan amount, interest rate, and
calculator will compute the fixed monthly payment required to pay off a mortgage over a specified term,
given the initial loan amount, interest rate, and term length.
Background
A mortgage is a loan used to purchase a property, with the property itself serving as collateral. The
borrower makes regular payments, typically monthly, to the lender over a fixed period the mortgage
term The fixed monthly payment required to pay off the mortgage depends on several factors:
: The initial principal or value of the loan.
: The annual interest rate expressed as a decimal, eg for
c: monthly interest rate. The monthly interest rate, calculated as
: The term of the mortgage in months eg years months
The formula to compute the fixed monthly payment is the derivation of which can be found here.
Task
Design the Mortgage Calculator:
Write a Python program that prompts the user to input the initial loan amount the annual
interest rate and the mortgage term in years.
Convert the annual interest rate to a monthly interest rate and the mortgage term in years
to the term in months
Implement the formula provided above to calculate the fixed monthly payment
Test the Calculator:
Ensure that your program correctly computes the monthly payment for different inputs. Test
with various loan amounts, interest rates, and terms.
Documentation and User Interface:
Provide clear documentation within your code to explain how each part of the program works.
Design the user interface inputoutput prompts to be userfriendly and informative.
Discussion:
After completing the implementation, write a brief reflection on how the mortgage payment
is affected by changes in the interest rate, loan amount, and mortgage term. Discuss any
challenges you encountered during the implementation process and how you overcame them.
Deliverables:
A Python script named mortgagecalculator. ipynb that performs the required computations.
Evaluation Criteria: Your submission will be evaluated based on the following criteria:
Correctness: The program accurately calculates the monthly mortgage payment based on the
provided inputs.
Code Quality: The code is wellorganized, clearly documented, and follows good programming
practices.
User Interface: The program is userfriendly and
provides clear instructions and output. How do i put this into jupyter?!?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
