![]() |
Python
1.0
|
Interests. More...
Functions | |
def | compounding_interest (c, n, t) |
Calculates the compounding interest. More... | |
def | continuous_compounding_interest (c, n, r) |
Calculates the continuous compounding interest. More... | |
def | interest (c, n, t) |
Calculates the compounding interest and the continuous compounding interest. More... | |
def | main () |
Interests.
def _02d_interest.compounding_interest | ( | c, | |
n, | |||
t | |||
) |
Calculates the compounding interest.
c | initial capital. |
n | number of periods. |
t | interest rate. |
Referenced by interest().
def _02d_interest.continuous_compounding_interest | ( | c, | |
n, | |||
r | |||
) |
Calculates the continuous compounding interest.
c | initial capital. |
n | number of periods. |
r | interest rate. |
Referenced by interest().
def _02d_interest.interest | ( | c, | |
n, | |||
t | |||
) |
Calculates the compounding interest and the continuous compounding interest.
c | initial capital. |
n | number of periods. |
t | interest rate. |
References compounding_interest(), and continuous_compounding_interest().
Referenced by main().
def _02d_interest.main | ( | ) |
References _01d_dec2bin.input, and interest().