@ -80,4 +80,6 @@ def simplify_exponential_function(type, function):
return "Der Ausdruck muss die Variable 'x' enthalten."
coefficient, exponent = function.split('x^')
coefficient = int(coefficient) if coefficient else 1
exponent = int(exponent)
new_coefficient = coefficient * exponent
new_exponent = exponent - 1