function value = trig2 ( xy )

%*****************************************************************************80
%
%% trig2 evaluates the trig2 function.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    21 September 2019
%
%  Input:
%
%    real xy(2), the argument.
%
%  Output:
%
%    real value(2), the function value.
%
  x = xy(1);
  y = xy(2);

  value = [ ...
    cos(x) - y;
    x - sin(y) ];

  return
end

