Lagrange Interpolation https://en.wikipedia.org/wiki/Lagrange_polynomial Click and drag. Press R while dragging to remove a point How it works: For each point, the algorithm creates a polynomial that intersects that point and the x-axis at the x-coordinate of every other point. If you add all of these polynomials together, you get a polynomial that intersects every point.