350 Handouts and M-files
Documentation
Slides
- Slides for lectures.
The printer-friendly versions collapse all overlays.
Advantages: fewer pages, smaller files;
Disadvantage: a couple of overlays are missing because they print on top of each other in the presentation.
Chapter 3 Chapter 3 (print) (minor updates, Feb.20;
Maple maplet and Mathematica notebooks for Mairhuber-Curtis theorem can be found below)
Chapter 7 Chapter 7 (print)
The PDF file contains some embedded VBS scripts that run MATLAB code directly from the PDF.
In order to be able to do this you will have to be on an MS Windows machine and download the
VBS script file CallMATLAB.vbs into the same folder as the PDF file.
You will also need to have MATLAB installed on that machine. Alternatively, you can just cut and paste
the MATLAB code fragments into the MATLAB command window.
MATLAB and Maple files
(html files are published versions produced from the M-files with MATLAB's publish function)
- MATLAB scripts for the first skydive model:
- MATLAB scripts for the second skydive model (also uses Euler.m):
- MATLAB scripts for the predator-prey model:
- Maple worksheet on Taylor approximation: Taylor.mw
- Minimal modification of Moler's floatgui.m:
Myfloatgui.m (updated Jan.27)
- MATLAB script to demonstrate roundoff error:
RoundoffDemo.m
- MATLAB script to illustrate loss of significant digits:
LossOfSignificanceDemo.m LossOfSignificanceDemo.html
- Introductory Matlab scripts
- MATLAB script to illustrate use of inverse for division:
division.m
- Maple worksheet on partial pivoting: PartialPivoting.mw
- MATLAB scripts from Numerical Computing with MATLAB (NCM) to illustrate the solution of linear systems:
- MATLAB scripts for the solution of tridiagonal linear systems:
- MATLAB scripts for pagerank calculations:
pagerank.m (from NCM, with a small modification by me)
TinyWeb.m (a little script that does a simple pagerank calculation and
also calls pagerank)
- MATLAB scripts for polynomial interpolation:
- MATLAB script for piecewise linear interpolation:
- MATLAB script for piecewise cubic Hermite interpolation:
- MATLAB scripts for cubic spline interpolation:
- Maplet for the proof of the Mairhuber-Curtis theorem:
- Mathematica version of the proof of the Mairhuber-Curtis theorem:
- MATLAB scripts for bisection method:
bisect.m (bisection method as explained in NCM)
- MATLAB scripts for Newton's method:
newton.m (Newton's method as explained in NCM)
- Maple worksheet for graphical illustration of Newton's method:
- MATLAB scripts for the secant method:
secant.m (secant method as explained in NCM)
- Maple worksheet for graphical illustration of secant method:
- MATLAB scripts for the inverse quadratic interpolation method:
iqi.m (inverse quadratic interpolation method as explained in NCM)
- MATLAB scripts for zero finding:
- MATLAB scripts for multivariate Newton's method:
- MATLAB scripts for function minimization:
fmintx.m (minimization routine from NCM)
- MATLAB scripts for least squares fitting:
censusgui2010.m (from NCM - updated for 2010 Census, illustrates different curve fitting methods)
SVD_movie.m (script that shows how to use SVD for image compression)
- Maple worksheet for various basic numerical integration methods:
- MATLAB scripts for numerical integration:
quadtx.m (from NCM, textbook version of built-in function quad)
quadgui.m (from NCM, illustrates adaptive quadrature)
QuadgkDemo.m (compares MATLAB functions quad and quadgk on a few integrals)
- Maple worksheet for various basic numerical differentiation methods:
- MATLAB scripts to illustrate Euler's method:
- Maple worksheet for Euler's method:
- MATLAB scripts to illustrate second-order Runge-Kutta method:
- MATLAB scripts to illustrate fourth-order Runge-Kutta method:
- MATLAB script to illustrate the convergence behavior of Euler, second- and fourth-order Runge-Kutta methods:
- MATLAB scripts for the twobody problem:
- twobody.m
Maple worksheet for match lighting problem:
MATLAB script for match lighting problem:
MATLAB scripts for the second skydive model with event handling:
MATLAB scripts for van der Pol problem:
Review for Tests
- Review for Midterm 1:
- Review for Midterm 2:
Look at the rest of the problems from the S08 midterm above
- Review for Final:
Solutions of Tests
Last updated: April 21, 2011
Greg Fasshauer
(fasshauer at iit.edu)