Courses



Introduction to Numerical Analysis (Math 5620), Spring 2007:
The Syllabus in pdf format.



A superb Matlab tutorial .

Assignments


Example Matlab code
The Bisection method.

bisection_simple.m is a bare bones code. This is to start you off with some simple code.

bisection_plots.m is bisection_simple.m, augmented with plots to illustrate the algorithm's progress. Your code should include features like this when it helps you better understand what the algorithm does.

bisection_function.m and f_bisection.m go together. The bisection code calls the function f_bisection which makes the algorithm portable - that is easy to apply to other functions. This is to illustrate how to use functions and use them in a regular m-file.

The Secant method.

secant_function.m and f_secant.m go together. This is the code that was illustrated in class on Monday the 28th of August.


Lagrange interpolation.

lagrange.m and f_secant.m go together. This is similar to what was expected for the second assignment.


Happy Computing.