Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In python, To compute the monthly payment (which will always be the same throughout the loan) use the formula payment=monthlyRate * Principal/(1-(1+monthly Rate)-numberOfPayments) where, in
In python,
To compute the monthly payment (which will always be the same throughout the loan) use the formula payment=monthlyRate * Principal/(1-(1+monthly Rate)-numberOfPayments) where, in the previous example, montlyRate would be .09/12 With this understanding, write a program that asks for the principal, the annual rate (as a percent) and the number of payments for a loan. You will then print the monthly breakdown, in a beautifully formatted table like the following: Principal: 1000 Annual interest rate: 9 How many months is the loan? 6 Principal 1000.00 Annual Interest 9.0% Monthly Payment Term 171.07 6 months Payment w Interest 7.50 6.27 5.04 3.79 2.54 1.27 Pay to Principal 163.57 164.80 166.03 167.28 168.53 169.80 Balance 836.43 671.63 505.60 338.32 169.79 -0.01 Due: $-0.01 orStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started