function z = fex24(x1,x2)
% example foe Fig 2.4 of M657 text
% Nocedal and Wrght, Spring 2013
z = 10*(x2 - x1.^2).^2 + (1-x1).^2;
end

