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]
f.m sample function
Execute by typing
cobweb(@f,0,1,0.1,0.15);into matlab command window.