|
@ -82,4 +82,6 @@ def simplify_exponential_function(type, function): |
|
|
coefficient = int(coefficient) if coefficient else 1 |
|
|
coefficient = int(coefficient) if coefficient else 1 |
|
|
exponent = int(exponent) |
|
|
exponent = int(exponent) |
|
|
new_coefficient = coefficient * exponent |
|
|
new_coefficient = coefficient * exponent |
|
|
new_exponent = exponent - 1 |
|
|
|
|
|
|
|
|
new_exponent = exponent - 1 |
|
|
|
|
|
if new_exponent == 0: |
|
|
|
|
|
result = [str(new_coefficient)] |