From d1e1daca18a6ea5022d19e46ca31e78a08f8c8d5 Mon Sep 17 00:00:00 2001 From: schrom01 Date: Thu, 20 Oct 2022 15:48:24 +0200 Subject: [PATCH] started Task 4 --- Schenk_Brandenberger_S3_Aufg4.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Schenk_Brandenberger_S3_Aufg4.py b/Schenk_Brandenberger_S3_Aufg4.py index 2906905..5116285 100644 --- a/Schenk_Brandenberger_S3_Aufg4.py +++ b/Schenk_Brandenberger_S3_Aufg4.py @@ -6,7 +6,7 @@ def h1(x): return math.sqrt(100 * math.pow(x,2) - 200 * x + 99) def h1_diff(x): - return (200 * math.pow(x, 2) - 300 * x + 99)/(math.sqrt(100 * math.pow(x, 2) - 200 * x + 99)) + return (100 * x - 100) / math.sqrt(100 * math.pow(x, 2) - 200 * x + 99) def h2(x): return math.sqrt((10 * x - 9) * (10 * x - 11))