function [ a, b, c, d, w ] = rule05 ( )

%*****************************************************************************80
%
%% rule05() returns the rule of precision 5.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    02 April 2023
%
%  Author:
%
%    John Burkardt
%
%  Reference:
%
%    Jan Jaskowiec, Natarajan Sukumar,
%    High order symmetric cubature rules for tetrahedra and pyramids,
%    International Journal of Numerical Methods in Engineering,
%    Volume 122, Number 1, pages 148-171, 24 August 2020.
%
%  Output:
%
%    a(n), b(n), c(n), d(n): the barycentric coordinates of quadrature points.
%
%    w(n): the quadrature weights.
%
  a = [ ...
      0.31088591926330061410, ...
      0.06734224221009817157, ...
      0.31088591926330061410, ...
      0.31088591926330061410, ...
      0.09273525031089122073, ...
      0.72179424906732636558, ...
      0.09273525031089122073, ...
      0.09273525031089122073, ...
      0.04550370412564964939, ...
      0.45449629587435036449, ...
      0.04550370412564964939, ...
      0.45449629587435036449, ...
      0.04550370412564964939, ...
      0.45449629587435036449 ];

  b = [ ...
      0.31088591926330061410, ...
      0.31088591926330061410, ...
      0.06734224221009817157, ...
      0.31088591926330061410, ...
      0.09273525031089122073, ...
      0.09273525031089122073, ...
      0.72179424906732636558, ...
      0.09273525031089122073, ...
      0.45449629587435036449, ...
      0.04550370412564964939, ...
      0.04550370412564964939, ...
      0.45449629587435036449, ...
      0.45449629587435036449, ...
      0.04550370412564964939 ];

  c = [ ...
      0.31088591926330061410, ...
      0.31088591926330061410, ...
      0.31088591926330061410, ...
      0.06734224221009817157, ...
      0.09273525031089122073, ...
      0.09273525031089122073, ...
      0.09273525031089122073, ...
      0.72179424906732636558, ...
      0.45449629587435036449, ...
      0.45449629587435036449, ...
      0.45449629587435036449, ...
      0.04550370412564964939, ...
      0.04550370412564964939, ...
      0.04550370412564964939 ];

  d = [ ...
      0.06734224221009817157, ...
      0.31088591926330061410, ...
      0.31088591926330061410, ...
      0.31088591926330061410, ...
      0.72179424906732636558, ...
      0.09273525031089122073, ...
      0.09273525031089122073, ...
      0.09273525031089122073, ...
      0.04550370412564964939, ...
      0.04550370412564964939, ...
      0.45449629587435036449, ...
      0.04550370412564964939, ...
      0.45449629587435036449, ...
      0.45449629587435036449 ];

  w = [ ...
      0.11268792571801584945, ...
      0.11268792571801584945, ...
      0.11268792571801584945, ...
      0.11268792571801584945, ...
      0.07349304311636195575, ...
      0.07349304311636195575, ...
      0.07349304311636195575, ...
      0.07349304311636195575, ...
      0.04254602077708146551, ...
      0.04254602077708146551, ...
      0.04254602077708146551, ...
      0.04254602077708146551, ...
      0.04254602077708146551, ...
      0.04254602077708146551 ];

  return
end
