How much of the monthly payment is applied to the interest

Assignment Help Programming Languages
Reference no: EM13935632

Write a function that prints a loan amortization table (principal, interest rate, and number of months) are provided via form elements. The principal amount and interest rate should be entered through a text box. However, the number of months should be entered through a drop down list containing the values 12, 24, 36, 48, and 60. A button to perform the calculation should be created, and the inputs should be grouped in a field set. When the button is pressed, a HTML <div> element should be updated to hold the table.

The input parameters are a loan amount (floating point), an interest rate (floating point), and a number of months for payoff (integer). The function should return a string containing an HTML table.

You will then calculate a monthly payment based on the following formula:

Where:

• M is the monthly payment

• P is the principal amount (the amount of the loan)

• r is the monthly interest rate (i.e. 1/12th of the annual interest rate)

• n is the number of payments (i.e. the number of months of the loan)

Furthermore, we can calculate how much of the monthly payment is applied to the interest, and how much is applied to the principal by the formula:

Where:

• i is the amount of interest

• P is the remaining principal amount

• r is the monthly interest rate

1093_b.png

Reference no: EM13935632

Questions Cloud

How useful was video to understanding organizational power : How useful was the video to you in understanding organizational power? What is your impression of Dr. Pfeffer's speaking and presentation style? Does he project "expert power" in his presentation
Do you think piedmont will overestimate npv of the project : The components produced are to be exported to Piedmont's headquarters in Italy, where they will be used in the production of computers. Do you think Piedmont will overestimate or underestimate the net present value of this project
Hr systems in the context of the workplace : What are the key strengths and limitations of the two HR systems in the context of the workplace?
Impact of tourism development in the precinct : This assignment requires students to evaluate a precinct's ability to meet visitor needs. Key considerations include assessing whether visitor needs are met, identifying challenges and opportunities, and subsequently recommending strategies for en..
How much of the monthly payment is applied to the interest : The input parameters are a loan amount (floating point), an interest rate (floating point), and a number of months for payoff (integer). The function should return a string containing an HTML table.
Briefly describe the methods used by bacteria and fungi : Briefly describe the methods used by bacteria and fungi to tolerate environmental heavy metals. Include references and your views on the potential commercial applications of bacteria and fungi.
Why only eukaryotic cells evolved in multicellular organisms : Bacteria never form any sort of grouping that resembles a multicelled organism with an internal division of labor among its cells. Think about the attributes of prokaryotic bacterial cells and the eukaryotic cells of which all multicellular organi..
What factor did pepsico likely consider in deriving its rate : What factors did PepsiCo likely consider in deriving its required rate of return on the project in Brazil? Describe the uncertainty that surrounds the estimate of future cash flows from the perspective of the US parent.
Does the political action violate individual rights : All organizations have internal politics. However, most organizations keep their political battles private and it is rare that the public will know the details about political intrigue within the major corporations. Does the political action viola..

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd