Write a function Lagrange_interp which implements Lagrange interpolation to find data at an
intermediate data point.
Note: The degree of the polynomial will not be known to you unless the problem statement is given.
The function should be able to deal with N data points. You can either use dynamic memory allocation
for data storage in arrays or in a simpler approach, you may declare the array sizes as a large value.
Comments
Leave a comment