New answers tagged


From the name, the error message, and the code, it appears that this code is doing Lagrange polynomial interpolation for a function $f(x)$, given $x_{1} < x_{2} < \ldots < x_{n}$ and function values $f(x_{1}), f(x_{2}), \ldots, f(x_{n})$ You can use a Lagrange interpolation polynomial to interpolate the value of $f(x)$ at any point $x$ where $x_{1} &...

Top 50 recent answers are included