feat: a little more math

This commit is contained in:
2025-11-15 14:08:20 +01:00
parent 90f0e44e22
commit 83723d1db7
5 changed files with 60 additions and 2 deletions

View File

@@ -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())