function S=test(x)
% x0 = [0, 0]
% xo = [-1.3068, -1.4248]
% S(xo) = -176.1376
 i=1:5;
 S=sum(i.*cos((i-1)*x(1)+i))*sum(i.*cos((i+1)*x(2)+i))+(x(1)+1.42513)^2+(x(2)+0.80032)^2;

% 
%   [xo,Ot,nS]=swarm('test32',[0 0],0,[1 1],[-10 -10],[10 10],[],100,20)
%