|
@ -105,3 +105,4 @@ def simplify_product_function(type, function): |
|
|
term_coefficient, term_variables = simplified_term |
|
|
term_coefficient, term_variables = simplified_term |
|
|
result_coefficient *= term_coefficient |
|
|
result_coefficient *= term_coefficient |
|
|
result_variables += term_variables |
|
|
result_variables += term_variables |
|
|
|
|
|
return [f"{result_variables}^{len(terms)}"] |