chapter3 function

chapter3 The 27 R-code chunks from Simple Population Models