Ask user for the mortgage amount he wishes to borrow

Assignment Help Computer Engineering
Reference no: EM132212258

Question :

Write a python code for the following problem and submit by uploading the code here by clicking on the Assg1 link. Your code must follow all the programming styles we discussed (such as block comment at the beginning, line comments as pseudo code, meaningful names for variables etc.)

Problem: Ask user for the mortgage amount (amount) he wishes to borrow, number of years (years) to clear the loan, the annual interest rate (rate). Then compute the monthly payment amount (payment) using the formula below. Then output the result as in the example below.

In order to use the formula below, first replace the rate with rate/1200 (in order to convert the annual percentage to monthly rate) and replace the years with years * 12.

Then the formula for the fixed monthly payment is given by: payment = amount [rate(1+rate)^years]/[(1+rate)^years - 1]

Note that the formula is written in Math notation and you need to convert it into proper Python syntax. Test your code with the following example output:

Loan Amount: $200000.00

Annual Interest Rate: 5%

Years to Clear: 20

Your Monthly Payment: $1319.91

This is all the information i was given for the question, anyone have any idea what to do?

Reference no: EM132212258

Questions Cloud

Write a python procedure to approximate gaussian function : Write a Python procedure to approximate the Gaussian function exp(-(x/3)2 ) in the range -8 ? +8 using Chebyshev polynomials.
Discuss the potential tax benefits for someone earning : Jake while talking to a friend (Max) at a party is informed about a topic called “negative gearing”. Tax advantages were discussed so Jake is seeking.
Create a valid html web page in the csc344 directory : Write a Python program that collects, summarizes, and e-mails all the programming assignments for this course.
Bring out the scope planning concepts : Summarise what each paper is about and how the two papers interrelate with each other, in matters of scope planning - Describe briefly the inferred scope
Ask user for the mortgage amount he wishes to borrow : Ask user for the mortgage amount (amount) he wishes to borrow, number of years (years) to clear the loan, the annual interest rate (rate).
How can a company possibly terminate an employee : Four states in our union have "legalized marijuana for recreational use"...Alaska, Colorado, Oregon and Washington. Furthermore, there are 19 other.
Write a python function which takes as input a simple graph : Write a python function largestComponent(G) which takes as input a simple graph G = (V,E) in an adjacency list format.
What are the internal and external factors : Clients' needs are not static: what are the internal and external factors that need to be identified and monitored to ensure clients financial objectives.
Write pseudocode and translate it to c-program : Write pseudocode and translate it to C-program for the following problem. Ask users to input a series of integers. The input will end with the number 0.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Find out the average amount of money

Find out the average amount of money that it has taken to do maintenance on each different model of jumbo jet (defined to be any airplane model whose capacity is at least 150).

  Prompts the user to enter a number n

Write a program which performs the following Prompts the user to enter a number N

  At sequence of events created the secure connection

Before you transfer your credit card number, the browser enters a secure connection. What sequence of events created the secure connection?

  Can you keep moving the mouse and the arms keep moving

Assume that the torso is fixed, and that the skeletons of upper arm and lower arm can move inside a plane that passes through the center of the torso.

  Write a program that will populate a queue with post-fix

Calculate values using the algorithm mentioned above and in the slides for addition, subtraction, multiplication, and division.

  What is the objective of unique labeling in real world

Why should labels be unique, what objective does unique labeling serve in real world? Why is assignment of accountability significant? What would be consequence of not having it?

  Why is the html formate especially suitable for web document

Why is HTTP called a stateless protocol? What is meant by the Keep-Alive feature? Why is the HTML formate especially suitable for Web documents?

  Discuss the application of the principles of generality

Discuss the application of the principles of generality and anticipation of change to the construction of specifications.

  Questionmodify this function to check to see if one list is

questionmodify this function to check to see if one list is a shallow copy of other.def firstmismatchlst1 lst2-list of

  Define a class and firewall

An implementation of the transmit method that assigns the first parameter to the destination instance variable and the second to the buffer variable.

  Create an application that lets the user enter a month

Create an application that lets the user enter a month (in numeric form), a day, and a two-digit year.

  Describing where physical security has failed

Assignment is to have you do more research on the physical security topic. In theory, everything may look straight forward, however.

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