Question

A = P \frac{i(1 + i)^n}{(1 + i)^n - 1}

          A = P \frac{i(1 + i)^n}{(1 + i)^n - 1}
        
A = P (i(1 + i)^n)/((1 + i)^n - 1)

Added by Mark P.

Close

Computer Science and Information Technology
Computer Science and Information Technology
Trishna Knowledge Systems 2018 Edition
AceChat toggle button
Close icon
Ace pointing down

Please give Ace some feedback

Your feedback will help us improve your experience

Thumb up icon Thumb down icon
Thanks for your feedback!
Profile picture
USE PYTHON!! Economic formulas are available to compute annual payments for loans. Suppose that you borrow an amount of money P and agree to repay it in n annual payments at an interest rate of i. The formula to compute the annual payment A is: A=P(i(1+i)^(n))/((1+i)^(n)-1) Write a program to compute A. Test it with P = $55,000 and an interest rate of .4667% (i = 0.056/12). Compute results for n = 12, 24, 36, 48, and 60 and display the results as a table with headings and columns for n and A. i(1+ i)n A= (1 + i)" - 1
Close icon
Play audio
Feedback
Powered by NumerAI
Kathleen Carty Danielle Fairburn
David Collins verified

Kalpaka M and 70 other subject AP CS educators are ready to help you.

Ask a new question

*

Labs

-

Want to see this concept in action?

NEW

Explore this concept interactively to see how it behaves as you change inputs.

View Labs

*

Key Concepts

-
Key Concept
Premium Feature
Explore the core concept behind this problem.
Play button
Key Concept
Premium Feature
Explore the core concept behind this problem.
Your browser does not support the video tag.

*

Recommended Videos

-
economic-formulas-are-available-to-compute-annual-payments-for-loans-suppose-that-you-borrow-an-amount-of-money-p-and-agree-to-repay-it-in-n-annual-payments-at-an-interest-rate-of-i-the-form-95877

Economic formulas are available to compute annual payments for loans. Suppose that you borrow an amount of money P and agree to repay it in n annual payments at an interest rate of i. The formula to compute the annual payment A is: A = P * i * (1 + i)^n / ((1 + i)^n - 1) Write an M-file to compute A. Test it with P = $100,000 and an interest rate of 3.3% (i = 0.033). Compute results for n = 1, 2, 3, 4, and 5 and display the results as a table with headings and columns for n and A.

Kalpaka M.

use-python-1-write-a-complete-program-to-calculate-the-number-of-months-it-will-take-to-pay-off-a-loan-accept-as-input-the-loan-amount-interest-rate-and-monthly-payment-interest-is-calculate-93824

Write a complete program to calculate the number of months it will take to pay off a loan. Accept as input the loan amount, interest rate, and monthly payment. Interest is calculated on a monthly basis and is based on how much of the loan is outstanding at that time. The interest rate provided as input is a yearly interest rate, so when calculating interest for the month, remember to divide the interest rate by 12. Sample test run: Enter loan amount (dollars only): 10000 Enter yearly interest rate charged (i.e. 8.5): 5 Enter monthly payment (dollars): 500 Loan amount: $10000.0 It will take 21 months to pay when paying $500 per month Total amount paid: $10536.825 Note: The program must generate an error message in the case where the specified monthly payment is not sufficient to ever pay off the loan.

Supreeta N.

develop-and-test-a-python-program-that-calculates-the-monthly-mortgage-payments-for-a-given-loan-amount-term-number-of-years-and-range-of-interest-rates-from-3-to-18-the-fundamental-formula-1015

Develop and test a Python program that calculates the monthly mortgage payments for a given loan amount, term (number of years) and range of interest rates from 3% to 18%. The fundamental formula for determining this is A/D, where A is the original loan amount, and D is the discount factor. The discount factor is calculated as, D = ((1 + r)^n - 1) / (r(1 + r)^n) where n is the number of total payments (12 times the number of years of the loan) and r is the interest rate, expressed in decimal form (e.g., .05), divided by 12. A monthly payment table should be generated as shown below, Loan Amount: $350,000 Term: 30 years Interest Rate Monthly Payment 3% 1475.61 4% 1670.95 5% 1878.88 6% 2098.43 . . . . 18% 5274.80 Check your results with an online mortgage calculator.

Sri K.


*

Recommended Textbooks

-
Computer Science and Information Technology

Computer Science and Information Technology

Trishna Knowledge Systems 2018 Edition
achievement 1,560 solutions
Introduction to Programming Using Python

Introduction to Programming Using Python

Y. Daniel Liang 1st Edition
achievement 1,239 solutions
Computer Science - An Overview

Computer Science - An Overview

Glenn Brookshear, Dennis Brylow 12th Edition
achievement 1,136 solutions

*

Transcript

-
00:01 In the question they given formula of annual payment.
00:11 Here we have to denote annual payment is a.
00:16 A equal to p multiplies i of 1 plus i hold to the power of n divided by 1 plus i hold to the power of n minus 1.
00:30 It is the formula of annual payment.
00:33 Here we have to find out annual payment a.
00:45 First we have to write the program and run the program.
00:49 We have annual payment.
00:52 First we have to write p equal to in the formula p is borrowed amount of money.
01:00 So we have to enter input.
01:08 First we have to write input enter borrowed amount of money.
01:31 Next we can take i.
01:34 Here i is annual interest rate.
01:39 So we can write the program input of enter annual interest rate.
01:53 0 minus 1 is the annual interest rate.
02:00 Next we can take n.
02:03 Here n is the number of years.
02:06 So we can write the program input of enter number of years.
02:25 Now we can write the formula.
02:28 The formula of annual payment is a equal to.
02:32 In this program we can write the formula in this way...
Need help? Use Ace
Ace is your personal tutor. It breaks down any question with clear steps so you can learn.
Start Using Ace
Ace is your personal tutor for learning
Step-by-step explanations
Instant summaries
Summarize YouTube videos
Understand textbook images or PDFs
Study tools like quizzes and flashcards
Listen to your notes as a podcast
Continue solving this problem
Create a free account to:
  • View full step-by-step solution
  • Ask follow-up questions with Ace AI
  • Save progress and study later
Continue Free
Join the community

18,000,000+

Students on Numerade


Trusted by students at 8,000+ universities

Numerade

Get step-by-step video solution
from top educators

Continue with Clever
or



By creating an account, you agree to the Terms of Service and Privacy Policy
Already have an account? Log In

A free answer
just for you

Watch the video solution with this free unlock.

Numerade

Log in to watch this video
...and 100,000,000 more!


EMAIL

PASSWORD

OR
Continue with Clever