Based on Lambert & Osborne, Chapter 8, p. 240-250.