function value = poly1 ( n, x )

%*****************************************************************************80
%
%% poly1() evaluates a sample polynomial function.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    23 May 2012
%
%  Author:
%
%    John Burkardt
%
  value = 1.0 + 2.0 * x + 3.0 * x.^2 + 4.0 * x.^3 + 5.0 * x.^5;

  return
end
