function [ a, b, c, w ] = rule06 ( )

%*****************************************************************************80
%
%% rule06() returns the rule of precision 6.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    09 June 2023
%
%  Author:
%
%    John Burkardt
%
%  Reference:
%
%    Hong Xiao, Zydrunas Gimbutas,
%    A numerical algorithm for the construction of efficient
%    quadrature rules in two and higher dimensions, 
%    Computers and Mathematics with Applications,
%    Volume 59, 2010, pages 663-676.
%
%  Output:
%
%    real a(n), b(n), c(n): the barycentric coordinates of quadrature points.
%
%    real w(n): the quadrature weights.
%
  a = [ ...
          0.2194299825497829, ...
          0.5611400349004340, ...
          0.2194299825497830, ...
          0.4801379641122150, ...
          0.4801379641122151, ...
          0.0397240717755699, ...
          0.1416190159239681, ...
          0.8390092597147910, ...
          0.0193717243612410, ...
          0.8390092597147911, ...
          0.1416190159239681, ...
          0.0193717243612406 ];

  b = [ ...
          0.2194299825497831, ...
          0.2194299825497830, ...
          0.5611400349004342, ...
          0.0397240717755700, ...
          0.4801379641122150, ...
          0.4801379641122153, ...
          0.0193717243612408, ...
          0.1416190159239681, ...
          0.8390092597147911, ...
          0.0193717243612408, ...
          0.8390092597147912, ...
          0.1416190159239684 ];

  c = [ ...
          0.5611400349004340, ...
          0.2194299825497831, ...
          0.2194299825497829, ...
          0.4801379641122150, ...
          0.0397240717755699, ...
          0.4801379641122148, ...
          0.8390092597147911, ...
          0.0193717243612409, ...
          0.1416190159239679, ...
          0.1416190159239681, ...
          0.0193717243612407, ...
          0.8390092597147910 ];

  w = [ ...
          0.1713331241529810, ...
          0.1713331241529810, ...
          0.1713331241529810, ...
          0.0807310895930310, ...
          0.0807310895930310, ...
          0.0807310895930310, ...
          0.0406345597936607, ...
          0.0406345597936607, ...
          0.0406345597936607, ...
          0.0406345597936607, ...
          0.0406345597936607, ...
          0.0406345597936607 ];

  return
end
