CBE 20258 - Lecture Notes - Jan. 18, 2018

Announcements


Class notes


Examples:

We ran two examples in class today. The first was a demonstration of probability calculations and how to avoid underflow and overflow errors given here. The second was a demonstration of how algorithm and round off errors trade off in determining the accuracy of a forward difference approximation to a first derivative. The example is given here. Try modifying this code to include the centered difference algorithm discussed at the end of class and see how it affects the optimum step size!


Reading


David.T.Leighton.1@nd.edu