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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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