Answered step by step
Verified Expert Solution
Question
1 Approved Answer
using idle (python) In this project, you will calculate the amount of an investment after a period of time. You will ask the user to
using idle (python) In this project, you will calculate the amount of an investment after a period of time. You will ask the user to enter the initial investment amount, the annual interest rate, the number of years, and the number of times the interest is compounded per year. The formula A= P (1+r)^nt.
soft Word - Project 02 - Inv x + 1-xythos.s3.us-east-1.amazonaws.com/5df291ae6172d/9649140?response-content disposition=inline%3B%20filename% Programming Project 2 - Investment Income Note: When you turn in an assignment to be graded in this class, you are making the claim that you neither gove nor received assistance on the work you turned in (except, of course, assistance from the instructor or teaching assistants). In this project, you will calculate the amount of an investment after a period of time. You will ask the user to enter the initial investment amount, the annual interest rate, the number of years, and the number of times the interest is compounded per year. The formula for the new investment value is: Investment Value: A = P. (1+ ) nt, where P is your initial investment amount, ris the annual interest rate, t is the number of years, and n is the number of times the interest is compounded per year Here is a typical program run. The sample user input is shown in blue italics. Sara Student Project 2 - InvestmentIncome.py This project displays the value of an investment after a given number of years at a given interest rate. Month Day, 20XX Enter the initial investment amount: 1,000 Enter the annual interest rate: 0.03 Enter the number of years: 5 Enter the number of times the interest is compounded per year: 12 The investment value is: $1161.62
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started