Least squares approximation
Least squares approximation of continuous functions on [-1,1] using Legendre and Chebyshev polynomials.
Things to try:
- Change the function f(x) defined on the interval [-1,1].
- Drag the slider to approximate.