began working on solutions for homework8.tex