Review of Elementary Numerical Methods and MATLAB®
John M. Neuberger ()
Additional contact information
John M. Neuberger: Northern Arizona University, Department of Mathematics and Statistics
Chapter Chapter 2 in Difference Matrices for ODE and PDE, 2023, pp 11-61 from Springer
Abstract:
Summary In this chapter, we review the use of MATLAB® in the context of several elementary applications from ordinary differential equations and calculus. First, we practice basic matrix and vector operations at the command line. Next, we write a short code to implement Euler’s method, which we then easily modify to implement the Runge–Kutta method for systems. We recall the shooting method, an ODE-only technique for solving BVP via repeated application of an IVP solver. We further demonstrate MATLAB syntax and programming techniques on several elementary numerical differentiation and integration problems, apply Newton’s method to nonlinear systems, and solve a cubic spline with a single linear system solve step. The included homework exercises require the reader to implement the example programs, and introduce some new concepts. Each section ends with one or more subsections containing a brief discussion of the various aspects of MATLAB which one needs in order to implement and execute the algorithms. This material attempts to address the many frequently asked questions concerning the nuts and bolts of getting a program to produce appropriate output. We introduce some concepts and techniques for the comparison of approximate solutions to exact solutions, a pedagogical theme repeated in the HW exercises throughout this textbook. We present in gray boxes overviews of specific MATLAB commands and syntax used in these programs which might be new to the uninitiated, and which are relied on heavily throughout this text.
Date: 2023
References: Add references at CitEc
Citations:
There are no downloads for this item, see the EconPapers FAQ for hints about obtaining it.
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:spr:sprchp:978-3-031-12000-8_2
Ordering information: This item can be ordered from
http://www.springer.com/9783031120008
DOI: 10.1007/978-3-031-12000-8_2
Access Statistics for this chapter
More chapters in Springer Books from Springer
Bibliographic data for series maintained by Sonal Shukla () and Springer Nature Abstracting and Indexing ().