Question

Future value is the value today of money at a future point in time. For example...

Future value is the value today of money at a future point in time. For example take a $10 investment that would grow to $100 in five years. The future value of that $10 investment is $100. It is the value today of money tomorrow. It is calculated based on the amount of money, the amount of time (in years) into the future and a given monthly interest rate. Create a method with three parameters that computes future investment using the following formula: futureInvestmentValue =investmentAmount × (1 + monthlyInterestRate)numberOfYears*12 Use the following method header: public static double futureValue( double investmentAmount, double monthlyInterestRate, int years) For example, futureValue(10000, 0.05/12, 5) returns 12833.59. Write a test program that prompts the user to enter the investment amount (e.g., 1000) and the interest rate (e.g., 9%) and prints a table that displays future value for the years from 1 to 30, as shown below: The amount invested: 1000 Annual interest rate: 9 Years Future Value 1 1093.80 2 1196.41 ... 29 13467.25 30 14730.57

Homework Answers

Answer #1

public static double futureValue (double investmentAmount, double monthlyInterestRate, int years)
{
x=investmentAmount*(1+monthlyInterestRate)^(years*12);
return x;
}

public static void printTable(double investmentAmount, double monthlyInterestRate)
{
Cout<<"Enter Investment Amount";
Cin>>investmentAmount
Cout<<"Enter monthly interest rate";
Cin>>monthlyInterestRate;
cout<<"Years" & " " & "Future Value" &"\n";
for (int i=1; i<=30;i++)
{
x=futureValue(investmentAmount,monthlyInterestRate,i);
cout<<i & " " & x &"\n";
}
}

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Which of the following will produce the highest future value for a positive amount of money...
Which of the following will produce the highest future value for a positive amount of money deposited into an account today? Group of answer choices 8 percent interest rate and the future date is 10 years from today. 6 percent interest rate and the future date is 13 years from today. 8 percent interest rate and the future date is 13 years from today. 6 percent interest rate and the future date is 10 years from today.
What is the time value of money? a. The monetary value of a project’s future net...
What is the time value of money? a. The monetary value of a project’s future net cash flows at time zero. b.Funds received today are worth less than the same amount received in the future because of depreciation. c.monetary value of accountants’ time spent on a project. d.Funds received today are worth more than the same amount received in the future because those funds could be invested today and earn interest in the interim.
Calculation of the Future Value of an amount of money, which is received today, is called...
Calculation of the Future Value of an amount of money, which is received today, is called as discounting. True False ------------------------------------------------------------------------------------------------------------------ Compound interest is the interest earned on the subsequent periods on the interest earned in the prior periods. True False
Mastery Problem: Time Value of Money Time value of money Due to both interest earnings and...
Mastery Problem: Time Value of Money Time value of money Due to both interest earnings and the fact that money put to good use should generate additional funds above and beyond the original investment, money tomorrow will be worth less than money today. Simple interest Ringer Co., a company that you regularly do business with, gives you a $18,000 note. The note is due in three years and pays simple interest of 5% annually. How much will Ringer pay you...
Q1-You have decided to start saving money for your future. What is the future value of...
Q1-You have decided to start saving money for your future. What is the future value of a 14-year annuity of $2,200 per year, assuming that you make your first payment today and the interest rate is 12 percent? (Enter your answer as a positive number rounded to 2 decimal places.) Q2-You need to have $24,856 available at the end of 9 years. How much to do you have invest each year, starting at the end of this year, for 9...
Comparing current returns with future returns, without accounting for the time value of money, will overstate...
Comparing current returns with future returns, without accounting for the time value of money, will overstate the relative value of the future returns. True False The present value of an ordinary annuity is: The amount that would be paid today in order to receive a series of unequal payments in the future The amount that would be paid today in order to receive a series of equal payments in the future The amount that would be paid in the future...
17. You want to invest an amount of money today and receive back ten times that...
17. You want to invest an amount of money today and receive back ten times that amount in the future. You expect to earn 12.2 percent interest. Approximately how long must you wait for your investment to grow ten times in value? Group of answer choices 6 years 9 years 12 years 15 years 20 years 18. You have $1,100 today and want to triple your money in 5 years. What interest rate must you earn if the interest is...
Calculate the future value of the following amounts deposited today if they have an annual compound...
Calculate the future value of the following amounts deposited today if they have an annual compound interest as shown below: Situation Amount deposited Interest rate Periods of deposited ( pear years) Frequency A $10,200 4.5% 12 Bimonthly B $14,500 6.4% 8 Semiannual C $10,000 8.3% 7 Quarterly D $25,000 11.8% 9 Annual E $26,000 10.7% 20 Quarterly F $32,000 9.4% 14 Semiannual
1. Which of the following statements is incorrect? a. The time value of money implies that...
1. Which of the following statements is incorrect? a. The time value of money implies that a dollar received today is worth more than a dollar received tomorrow. b. The time value of money implies that the further in the future you receive a dollar, the more it is worth today. c. All the answers are correct except one. d. A dollar today is worth more than a dollar received in the future. e. The earnings from compounding drive much...
1.)Calculate the annual compound interest rate if you invest $100 today and the value grows to...
1.)Calculate the annual compound interest rate if you invest $100 today and the value grows to $120 two years from now. Two decimals, whole percent (e.g. 5.23). 2.)How many years will it take $100 to grow to $133.82, if annual compound interest is 6%? # no decimals 3.)Calculate the future value of $100 invested today for 3 years, where the nominal annual interest rate of 4% is compounded quarterly? To two decimals. 4.)Your friend borrowed $5,000 three years ago and...