Abstract
The purpose of this chapter is to provide a brief introduction as to how a first- or second-order differential equation may be solved to the desired precision by using numerical methods like Euler’s method and fourth-order Runge–Kutta method. Emphasis is placed on the difference between an analytical and a numerical solution. Movement of a pendulum for an arbitrary amplitude is calculated numerically to exemplify how easily some problems can be solved by numerical methods. Methods for solving partial differential equations are also described, but are not used until a later chapter. The importance of testing, reproducibility and documentation of successive program versions are discussed. Specimen programs are given at the end of the chapter.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
Copyright information
© 2018 Springer Nature Switzerland AG
About this chapter
Cite this chapter
Vistnes, A.I. (2018). Numerical Methods. In: Physics of Oscillations and Waves. Undergraduate Texts in Physics. Springer, Cham. https://doi.org/10.1007/978-3-319-72314-3_4
Download citation
DOI: https://doi.org/10.1007/978-3-319-72314-3_4
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-72313-6
Online ISBN: 978-3-319-72314-3
eBook Packages: Physics and AstronomyPhysics and Astronomy (R0)