CS380C - Assignment 3: Scalar Optimization