diff --git a/src/main/py/read_math_function.py b/src/main/py/read_math_function.py index a1d3868..5fabab3 100644 --- a/src/main/py/read_math_function.py +++ b/src/main/py/read_math_function.py @@ -77,4 +77,5 @@ def simplify_exponential_function(type, function): if type != "e": return False if 'x' not in function: - return "Der Ausdruck muss die Variable 'x' enthalten." \ No newline at end of file + return "Der Ausdruck muss die Variable 'x' enthalten." + coefficient, exponent = function.split('x^') \ No newline at end of file