function y = bh3(x)
% 
% Bohachecsky function 3
% Matlab Code by A. Hedar (Sep. 29, 2005).
% The number of variables n = 2.
% 
y = x(1)^2+2*x(2)^2-0.3*cos(3*pi*x(1)+4*pi*x(2))+0.3;