Skip to main content Accessibility help
×
Hostname: page-component-586b7cd67f-t7czq Total loading time: 0 Render date: 2024-11-26T12:03:20.446Z Has data issue: false hasContentIssue false

6 - Approximation

Published online by Cambridge University Press:  30 August 2023

Alex Gezerlis
Affiliation:
University of Guelph, Ontario
Get access

Summary

Chapter 6 starts out with a physics motivation, as well as a mathematical statement of the problems that will be tackled in later sections. First, polynomial interpolation is carried out using both the monomial basis and the Lagrange-interpolation formalism, sped up via the barycentric formula. This includes a derivation of the error and an emphasis on using unequally spaced points (Chebyshev nodes). Second, cubic-spline interpolation is introduced. Third, a section is dedicated to trigonometric interpolation, carefully working through the conventions and formalism needed to implement one of the most successful algorithms ever, the fast Fourier transform (FFT). Fourth, the topic of linear least-squares fitting is tackled, including the general formalism of the normal equations. The second edition includes a substantive new section on statistical inference, covering both frequentist and Bayesian approaches to linear regression. Nonlinear least-squares fitting is covered next, including the Gauss-Newton method and artificial neural networks. The chapter is rounded out by a physics project, on the experimental verification of the Stefan-Boltzmann law, and a problem set. In addition to providing a historical background on black-body radiation, the physics project shows an example of nonlinear least-squares fitting.

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 2023

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure [email protected] is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

  • Approximation
  • Alex Gezerlis, University of Guelph, Ontario
  • Book: Numerical Methods in Physics with Python
  • Online publication: 30 August 2023
  • Chapter DOI: https://doi.org/10.1017/9781009303897.007
Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

  • Approximation
  • Alex Gezerlis, University of Guelph, Ontario
  • Book: Numerical Methods in Physics with Python
  • Online publication: 30 August 2023
  • Chapter DOI: https://doi.org/10.1017/9781009303897.007
Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

  • Approximation
  • Alex Gezerlis, University of Guelph, Ontario
  • Book: Numerical Methods in Physics with Python
  • Online publication: 30 August 2023
  • Chapter DOI: https://doi.org/10.1017/9781009303897.007
Available formats
×