subject

Write a method named presentValue that performs this calculation. The method should accept the future value, annual interest rate, and number of years as arguments. It should return the present value, which is the amount that you need to deposit today. Demonstrate the method in a program that lets the user experiment with different values for the formula’s terms
P = F/(1 + r)n
The terms in the formula are as follows:
• P is the present value, or the amount that you need to deposit today.
• F is the future value that you want in the account. (In this case, F is $10,000.)
• r is the annual interest rate.
• n is the number of years that you plan to let the money sit in the account.

Code a method named PresentValue that performs this calculation. The method
should accept the future value, annual interest rate, and number of years as arguments.
It should return the present value, which is the amount that you need to
deposit today. Demonstrate the method in an application that lets the user experiment
with different values for the formula's terms.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 06:30
Selective incapacitation is a strategy to reduce prison population
Answers: 3
question
Computers and Technology, 22.06.2019 18:30
Which of these options are the correct sequence of actions for content to be copied and pasted? select content, click the copy button, click the paste button, and move the insertion point to where the content needs to be inserted. click the copy button, select the content, move the insertion point to where the content needs to be inserted, and click the paste button. select the content, click the copy button, move the insertion point to where the content needs to be inserted, and click the paste button. select the content, move the insertion point to where the content needs to be inserted, click the copy button, and click the paste button.
Answers: 3
question
Computers and Technology, 23.06.2019 03:50
Iam a bacterium. i cause stomach cramps and diarrhea. i am caused by eating rotten foodssuch as chicken, fish, or eggs. sometimes turtles carry my bacteria.what am i?
Answers: 2
question
Computers and Technology, 23.06.2019 13:00
In excel - calculate the actual increase/decrease from first quarter to the second quarter then subtract subtract first quarter value from second quarter total then divide result by first quarter value
Answers: 1
You know the right answer?
Write a method named presentValue that performs this calculation. The method should accept the futur...
Questions
question
Mathematics, 20.05.2020 21:04
question
Mathematics, 20.05.2020 21:04
question
Mathematics, 20.05.2020 21:04
question
Mathematics, 20.05.2020 21:04
question
History, 20.05.2020 21:04
question
Biology, 20.05.2020 21:04
question
Advanced Placement (AP), 20.05.2020 21:04
Questions on the website: 13722367