Browse Source

added simplify_product_function

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

4
src/main/py/read_math_function.py

@ -89,3 +89,7 @@ def simplify_exponential_function(type, function):
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
Loading…
Cancel
Save