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