Questionassume you want to deposit a certain amount of

Assignment Help Computer Engineering
Reference no: EM13349511

Question

Assume you want to deposit a certain amount of money into a saving account, and then leave it alone to draw interest for next 10 years. At the end of 10 years you would like to have $10,000 in the account. How much do you require to deposit today to make that happen? You can use following formula, which is known as the present value formula, to find out-

P= F/(1/+r)^n

The terms in the formula are-

P is present value, or the amount that you want to deposit today. F is the future value that you want in account. (In this case, F is $10,000.)r is the annual interest rate (expressed in decimal form) n is number of years that you plan to let the money sit in the account.

Write down a program that has a function named presentValue that performs this calculation. The function has to accept the future value, annual interest rate, and number of years as arguments. It should return the present value that is the amount that you need to deposit today. Show the function in a program that lets user experiment with different values for the formula's terms.

Reference no: EM13349511

Questions Cloud

Questionget the cylinder class from the base circle class : questionget the cylinder class from the base circle class. suppose the circle class has a protected member variable
Question the lbj company has budgeted sales revenues as : question the lbj company has budgeted sales revenues as given.aprilnbspnbspnbspnbspnbspnbsp maynbspnbspnbspnbspnbsp
Questionsome of your friends work on wireless networks and : questionsome of your friends work on wireless networks and theyre at present studying the properties of a network of n
Question show the fund or nonfund accounts that should be : question show the fund or nonfund accounts that should be used to account for each of the subsequent1. tax revenues
Questionassume you want to deposit a certain amount of : questionassume you want to deposit a certain amount of money into a saving account and then leave it alone to draw
Question 1 a portion of the net fixed manufacturing : question 1. a portion of the net fixed manufacturing overhead cost incurred throughout a period cana. be excluded from
Question1 prove that it is impossible to extend a : question1. prove that it is impossible to extend a comparison-based implementation of the priority queue adt in which
Question hungry and feed foundation is a non-profit : question hungry and feed foundation is a non-profit organization that has a cost of capital of 10 . the foundation is
Questionwhen running snort ids why may there be no alertsif : questionwhen running snort ids why may there be no alerts?if we only went to a few web sites why are there so several

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