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))