|
@ -129,7 +129,6 @@ def difference_of_simplified_exponential_functions(type, function): |
|
|
new_minuend = simplify_exponential_function('e', minuend) |
|
|
new_minuend = simplify_exponential_function('e', minuend) |
|
|
new_subtrahend = simplify_exponential_function('e', subtrahend) |
|
|
new_subtrahend = simplify_exponential_function('e', subtrahend) |
|
|
if new_minuend != "Der Ausdruck muss die Variable 'x' enthalten." and new_subtrahend != "Der Ausdruck muss die Variable 'x' enthalten.": |
|
|
if new_minuend != "Der Ausdruck muss die Variable 'x' enthalten." and new_subtrahend != "Der Ausdruck muss die Variable 'x' enthalten.": |
|
|
simplified = new_minuend - new_subtrahend |
|
|
|
|
|
return simplified |
|
|
|
|
|
|
|
|
return new_minuend - new_subtrahend |
|
|
else: |
|
|
else: |
|
|
return "Der Ausdruck muss die Variable 'x' enthalten." |
|
|
return "Der Ausdruck muss die Variable 'x' enthalten." |