Update hw10.tex

add worst case for problem1