The future value of an investment is how much it will be worth at some time...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
The future value of an investment is how much it will be worth at some time in the future assuming a constant growth rate. The future value formula below can be used to compute how much an investment will be worth after compounding so many years given the present value, interest rate, and number of years. The second formula can be used to calculate the total return over so many years. Future Value = Present Value x [(1 + Interest Rate) Number of Years Then total return can be calculated by Total Return= Future Value -Present Value For example, if Alice invests $1000 with an interest rate of 5%, after 10 years her investment will be: Future Value = 1000 x [(1 + 0.05) ¹] = 1,628.89 dollars. Total Return= 1,628.89-1000-628.89 dollars Note that the interest rate 5% is written as a decimal 0.05. For this Independent Programming assignment, you will get to write a Python program that will calculate the future value of an investment given the investment amount, interest rate, and durations. Your program will do the following: • Prints a welcome message • Asks the user for the investment amount in dollars • Asks the user for the yearly interest rate (%) (Note: The program will allow fractional heights) • Ask the user for the investment duration in years • Calculates the future value • Calculates total return • Displays the future value and the total return on the screen. (Use the round function to round them to two decimal places.) Make sure your program has your name, the date, and program description at the top as comments as well as comments throughout as needed. The future value of an investment is how much it will be worth at some time in the future assuming a constant growth rate. The future value formula below can be used to compute how much an investment will be worth after compounding so many years given the present value, interest rate, and number of years. The second formula can be used to calculate the total return over so many years. Future Value = Present Value x [(1 + Interest Rate) Number of Years Then total return can be calculated by Total Return= Future Value -Present Value For example, if Alice invests $1000 with an interest rate of 5%, after 10 years her investment will be: Future Value = 1000 x [(1 + 0.05) ¹] = 1,628.89 dollars. Total Return= 1,628.89-1000-628.89 dollars Note that the interest rate 5% is written as a decimal 0.05. For this Independent Programming assignment, you will get to write a Python program that will calculate the future value of an investment given the investment amount, interest rate, and durations. Your program will do the following: • Prints a welcome message • Asks the user for the investment amount in dollars • Asks the user for the yearly interest rate (%) (Note: The program will allow fractional heights) • Ask the user for the investment duration in years • Calculates the future value • Calculates total return • Displays the future value and the total return on the screen. (Use the round function to round them to two decimal places.) Make sure your program has your name, the date, and program description at the top as comments as well as comments throughout as needed.
Expert Answer:
Answer rating: 100% (QA)
Answer PROGRAM III This program read present value interest rate and duration from the user and calc... View the full answer
Related Book For
Posted Date:
Students also viewed these finance questions
-
Is it possible to convert the future value of an ordinary annuity table to the future value of an annuity due table? Explain.
-
Calculate the future value of an investment plan requiring contributions of $800 at the beginning of each calendar quarter for seven years. Assume that the rate of return will be 8% com- pounded...
-
How can the formula for the future value of an annuity be modified to find the future value of an annuity due?
-
The open-loop transfer function of a unity feedback system is: 20 G(s) (s + 1.5)(s + 3.5)(s+ 15) (a) Design a lag-lead compensator for G(s) using root locus so that the closed-loop system satisfies...
-
The Sports Warehouse operates in two distinct segments; equipment and apparel. The income statements for each operating segment are presented below. Required: 1. Complete the % columns to be used in...
-
At December 31, 2012, Suffolk Corporation had an estimated warranty liability of $105,000 for accounting purposes and $0 for tax purposes. (The warranty costs are not deductible until paid.) The...
-
VMO is typically a ________ limitation.
-
In Gallups Annual Consumption Habits Poll, telephone interviews were conducted for a random sample of 1014 adults aged 18 and over. One of the questions was, How many cups of coffee, if any, do you...
-
How much would $ 1 , growing at 8 . 6 5 % per year, be worth after 8 5 years?
-
On October 1, 2020, Mary Graham organized a computer service company called Echo Systems. Echo is organized as a sole proprietorship and will provide consulting services, computer system...
-
Find the original fraction if in a fraction, numerator in increased by 25% and the denominator is decreased by 10%. The new fraction then obtained is 5/9. 1. 2/5 2. 5/9 3. 3/5 4. 1/5 None of these 5.
-
If a tracked dozer is used about 1,500 hours per year. It cost $500,000 new and has a useful life of 15,000 hours. Estimated salvage value after 15,000 hours of use is $95,000. Minimum attractive...
-
What amount of gain should Pharoah recognize on the exchange assuming lack of commercial substance?
-
Does the food service operation face financial risk when they have stockouts?
-
The blue samurai, a japanese restraurant, has an asset turnover of 3.5 the total assets were 95,000 what are net sales for the blue samurai?
-
Gatekeeper Manufacturing reported 50,000 physical units that were 100% complete for direct materials during the period. In addition, the 50,000 physical units were 100% for conversion costs. In terms...
-
Show more specifically by ignoring overlap integrals between any atoms farther apart than nearest neighbors that where Find the definitions of Show that the energies of the two bands that result are...
-
Explain the circumstances that could result in a long-term bank loan being shown in a statement of financial position as a current liability.
-
What is a call option? How does it work?
-
How much would Joel (from problem 1) save in taxes if he held the stock for more than a year, assuming he sold it for the same amount?
-
Nancys employer provides her with two times her annual gross salary in life insurance. How much additional insurance should Nancy purchase based on the information in the previous problem?
-
What is a P-value for a hypothesis test?
-
You plan a survey to estimate the proportion of students on your campus who carry an iPad regularly. How many students should be in the sample if you want (with 95% confidence) a margin of error of...
-
What is a hypothesis test?
Study smarter with the SolutionInn App