E = (6.385476774642158, 2.956777051419265)
D = (5.457826569017509, 3.477166191159925)
C = (4.824309355420188, 1.7123682389959465)
B = (2, 4)
A = (0.6838218522662672, 2.4816391412212706)
l2(x) = (x - x(A)) / (x(B) - x(A)) * (x - x(C)) / (x(B) - x(C)) * (x - x(D)) / (x(B) - x(D)) * (x - x(E)) / (x(B) - x(E))
l3(x) = (x - x(A)) / (x(C) - x(A)) * (x - x(B)) / (x(C) - x(B)) * (x - x(D)) / (x(C) - x(D)) * (x - x(E)) / (x(C) - x(E))
l4(x) = (x - x(A)) / (x(D) - x(A)) * (x - x(B)) / (x(D) - x(B)) * (x - x(C)) / (x(D) - x(C)) * (x - x(E)) / (x(D) - x(E))
l1(x) = (x - x(B)) / (x(A) - x(B)) * (x - x(C)) / (x(A) - x(C)) * (x - x(D)) / (x(A) - x(D)) * (x - x(E)) / (x(A) - x(E))
l5(x) = (x - x(A)) / (x(E) - x(A)) * (x - x(B)) / (x(E) - x(B)) * (x - x(C)) / (x(E) - x(C)) * (x - x(D)) / (x(E) - x(D))
lagrinterpol(x) = y(A) * l1(x) + y(B) * l2(x) + y(C) * l3(x) + y(D) * l4(x) + y(E) * l5(x)

Tool: LagrangeInterpol
4 Punkte auswählen
Input: A, B, C, D
Output: lagrinterpol

l1(x) = (x - x(B)) / (x(A) - x(B)) * (x - x(C)) / (x(A) - x(C)) * (x - x(D)) / (x(A) - x(D))
l2(x) = (x - x(A)) / (x(B) - x(A)) * (x - x(C)) / (x(B) - x(C)) * (x - x(D)) / (x(B) - x(D))
l3(x) = (x - x(A)) / (x(C) - x(A)) * (x - x(B)) / (x(C) - x(B)) * (x - x(D)) / (x(C) - x(D))
l4(x) = (x - x(A)) / (x(D) - x(A)) * (x - x(B)) / (x(D) - x(B)) * (x - x(C)) / (x(D) - x(C))
lagrinterpol(x) = y(A) * l1(x) + y(B) * l2(x) + y(C) * l3(x) + y(D) * l4(x)

Tool: LagrangeInterpol5
wähle 5 Punkte aus
Input: A, B, C, D, E
Output: lagrinterpol

l2(x) = (x - x(A)) / (x(B) - x(A)) * (x - x(C)) / (x(B) - x(C)) * (x - x(D)) / (x(B) - x(D)) * (x - x(E)) / (x(B) - x(E))
l3(x) = (x - x(A)) / (x(C) - x(A)) * (x - x(B)) / (x(C) - x(B)) * (x - x(D)) / (x(C) - x(D)) * (x - x(E)) / (x(C) - x(E))
l4(x) = (x - x(A)) / (x(D) - x(A)) * (x - x(B)) / (x(D) - x(B)) * (x - x(C)) / (x(D) - x(C)) * (x - x(E)) / (x(D) - x(E))
l1(x) = (x - x(B)) / (x(A) - x(B)) * (x - x(C)) / (x(A) - x(C)) * (x - x(D)) / (x(A) - x(D)) * (x - x(E)) / (x(A) - x(E))
l5(x) = (x - x(A)) / (x(E) - x(A)) * (x - x(B)) / (x(E) - x(B)) * (x - x(C)) / (x(E) - x(C)) * (x - x(D)) / (x(E) - x(D))
lagrinterpol(x) = y(A) * l1(x) + y(B) * l2(x) + y(C) * l3(x) + y(D) * l4(x) + y(E) * l5(x)