|
@ -84,7 +84,7 @@ def simplify_exponential_function(type, function): |
|
|
new_coefficient = coefficient * exponent |
|
|
new_coefficient = coefficient * exponent |
|
|
new_exponent = exponent - 1 |
|
|
new_exponent = exponent - 1 |
|
|
if new_exponent == 0: |
|
|
if new_exponent == 0: |
|
|
result = [str(new_coefficient)] |
|
|
|
|
|
|
|
|
return [str(new_coefficient)] |
|
|
elif new_exponent == 1: |
|
|
elif new_exponent == 1: |
|
|
result = [f"{new_coefficient}x"] |
|
|
result = [f"{new_coefficient}x"] |
|
|
else: |
|
|
else: |
|
|