Question: Python 1. Python program for calculating compound interest Compound interest formula: RNT Where A- future value of the investment (including interest) P principal investment amount

 Python 1. Python program for calculating compound interest Compound interest formula:

RNT Where A- future value of the investment (including interest) P principal

Python

1. Python program for calculating compound interest Compound interest formula: RNT Where A- future value of the investment (including interest) P principal investment amount (the initial deposit) R annual interest rate (as a decimal) N-number of times that interest is compounded per year T-number of years the money is invested Example If an amount of $10,000 is deposited into a savings account at an annual interest rate of 5%, compounded monthly, the value of the investment after 10 years can be calculated as below. P-10000, R-5/100 0.05 (decimal), N-12, T = 10 If we plug those numbers into the formula, we get the following result. P(1 +R)NT-10000(1 +(12x10)-|6,470.10 A- Your Python programming: Write a Python program to calculate the future value of the investment. The program shall have the following features: 1. Have the prompts for the user to enter the following parameters: Principal investment amount Annual interest rate Number of times that interest is compounded per year Number of years the money is invested 2. Have the following printed outputs: Principal investment amount is: Annual interest rate is: Number of times that interest is compounded per year: Number of years the money is invested: Future value of the investment

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!