Here are some Comments for ass't 3:
Q1) truncating to precision 4 or 5 happens after each operation.
Q2) Done quite well. Should hand in a copy of your code though.
Q3) Some limits should be justified, that is, some aren't obvious.
Also p need not be integer.
Q4) Done very well.
Q5) Also done well.
Q6) Most showed that (1,1) is a strict local min, but we wanted a
global min. This is just noticing f(1,1) = 0 and f(x) >=0.
Q7) The iterates are
(0, 0)
(0, 1/2)
(1/2, 1/2)
(1/2, 3/4)
(3/4, 3/4)
The optimal solution is (1,1) which can be shown through optimality
conditions.