function y = minfun(x)

% Objective function for the
% minimization basic example.

y = exp(x(1))*(4*x(1)^2+2*x(2)^2+4*x(1)*x(2)+2*x(2)+1);