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