feat: a little more math
This commit is contained in:
19
src/main.py
19
src/main.py
@@ -1,4 +1,14 @@
|
||||
from modules.math import t_compound_interest, t_compound_interest_algorigthm, t_exponent
|
||||
from modules.math import (
|
||||
t_calculate_e,
|
||||
t_calculate_e_limit,
|
||||
t_compound_interest,
|
||||
t_compound_interest_algorigthm,
|
||||
t_compound_interest_continious,
|
||||
t_compound_interest_continious_exp,
|
||||
t_exponent,
|
||||
t_limit,
|
||||
t_logarithm_natural,
|
||||
)
|
||||
from modules.strings import t_strings
|
||||
|
||||
if __name__=="__main__":
|
||||
@@ -6,3 +16,10 @@ if __name__=="__main__":
|
||||
t_exponent(2,8)
|
||||
print(t_compound_interest(100, 20 / 100, 2, 12))
|
||||
print(t_compound_interest_algorigthm(100, 20 / 100, 2, 12))
|
||||
print(t_compound_interest_continious(100, 20 / 100, 2))
|
||||
print(t_compound_interest_continious_exp(100, 20 / 100, 2))
|
||||
print(t_calculate_e(1000000000000))
|
||||
print(t_logarithm_natural(10))
|
||||
print(t_limit())
|
||||
print(t_calculate_e_limit())
|
||||
print(t_calculate_e_limit().evalf())
|
||||
|
||||
Reference in New Issue
Block a user