Browse Source

added function.split for simplify_exponential_function

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

3
src/main/py/read_math_function.py

@ -77,4 +77,5 @@ def simplify_exponential_function(type, function):
if type != "e": if type != "e":
return False return False
if 'x' not in function: if 'x' not in function:
return "Der Ausdruck muss die Variable 'x' enthalten."
return "Der Ausdruck muss die Variable 'x' enthalten."
coefficient, exponent = function.split('x^')
Loading…
Cancel
Save