Implementing the program for carrying out the calculation

Assignment Help Computer Engineering
Reference no: EM1319637

Assume you wish to deposit a particular amount of money into the saving account, and then leave it alone in order to draw the 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 in order to make that happen? You may utilize the following formula that is known as the present value formula, to determine:

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

Where:

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

Write down a program that has a function named presentValue which carry out this calculation. The function must accept the future value, annual interest rate, and number of years as arguments. It must return the present value, which is the amount that you required to deposit today. Demonstrate the function in the program that lets user experiment with several values for the formula’s terms.

Reference no: EM1319637

Questions Cloud

Evaluating probability that patient will take drug : Evaluate the probability that patient taking drug will experience flu symptoms.
Developing the circuitry for class project : If number is divisable by 4 or 5, number has to be a multiple of 2 in order to generate an output. If the number is devisable by 3, it has to be a multiple of 3 and 5 to generate an output.
Determining standard deviation for number of actual voters : Determine the mean and standard deviation for number of actual voters in groups of 1002.
Probability based on bivariate normal distribution : Suppose that a model for the joint distribution of these rvs is a bivariate normal distribution.
Implementing the program for carrying out the calculation : Write down a program that has a function named presentValue which carry out this calculation. The function must accept the future value, annual interest rate, and number of years as arguments.
Evaluating probability of getting opposed in survey : Suppose that 50% of all people are opposed, evaluate probability of getting at least 89% opposed in survey of 1012 randomly selected people.
Objective questions based on regression : Objective questions based on regression
Xbar distribution of sample means : If random sample of size n = 16 are selected, can we say anything about the xbar distribution of sample means?
Standardized test is randomly selected for probability : A student with a 3.5 to 4 grade point average who took standardized test is randomly selected. Determine the probability that students test score is less than 36.

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