function [ n, x, y, w, s ] = hexagon_lyness_rule10 ( )

%*****************************************************************************80
%
%% hexagon_lyness_rule10() sets the Lyness hexagon quadrature rule #10.
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    21 April 2019
%
%  Author:
%
%    John Burkardt
%
%  Reference:
%
%    James Lyness, Giovanni Monegato,
%    Quadrature rules for regions having regular hexagonal symmetry,
%    SIAM Journal on Numerical Analysis.
%    Volume 14 Number 2, April 1977, pages 283-295.
%
%  Output:
%
%    integer n, the number of points.
%
%    real x(n), y(n), the points.
%
%    real w(n), the weights.
%
%    integer s, the strength.
%
  n = 25;
  x = zeros ( n, 1 );
  y = zeros ( n, 1 );
  w = zeros ( n, 1 );
  
  x(1) = 0.0;
  y(1) = 0.0;
  w(1) = 0.1043041454646236;

  x(2) = 0.7874008509822494;
  y(2) = 0.0000000000000000;
  w(2) = 0.2350378326146714/ 6.0;
  for i = 3 : 7
    x(i) = cosd ( 60.0 ) * x(i-1) - sind ( 60.0 ) * y(i-1);
    y(i) = sind ( 60.0 ) * x(i-1) + cosd ( 60.0 ) * y(i-1);
    w(i) = w(i-1);
  end

  x(8) = 1.637530293745074;
  y(8) = 0.0000000000000000;
  w(8) = 0.00001212970215135736 / 6.0;
  for i = 9 : 13
    x(i) = cosd ( 60.0 ) * x(i-1) - sind ( 60.0 ) * y(i-1);
    y(i) = sind ( 60.0 ) * x(i-1) + cosd ( 60.0 ) * y(i-1);
    w(i) = w(i-1);
  end

  x(14) = 0.4558453244274625;
  y(14) = 0.2631824207670278;
  w(14) = 0.4831120628489730 / 6.0;
  for i = 15 : 19
    x(i) = cosd ( 60.0 ) * x(i-1) - sind ( 60.0 ) * y(i-1);
    y(i) = sind ( 60.0 ) * x(i-1) + cosd ( 60.0 ) * y(i-1);
    w(i) = w(i-1);
  end

  x(20) = 0.7609303290122756;
  y(20) = 0.4393233302897878;
  w(20) = 0.1775338293695807 / 6.0;
  for i = 21 : 25
    x(i) = cosd ( 60.0 ) * x(i-1) - sind ( 60.0 ) * y(i-1);
    y(i) = sind ( 60.0 ) * x(i-1) + cosd ( 60.0 ) * y(i-1);
    w(i) = w(i-1);
  end

  s = 11;

  return
end
