diff --git a/Notes/Semester 4/HM2 - Höhere Mathematik 2/Week 5/Miguel_S5_Aufg2.py b/Notes/Semester 4/HM2 - Höhere Mathematik 2/Week 5/Miguel_S5_Aufg2.py index 641a0fd..1ada0e4 100644 --- a/Notes/Semester 4/HM2 - Höhere Mathematik 2/Week 5/Miguel_S5_Aufg2.py +++ b/Notes/Semester 4/HM2 - Höhere Mathematik 2/Week 5/Miguel_S5_Aufg2.py @@ -26,10 +26,6 @@ def Miguel_S5_Aufg2(x, y, xx): A[i][0] = 2 * (h[0] + h[1]) A[i][1] = h[1] z[i] = 3 * (((y[2] - y[1]) / h[1]) - ((y[1] - y[0]) / h[0])) - elif i == n - 3: - A[i][i - 1] = h[i - 1] - A[i][i] = 2 * (h[i - 1] + h[i]) - z[i] = 3 * (((y[i + 1] - y[i]) / h[i]) - ((y[i] - y[i - 1]) / h[i - 1])) else: A[i][i - 1] = h[i - 1] A[i][i] = 2 * (h[i - 1] + h[i])