Browse Source

added funktion simplify_exponential_function

remotes/origin/feature/feature-read-math-function-added-funktions
fd7794 11 months ago
parent
commit
578ee71b26
  1. 4
      src/main/py/read_math_function.py

4
src/main/py/read_math_function.py

@ -69,3 +69,7 @@ def extract_constant(function):
constant = constant + "+0" constant = constant + "+0"
constant = constant.lstrip("+") constant = constant.lstrip("+")
return [constant, f"{coefficient}x"] return [constant, f"{coefficient}x"]
def simplify_exponential_function(type, function):
if type != "e":
return False
Loading…
Cancel
Save