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

  Health care services

Compare and contrast the cost-effectiveness, benefit-cost, and cost-utility analysis and find which is most useful to assess value of the health care services overall.

  Discussing code segments

Consider the following declarations (that are used in order to process singly-linked lists as explained in this section).Explain what will be displayed by each of following code segments or discuss why an error occurs.

  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.

  Explaining arp command

The arp command: arp -s InetAddr EtherAddr enables you to manually add an entry to ARP cache which resolves the IP address InetAddr to the physical address EtherAddr.

  Object oriented design of a class

Object oriented design to develop a parent class known as Book which will receive the ISBN, author, title and price of book and select and print the details of all books with the price of more than $50.00.

  Utilizing automatic end-of-file logic to signal end of input

Design an algorithm to compute and print the average earnings, lowest earnings, and the highest earnings of a group of employees. Every input record will consists of name and earnings of one employee.

  Sorting the array

Write down a program which stores lists of the names (the last name first) and ages in parallel arrays and sorts names into alphabetical order keeping the ages along with the correct names.

  Propose a wiring plan for network servers

Propose a wiring plan for network servers.

  How to write a program to check the collision

How to write a program to check the collision Write down a java program to check if they will collide or not. If they are going to collide print a message that 'The crafts will collide at (x,y)' where co-ordinates (x,y) are on Map as points of co..

  Writing into file utilizing fileinputstream

Write down an application utilizing the FileInputStream which opens a file which consists of the name of user's favourite book and then show it to the user.

  How to set a rule that used by snort to detect an ack scan

How to set a rule that used by snort to detect an ACK scan What do you think Bro can do a better job detecting an ACK scan?

  Application showing files name-size and last modifiaction

Make a file by utilizing any word-processing program or the text editor. Write down an application which shows the file's name, size, and time of the last modification.

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