Matematik och Datavetenskap, Chalmers Tekniska Högskola och Göteborgs Universitet

TMA740B Analys i en variabel Kf Kb, del B, 1999, MATLAB Exercises

Weekly matlab programming exercises will train various programming skills such as: loops, function subroutines, plotting, documentation of programs, and de-bugging and testing of programs, together with mathematical concepts and algorithms. Step by step you will build your own integrator for general initial-value problems for systems of nonlinear ordinary differential equations. Depending on your ambition and interest you may add more advanced mathematical features such as global error control, or programming features such as more advanced user interface or visualization of solutions.

Do these exercises week by week. Show your programs and discuss them with your supervisor every week.

In addition to the exercise groups we offer extra computer tutoring for all students on Wednesdays at 15-17 in rooms D10-D11, second floor, Chemistry building.

The programming exercises are an essential part of the course. Each student must write and keep a full set of programs.

Contents:

1: function file, bisection, fixed point iteration, Newton
2: quadrature, the logarithm function
3: quadrature, the exponential function, adaptivity
4: sine, cosine, the oscillator, plot solution curves, phase portrait
5: ODE solver
6: Newton's method for systems
7: your own ODE solver is ready!

/stig


Last modified: Thu Sep 23 12:11:57 MET DST 1999