TAM 203, Spring 2002 Matlab samples

 

The two body problem. There is a folder containing files and a README file. It shows how to do "the two body problem" and also contains a primitive replacement for ode23 so you can see what ode23 is about, at least in concept. The mac version is "stuffed", the PC version is "zipped".

mac version      pc version

Prelim 2, problem 2, spring 02. This is a folder with two M files. The problem is to draw a square after one second given that it was initially still and has a constant force at its edge. See the prelim 2 solutions for an explanation of the problem.The mac version is "stuffed", the PC version is "zipped".

mac version      pc version

Heat conduction. OK, this is really a Math 293 thing. But it does show how to do movies of line drawings. It makes a movie of T vs x as time evolves and heat spreads out in a bar. It uses Fourier series.

mac version       pc version      plain text