Did problems 1-3 on hw3