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

  Monitoring of patient vital signs using mobile computing

Compare and contrast the monitoring of patient vital signs utilizing the mobile computing technology to in-patient visits to the doctor’s office or hospital.

  How to create a set in third normal

How to create a set in third normal RESERVATION(reservation id, date of reservation, start date, end date, (( customer id, customer name, customer address, customer type, customer type description, ((customer preferences)), customer credit card n..

  Methods of defense and provide examples

Methods of defense and provide examples

  About snmp

What do you understand by the term SNMP? Explain the role which SNMP plays in managing the networks.

  Patent strategy contributing to succes of technology venture

Describe the ways by which an effective patent strategy contributes to success of technology venture? Answer should include at least 300 words. Also include references.

  How to redesign the coding design

How to redesign the coding design? Write down a sentence for each change you have optional, indicating what data entry problem (from part a) change will eliminate.

  How to create program that performs arithmetic function

How to create program that performs arithmetic function Prompt a user for values for the variables. Pass both variables to methods named sum() and difference().

  Write down a java program, which build a binary tree

Write down a java program, which build a binary tree

  Write a program that mimics a flop-turn-river of poker game

Write down a program that mimics a flop-turn-river of a poker game. I must have three buttons titled Deal, Shuffle and Start Over.

  Write proper sequence in design of a video rental database

Write proper sequence in design of a video rental database

  Write a java program on a good doctor

Write a java program on A good Doctor

  Identify and classify the it infrastructure components

Identify core and side business activities of UPS and explain how same are driven by technology, Identify and classify the IT infrastructure components available at UPS and its subsidiaries

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