Math 128A - Numerical Analysis - Spring 2009


Instructor and Office Hours
Instructor: Trevor Potter
Email: potter at math dot berkeley dot edu
Office: 935 Evans Hall
Office Hours: Tuesday 2:00 - 4:00, Friday 2:00 - 3:00


Course guidelines


Announcements

Code to solve an equation of the form y' = B*y, B a matrix, using midpoint rule and implicit trapezoid rule: linearmidpt.m, linearimtrap.m

mvsspc.m: Matlab code implementing a simplified version of multistep variable step size predictfor corrector method. To run, it needs myrk4.m. It will not work on some problems because it will not prevent the stepsizes from growing too large or too small. Try it on case 1 of the pendulum problem with h0 = .05, tol = 1e-5, N = 1000. Use pendplot.m to see the motion of the result. Use plot(diff(t)) to see the change in step sizes.

I will be holding a review session in 0102 Moffitt this Sunday, 5:30 - 7:00.

Here's my matlab code to interpolate exp(x) on equally spaced points in the interval [0,1]: LI.m

The course webpage: http://persson.berkeley.edu/128A/