Homework solutions for CS 321: Numerical Methods