Ron Mak @ Apropos Logic
Publications and books by Ronald Mak

Java Number Cruncher

Program 6-1

Polynomial Interpolation

This applet demonstrates polynomial interpolation. Given n data points, it uses a divided difference table to generate and plot the unique polynomial interpolation function of degree n -1 through the points.

To run the demo:

  1. Click the mouse in the graph panel to set from 2 up to 10 data points.
  2. Click the Interpolate button to plot the interpolation function.
  3. You can add more data points and click the Interpolate button again.
  4. Click the Reset button to start over.