function [fc, gc, user] = func_e04ky(n, xc, user)
  gc = zeros(n, 1);
  
  fc = sin(3*xc(2)-xc(1).^2+1)+cos(2*xc(2).^2-2*xc(1));

  gc(1) = 2*(sin(2*xc(2).^2-2*xc(1)) - xc(1)*cos(3*xc(2) ...
                                     -xc(1).^2+1));
  gc(2) = 3*cos(3*xc(2)-xc(1).^2+1) - ...
                            4*xc(2)*sin(2*xc(2).^2-2*xc(1));