diff --git a/Schenk_Brandenberger_S3_Aufg4.py b/Schenk_Brandenberger_S3_Aufg4.py index 41b22fc..6fcb542 100644 --- a/Schenk_Brandenberger_S3_Aufg4.py +++ b/Schenk_Brandenberger_S3_Aufg4.py @@ -11,8 +11,7 @@ def h1(x): def h1_diff(x): - return (100 * x - 100) / math.sqrt(100 * math.pow(x, 2) - 200 * x + 99) - + return (100 * x - 100) / math.sqrt((10*x-11)*(10*x-9)) def h2(x): return math.sqrt((10 * x - 9) * (10 * x - 11)) @@ -30,10 +29,10 @@ x = np.arange(xStart, xStop + xStep, xStep) y1 = [h1(x_val) for x_val in x] y2 = [h2(x_val) for x_val in x] -y3 = [kondnumb(x_val) for x_val in x] +# y3 = [kondnumb(x_val) for x_val in x] -plt.yscale('log', base=10) -plt.plot(x, y3, label='Konditionszahl') +# plt.yscale('log', base=10) +# plt.plot(x, y3, label='Konditionszahl') plt.title('4.b)') plt.legend() plt.figure()