CoCalc Public FilesCY disscussion 3 / 8.ipynbOpen with one click!
Authors: Marielys Bueno, Dylan Cortes, Zhang Han, C Y
Views : 51
Compute Environment: Ubuntu 20.04 (Default)
In [2]:
#Amount= P* (1+(r/n))**(n*t)
In [13]:
# monthly P=1000 r=0.033 n=12 t=10 A = P* (1+(r/n))**(n*t) print(A)
1390.3382740533482
In [14]:
# weekly P=1000 r=0.033 n=52 t=10 A = P* (1+(r/n))**(n*t) print(A)
1390.8225472619683
In [15]:
# Hourly P=1000 r=0.033 n=8760 t=10 A = P* (1+(r/n))**(n*t) print(A)
1390.9672638851491
In [18]:
# Secondly P=1000 r=0.033 n=31557600 t=10 A = P* (1+(r/n))**(n*t) print(A)
1390.9681091635177
In [ ]: