kjk5747462 kjk5747462
  • 21-08-2020
  • Computers and Technology
contestada

write a python program to calculate the compound interest

Respuesta :

ronhagrid310
ronhagrid310 ronhagrid310
  • 21-08-2020

Answer:

initialPrincipal = float(input("Please enter your initial principal:"))

interestRate = float(input("Please enter your interest rate:"))

timePeriod = float(input("Please enter your number of times interest applied per time period:"))

elapsedPeriod = float(input("Please enter your number of time period elapsed:"))

finalAmount = initialPrincipal*(1 + interestRate/timePeriod)^(timePeriod*elapsedPeriod)

print("Your final amount would be:", finalAmount)

Answer Link

Otras preguntas

2.If the probability of an event is 0.95, what is the probability of its complement? It wont let me post the full question so msg me for the 1st one.
14. What is important to remember when including details in a descriptive writing?
How many square units are in the area of the triangle whose vertices are the x and y intercepts of the curve y = (x-3)^2 (x+2)?
When did Henry VIII lead England's Reformation and establish the Protestant Church of England?
If you wanted to make the graph of y = 2x + 5 steeper, which equation could you use? A. y = -2x + 5 B. y = 4x + 5 C. y = 2x + 8 D. y = x + 5
What term describes the belief that current inhabitants in an area are better than incoming immigrants?
what were the main reasons for the scramble of Africa
which one is right. I am lost and I need help
find the slope and y-intercept of y=2/5x+5
What was a lasting effect on the Korean War