Example 3.11 from Section 3.9 - unmodified
added my notes
Done with Chapter 3 except Exercises!