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

Does someone with a peanut allergy need to get more, the same, or less calories than a normal person? The same for tree nuts, please answer soon if possible.
Luis needs at least 3 kilograms of cement to make a brick wall. If Luis has 3,410 grams of cement, and there are 1,000 grams in 1 kilogram, will he be able to m
[tex]-3\frac{1}{3} * -3\frac{2}{5}[/tex]
What do y’all recommend some things I should do for good health
how do you turn 4.90 into a fraction
what type of light on the electromagnetic spectrum has the lowest energy per photon?
Find the measure of angles 1, 2, and 3
write an equation of the line that passes through the pair of points (5,-3), (2,5)
porque es difícil de controlar nuestra zee ¿?​
Governments may control the information that reaches the public by _____ digital information. Select 4 filtering filtering redacting redacting liberating liber