Example of m-file, graphic output, matlab writeup (Word and PDF formats)

linear_beetle.m equations 1.5 (page 39) of text. You can download this file by right clicking on the link and using the "save as ..." option

Output from linear_beetle.m [PNG format]

Sample writeup [Microsoft Word format]

Sample writeup [PDF format]


cobweb.m Generate cobweb plot

f.m sample function

Execute by typing

	cobweb(@f,0,1,0.1,0.15); 
into matlab command window.
Codes for 2-body problem

twobody_script.m
twobody.m