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

State whether every point on the graph is a solution of the equation. Explain why or why not. 3x – 2y = –6 A. Every point shown on the graph is a solution of
travant is planning a garden that will cover 1,600 square yards. he wants the ratio of space planting with flowers to space planted with vegetables to be 3:5. h
Please help! Which of the following graphs correctly displays the relationship between temperature and depth in the ocean?
Help!!!!!!!!!!!! I say it is C but I am not sure.
1/3 (n+1)+2=1/6 (3n-5)
What must happen before an igneous rock can form
Which group convinced President James Madison to go to war with England in 1812?
IgG bonds readily to the free form of a) vitamin A b) vitamin C c) vitamin E d) riboflavin
19.08 rounds to nearest tenth
What organization did the Pendleton Act establish?