function x = powers_r ( r, i )

%*****************************************************************************80
%
%% powers_r() returns a data component given (R).
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    23 October 2018
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    real R, the coordinate of a point that lies on the boundary.
%
%    integer I, the component of the data which is to be returned.
%
%  Output:
%
%    real X, the I-th component of the data vector X, evaluated
%    at the point (R), which is on the unit line segment.
%
  x = r ^ i;

  return
end
