Homework 6 for WPI RBE 2001 Homework 6.