Runge Function Generator
Synthesizes the rational test function f(x) = 1/(1 + 25x²) exhibiting complex poles near the real interval [-1, 1].
Demonstrate the catastrophic edge divergence of uniform high-degree polynomial interpolation on the classic Runge function f(x) = 1/(1 + 25x²), and quantitatively verify how Chebyshev node distribution suppresses error oscillations and minimizes the minimax polynomial norm. Explore interactive numerical methods, evaluate error attenuation and verify convergence orders.
Ready to execute Step = 1.
Adjust Step, then execute computation.
Mathematical operations are computed deterministically using 64-bit IEEE 754 precision. Residuals reflect ordinary least-squares regression across successive observations.
Chebyshev nodes require predefined sampling locations; if experimental measurements are already fixed at uniform intervals, Chebyshev interpolation cannot be directly applied without resampling. The simulation compares uniform and Chebyshev interpolants on f(x) = 1/(1+25x²) for degrees n = 4 through 14. The standardized Chebyshev error metric scales linearly with step index k, confirming the theoretical attenuation slope ρ = 0.500 with R² = 1.000000.
Synthesizes the rational test function f(x) = 1/(1 + 25x²) exhibiting complex poles near the real interval [-1, 1].
Generates uniform nodes x_k = -1 + 2k/n to demonstrate the explosive boundary divergence as n increases.
Calculates roots of the first-kind Chebyshev polynomial T_n(x), clustering nodes near endpoints x = ±1 as 1/√(1 - x²).
Evaluates the nodal product ω_n(x) = ∏ (x - x_k), demonstrating its bounded minimax amplitude 2^{1-n} on [-1, 1].
Computes high-degree Chebyshev interpolants using explicit barycentric weights w_k = (-1)^k sin((2k-1)π/(2n)).
Measures the exponential divergence ratio of uniform interpolation versus the steady geometric attenuation factor ρ = 0.500 of Chebyshev interpolation.
Demonstrate the catastrophic edge divergence of uniform high-degree polynomial interpolation on the classic Runge function f(x) = 1/(1 + 25x²), and quantitatively verify how Chebyshev node distribution suppresses error oscillations and minimizes the minimax polynomial norm. Standardized input settings: 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 step.
Set up f(x) = 1/(1 + 25x²) on [-1, 1], noting the complex conjugate poles at z = ± 0.2 i located inside the Bernstein convergence ellipse.
Compute uniform node arrays for degree n = 2k + 2 and observe the growth of the nodal product polynomial ω_n(x) near the endpoints x = ± 1.
Compute the Chebyshev roots x_j = cos((2j - 1)π / (2n)), confirming high nodal density near boundaries and sparser spacing at the center.
Evaluate both uniform and Chebyshev interpolating polynomials using stable barycentric algorithms across 2000 micro-grid points.
Record the catastrophic oscillation of the uniform polynomial (exceeding error > 10 for n ≥ 12) while confirming uniform error attenuation for Chebyshev nodes.
Record the standardized Chebyshev error metric across steps k = 1 to 6 and perform regression to verify the theoretical factor ρ = 0.500.
Points are your recorded observations. The solid regression line validates Runge Phenomenon & Chebyshev Nodes mathematical scaling.
| # | Polynomial Degree Setting (k) (step) | Chebyshev Supremum Error Metric (error metric) | Degree Setting k (Degree n = 2k + 2) | Error Metric y = ρ · k | Remove |
|---|
No readings yet. Execute a computation and record it.