function F = KB4g(x)
%

F(1) = -0.7 + (x(1));
F(2) = -0.5 + (1-x(1)) + x(2) - x(4)*x(2);
F(3) = -0.5 + (1-x(2)) + x(3) - x(5)*x(3);
F(4) = -x(8) + 1 - x(4);
F(5) = -x(7) + 1 - x(6);
F(6) = -x(6) + (1-(x(1) + x(2) - x(8)*x(2)))/(1-x(2));
F(7) = -x(11) + 1 - x(5);
F(8) = -x(10) + 1 - x(9);
F(9) = -x(9) + (1-(x(2) + x(3) - x(11)*x(3)))/(1-x(3));
