2 - Numbers
Published online by Cambridge University Press: 30 August 2023
Summary
Chapter 2 starts out with a physics motivation, chosen to be the experimental study of the photoelectric effect by Millikan. It then discusses the concepts of absolute and relative error, as well as eror propagation in general. It then goes on to discuss the representation of real numbers on the computer, touching on topics like overflow, machine precision, and catastrophic cancellation. It then addresses a variety of problems where rounding error becomes significant: compensated summation, analytic manipulation, Taylor series, and recursion. The chapter is rounded out by a physics project, which studies the multipole expansion in electromagnetism, and a problem set. The physics project provides an opportunity to introduce Legendre polynomials, which play an important role in the following chapters.
Keywords
- Type
- Chapter
- Information
- Numerical Methods in Physics with Python , pp. 31 - 88Publisher: Cambridge University PressPrint publication year: 2023