Browse Source

added return result for simplify_exponential_function

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

3
src/main/py/read_math_function.py

@ -88,4 +88,5 @@ def simplify_exponential_function(type, function):
elif new_exponent == 1: elif new_exponent == 1:
result = [f"{new_coefficient}x"] result = [f"{new_coefficient}x"]
else: else:
result = [f"{new_coefficient}x^{new_exponent}"]
result = [f"{new_coefficient}x^{new_exponent}"]
return result
Loading…
Cancel
Save