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. 1
      src/main/py/read_math_function.py

1
src/main/py/read_math_function.py

@ -78,3 +78,4 @@ def simplify_exponential_function(type, function):
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