Newton-Raphson Iteration
x_{n+1} = x_n - \frac{f(x_n)}{f'(x_n)}
Quadratic convergence near simple roots where f'(x) != 0.
Iterative root finding (Newton-Raphson, Bisection, Secant), composite quadrature rules (Trapezoidal and Simpsons 1/3), and Lagrange polynomial interpolation.
x_{n+1} = x_n - \frac{f(x_n)}{f'(x_n)}
Quadratic convergence near simple roots where f'(x) != 0.
\int_a^b f(x)\,dx \approx \frac{h}{2}\left[f(x_0) + 2\sum_{i=1}^{n-1} f(x_i) + f(x_n)\right]
h = (b - a)/n; global truncation error is O(h^2).
\int_a^b f(x)\,dx \approx \frac{h}{3}\left[f(x_0) + 4\sum_{\text{odd}} f(x_i) + 2\sum_{\text{even}} f(x_i) + f(x_n)\right]
Requires an even number of subintervals n; global error is O(h^4).
L_i(x) = \prod_{j \ne i} \frac{x - x_j}{x_i - x_j}, \quad P(x) = \sum_{i=0}^{n} y_i L_i(x)
Unique degree-n polynomial passing through all n+1 data nodes.
Newton-Raphson can diverge or oscillate if the initial guess is too far from the root, if f'(x) is near zero at an iterate, or near inflection points.
Simpsons 1/3 fits a quadratic parabola across pairs of subintervals (3 points at a time), so the total subinterval count n must be even.
Using a single high-degree polynomial through evenly spaced nodes causes large oscillations near the interval endpoints; splines or Chebyshev nodes prevent this.