EE364a Homework 5 solutions