function F = f3(x) 
N = length(x);
F  = zeros(N,1);
F(1) = x(1)^2 + 1 - x(2);
F(2) = 3*cos(x(1)) - x(2);
end