Click hw2-solutions.tex link to view the file.