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

please i need to learn englaish
PLEASE HELP YOU WILL GET THE BRAINLIEST
jessie saves 6 each week in how many weeks will she have saved at least 50
Y = 3x + 7, Y = -4x + 10. Solve by graphing method
How does the narrator respond to the conflict in this passage? The narrator takes control of his spirit by using his priesthood.
What is the place value of the 6 in 0.896?
Please help! First answer gets Brainliest! Triangle ABC has vertices A(0, 0), B(3, 3), C(6, 0). Write the equation of the line containing the altitude AR A. y =
What is the same as, her husband should work more, in Spanish?
By studying fossils, PALEONTOLOGISTS learn about animals and plants of the past. Definition Contrast Synonym Cause/Effect Example
Using the given convention factors, how many euros equal 150 USD?