function fx = f3 ( x )

%*****************************************************************************80
%
%% f3() evaluates a nonlinear system of 4 equations.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    09 April 2021
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    real X(N), the variable values.
%
%  Output:
%
%    real FX(N), the function values at X.
%
  fx = zeros ( 4, 1 );

  for i = 1 : 4
    fx(i) = ( x(i) - i )^2;
  end

  return
end
