function value = p02_f ( n, x )

%*****************************************************************************80
%
%% P02_F evaluates test function #2 in the unit circle.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    12 December 2013
%
%  Author:
%
%    John Burkardt
%
%  Parameters:
%
%    Input, integer N, the number of variables.
%
%    Input, real X(2,N), the arguments.
%
%    Output, real VALUE(N,1), the values of the integrand.
%
  e = p02_param_get ( );

  r = sqrt ( sum ( x' .* x', 2 ) );

  value(1:n,1) = r .^ e;

  return
end

