Lagrange interpolation The program takes the following as the argument(in order): The point of evaluation t The number of node points n The array of node points x The array of function values f corresponding to the node points.