Homework 3 for Jake's class: Andy's Optimization Homework