hw5 prelim