Companion Website

Computational Physics

From Equations to Simulation

Chapter 5

Interpolation

This chapter develops methods for estimating values between known data points. It introduces polynomial interpolation in Lagrange and Newton divided-difference forms, including forward and backward formulas for equally spaced data. It then examines interpolation error, the Runge phenomenon, and the use of Chebyshev nodes, before introducing cubic splines as a piecewise-polynomial alternative. The chapter closes by distinguishing interpolation from data fitting and presenting practical guidelines for choosing a method.

In this chapter

  1. 5.1 What interpolation does
  2. 5.2 General polynomial interpolation
  3. 5.3 Spline interpolation
  4. 5.4 Interpolation versus data fitting
  5. 5.5 Summary and practical guidelines
  6. 5.6 Computational exercises and projects

Companion resources