Question: python 10. The compound interest formula is given by the formula A = P(1 + 5.)*t, where P is principal, r is the annual nominal
10. The compound interest formula is given by the formula A = P(1 + 5.)*t, where P is principal, r is the annual nominal interest rate (expressed as a decimal), n is the number of compounding periods per year, t is the number of years, and A is the accumulated value of the investment. (a) Write code that creates variables called P. r. n and t, which you should assign to be 30.01, 12 and 5, respectively. (b) Now, continue by writing code that will print out the corresponding value of A according to the formula. For this part of the problem, you are not allowed to use any numbers aside from the 1 in the formulause the variables you created in part a
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
