Answered step by step
Verified Expert Solution
Question
1 Approved Answer
i need help with this code idk what i am doing wrong WRITE IN PYTHON Let p be a bank's interest rate in percent per
i need help with this code idk what i am doing wrong WRITE IN PYTHON
Let p be a bank's interest rate in percent per year. An initial amount A_0 has then grown to A = A_0(1 + p/100)^n after n years. Make a program for computing how much money A has resulted from a given initial amount of money A0. (In other words, after your program executes, the variable A should contain the final amount of money resulting from the principle A0.) Your code should carry out the following steps: You should not define values for A0, n, and p in your answer, but will need to when composing your code. Calculate A from the necessary variables. For example, 1000 for three years at 5% interest becomes 1157.63. (Don't worry about rounding.) (This assignment is based on Langtangen, Exercise 1.6.)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