From 2f5e5c3fcbea56dd44f04d463e1b8ddd1bb55bf4 Mon Sep 17 00:00:00 2001 From: fd7794 Date: Tue, 6 Feb 2024 12:17:33 +0100 Subject: [PATCH] added for loop for simplify_product_function --- src/main/py/read_math_function.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/py/read_math_function.py b/src/main/py/read_math_function.py index 3e0c5a0..af796df 100644 --- a/src/main/py/read_math_function.py +++ b/src/main/py/read_math_function.py @@ -97,4 +97,6 @@ def simplify_product_function(type, function): return False terms = function.split('*') result_coefficient = 1 - result_variables = "" \ No newline at end of file + result_variables = "" + for term in terms: + simplified_term = simplify_easy_math_function("v", term.strip()) \ No newline at end of file