my corrections up to (and not including) chapter 5. Example of applications