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

Vitellium (Vi) has the following composition:Vi-188: 187.9122 amu; 10.861%Vi-191: 190.9047 amu; 12.428%Vi-193: 192.8938 amu; 76.711%Based on this data, what can
An acrostic poem about the brain
Simplify. All Variables represent (3√200)*(4√32)
Does the phrase "Dar de comer al perro" mean "to feed the dog" or "to give the dog something to eat"?
Differentiate. y=ln (17-x)
what does x-4over5=6over7   what doesx=
Can someone help me solve this proportion: 5/n=1.5/1.8
What is the range of the relation? {(1, 2), (2, 4), (3, 2), (4, 6)}  A.{2, 4}  B.{1, 2, 3, 4, 6}  C.{2, 4, 6}  D.{1, 2, 3, 4}Which relation is a function?  A.{(
Find the second derivative for y=(x+2)/(x-3)
In a bag of keys, there are 15 silver keys, 5 black keys, 11 copper keys, and 4 painted keys of various colors. One key is drawn out at random. What is the prob