function f = fnc(x)

D=size(x,2);
X=zeros(1,D);
for i=1:D
    X(i)=table2array(x(1,i));
end

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%ここに最小値を探したい関数を書く
%最大値を探したいときは関数に(-1)を掛ける
x1 = X(1);
x2 = X(2);

f = sin(x1)+sin(x2);
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

end