subject

When you borrow money to buy a house, a car, or for some other purpose, then you typically repay it by making periodic payments. Suppose that the loan amount is L, r is the interest rate per year, m is the number of payments in a year, and the loan is for t years. Suppose that i = (r / m) and r is in decimal. Then the periodic payment is: R=Li/1-(1+i)-^mt
You can also calculate the unpaid loan balance after making certain payments. For example, the unpaid balance after making k payments is:
R=Li/1-(1+i)-^mt
where R is the periodic payment. (Note that if the payments are monthly, then m = 12.)
Instructions:
Write a program that prompts the user to input the values of L, P, M, t, and k. The program then outputs the appropriate values. Your program must contain at least two functions, with appropriate parameters, to calculate the periodic payments and the unpaid balance after Programming

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 03:30
Which group on the home tab allows you to add shapes to a powerpoint slide?
Answers: 1
question
Computers and Technology, 23.06.2019 00:20
Ihave been given the number of guns per 100, and the total firearm-related deaths per 100,000. i have to find the actual number of guns per country and actual number of gun-related deaths. if somebody could show me how to do 1 question, i can finish the rest, i am just confused. tia
Answers: 3
question
Computers and Technology, 23.06.2019 23:30
A. in packet tracer, only the server-pt device can act as a server. desktop or laptop pcs cannot act as a server. based on your studies so far, explain the client-server model.
Answers: 2
question
Computers and Technology, 24.06.2019 02:30
Which option completes the explanation for conflict of interest in an organization
Answers: 1
You know the right answer?
When you borrow money to buy a house, a car, or for some other purpose, then you typically repay it...
Questions
question
Spanish, 28.05.2021 16:10
question
Spanish, 28.05.2021 16:10
question
Mathematics, 28.05.2021 16:10
Questions on the website: 13722367