How to Use
Enter n and x:
- T_n(x): First kind
- U_n(x): Second kind
- Coefficients: Polynomial form
Best Approximation
Chebyshev interpolation at nodes x_k=cos((2k+1)π/(2n)) avoids Runge's phenomenon. The error is within a factor of (4/π)log(n)+1 of the best possible. This makes Chebyshev the gold standard for polynomial approximation.
Applications
- Spectral methods for PDEs
- Digital filter design
- Clenshaw-Curtis quadrature
- Function approximation libraries
Step-by-Step Instructions
- 1Enter degree n.
- 2Enter x value.
- 3Compute T_n(x).
- 4Compute U_n(x).
- 5View coefficients.