Browse Source

added calculation for simplify_product_function

remotes/origin/feature/feature-read-math-function-added-funktions
fd7794 11 months ago
parent
commit
a3c54659b6
  1. 4
      src/main/py/read_math_function.py

4
src/main/py/read_math_function.py

@ -102,4 +102,6 @@ def simplify_product_function(type, function):
simplified_term = simplify_easy_math_function("v", term.strip())
if not simplified_term or len(simplified_term) != 2:
return False
term_coefficient, term_variables = simplified_term
term_coefficient, term_variables = simplified_term
result_coefficient *= term_coefficient
result_variables += term_variables
Loading…
Cancel
Save