Lagrange's Interpolation Formula

This applet demonstrates Lagrange's Interpolation Formula.

You can drag the points on the x-axis to change the abscissas(x coordinates),
and drag the points on the curve to change the ordinates(y coordinates).

The interpolation polynomial is shown in white. The contributions due to
individual ordinates are shown in colour.

Source Code

Cubic Spline Interpolation Applet