|
@ -88,4 +88,8 @@ def simplify_exponential_function(type, function): |
|
|
elif new_exponent == 1: |
|
|
elif new_exponent == 1: |
|
|
return [f"{new_coefficient}x"] |
|
|
return [f"{new_coefficient}x"] |
|
|
else: |
|
|
else: |
|
|
return [f"{new_coefficient}x^{new_exponent}"] |
|
|
|
|
|
|
|
|
return [f"{new_coefficient}x^{new_exponent}"] |
|
|
|
|
|
|
|
|
|
|
|
def simplify_product_function(type, function): |
|
|
|
|
|
if type != "p": |
|
|
|
|
|
return False |