Skip to article frontmatterSkip to article content

How to use this book

For everyone

First, set up your computing environment:

This book is littered with computer examples. All the code used to generate the content you see is given to you. Here is a Julia example:

println("Welcome to Julia! Do you know π to 100 digits? Because I do! Look:")
setprecision(328)
BigFloat(π)
Welcome to Julia! Do you know π to 100 digits? Because I do! Look:
3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117071

If you hover over the code cell above, you will see an icon in the upper right corner that allows you to copy that code to your clipboard. You will probably do this kind of thing a lot as you work though this book. Many exercises are simply variations on the examples presented in the text.

One thing you do not have to copy is the code for the functions that are presented in the book as implementations of key algorithms. They will all be available once you install them, as described in the links above.[1]

Here is a short overview of major features of the book.


For instructors

If you find errors or want to suggest improvements, please open an issue.

My publisher, SIAM, is cautious about how this kind of text affects sales of the print book. If you are an instructor, please consider supporting us directly or buying a print copy in MATLAB or Julia so that we can show them this kind of resource can be financially viable.

The table of contents is the same as for the print editions, and most of the content is the same as well. A few of the MATLAB functions in later chapters have been updated from the original for better clarity. Exercises are largely the same, but there have been updates, changes, and additions to those in print, so always check the online version for exercise numbers and details.

Chapters 1–6 can be used as a single-semester introduction to numerical methods, and Chapters 7–13 can be used for a follow-up course. Many sections have downstream connections, but if you are looking for sections that can be skipped with minimal impact on other sections, we suggest the following:

Footnotes
  1. You didn’t skip the “first, do this” part, did you? Not a great look for you.

References
  1. Driscoll, T. A., & Braun, R. J. (2017). Fundamentals of Numerical Computation. Society for Industrial. 10.1137/1.9781611975086
  2. Driscoll, T. A., & Braun, R. J. (2022). Fundamentals of Numerical Computation: Julia Edition. Society for Industrial. 10.1137/1.9781611977011