From 26b3523b4d044ff07599375adaeffa9fe19780c0 Mon Sep 17 00:00:00 2001 From: schrom01 Date: Thu, 20 Oct 2022 16:22:11 +0200 Subject: [PATCH] started Task 4 --- Schenk_Brandenberger_S3_Aufg4.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Schenk_Brandenberger_S3_Aufg4.py b/Schenk_Brandenberger_S3_Aufg4.py index 6fcb542..2da0a3a 100644 --- a/Schenk_Brandenberger_S3_Aufg4.py +++ b/Schenk_Brandenberger_S3_Aufg4.py @@ -9,8 +9,10 @@ def h1(x): except: return - def h1_diff(x): + return (100 * x - 100) / math.sqrt(100 * math.pow(x, 2) - 200 * x + 99) + +def h2_diff(x): return (100 * x - 100) / math.sqrt((10*x-11)*(10*x-9)) def h2(x):