Math 582D project 2