From 578ee71b26f5a0df15fc7391b2aaf3c40ef190a6 Mon Sep 17 00:00:00 2001 From: fd7794 Date: Tue, 6 Feb 2024 11:37:49 +0100 Subject: [PATCH] added funktion simplify_exponential_function --- src/main/py/read_math_function.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/py/read_math_function.py b/src/main/py/read_math_function.py index 9ba7508..03ef47d 100644 --- a/src/main/py/read_math_function.py +++ b/src/main/py/read_math_function.py @@ -69,3 +69,7 @@ def extract_constant(function): constant = constant + "+0" constant = constant.lstrip("+") return [constant, f"{coefficient}x"] + +def simplify_exponential_function(type, function): + if type != "e": + return False \ No newline at end of file