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...
-
Suppose that a firm must choose between two mutually exclusive projects, both of which have negative NPVs. Explain how a firm can legitimately choose between two such projects.
-
The times interest earned ratio for Burlington Perfumes Inc. is 3.0, but the current ratio is only 1.2. Discuss future prospects for Burlington, given that the industry average for these ratios is...
-
Explain what the following assumptions and principle mean in accounting: a. Separate-entity assumption b. Unit-of-measure assumption c. Continuity assumption d. Cost principle
-
Park and Fly, near an airport, incurred the following costs to acquire land, make land improvements, and construct and furnish a small building: Park and Fly depreciates land improvements over 20...
-
Proceeds from Notes Payable On January 2 6 , Nyree Co . borrowed cash from Conrad Bank by issuing a 4 5 - day note with a face amount of $ 2 2 5 , 0 0 0 . Assume a 3 6 0 - day year. a . Determine the...
-
An engineer has a DAQ with a 14-bit A/D converter and a voltage range of 0 to 10 V. They are measuring vibrations around 20 Hz, so they sample at f= 100 Hz to avoid aliasing. They add a DC offset of...
-
In the following code, three processes are synchronized using two semaphores L and R and produce output using the routine putc. (a) How many D's are printed when these processes run? (b) Is...
-
Using the information in the table calculate the quality spread differential for Alpha and Beta.
-
How Apple Company Creates and Measures shared Economic and Social Value? Explain with example
-
1. Often in an organization the culture is characterized both by what people say (talk) and by what people actually do (walk). When this happens, there is a gap between organizational leaders'...
-
Direct Materials Variances: Journal Entries Chypre, Inc., produces a cologne mist using a solvent mix (water and pure alcohol) and aromatic compounds (the scent base) that it sells to other companies...
-
Required information [The following information applies to the questions displayed below.] Brice Company completed the following transactions in Year 1, the first year of operation: 1. Issued 40,000...
-
In the process referred to in Question 37, people are awarded new Bitcoins if they do which of the following? (p. 2). 1. Gather batches of new transactions into blocks and attach them to the end of th
-
Borrowing costs should be recognised as an expense and charged to the profit and loss account of the period in which they are incurred : A. If the borrowing costs relate to qualifying asset B. If the...
-
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?
-
If a graph is composed of two cycles joined only at a single vertex \(p\), then no Hamilton path can be formed starting or ending at any vertex that is adjacent to \(p\). a. True b. False
-
Any graph that has exactly two vertices of odd degree has a Hamilton path. a. True b. False
-
If a sequence of vertices represents a Hamilton path, the number of vertices listed should be _______________ the number of vertices in the whole graph. Fill in the blank with the same as or...
Study smarter with the SolutionInn App