function y = loss_example1_8(theta) % % This is the loss function that first appears in Example 1.8 (also used in Chap. 2) % y = theta(1)^4+theta(1)^2+theta(1)*theta(2)+theta(2)^2;