function [ x, y, z, w ] = rule10 ( )

%*****************************************************************************80
%
%% rule10() returns the pyramid quadrature rule of precision 10.
%
%  Discussion:
%
%    The unit pyramid with square base is the region
%
%      -1 <= X <= 1
%      -1 <= Y <= 1
%       0 <= Z <= 1.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    14 April 2023
%
%  Author:
%
%    John Burkardt
%
%  Reference:
%
%    Jan Jaskowiec, Natarajan Sukumar,
%    High order symmetric cubature rules for tetrahedra and pyramids,
%    International Journal for Numerical Methods in Engineering,
%    Volume 122, Number 1, pages 148-171, 24 August 2020.
%
%  Output:
%
%    x(n), y(n), z(n): the coordinates of quadrature points.
%
%    w(n): the quadrature weights.
%
  x = [ ...
      0.00000000000000000000, ...
      0.00000000000000000000, ...
      0.00000000000000000000, ...
      0.00000000000000000000, ...
      0.65420170176119341043, ...
      0.00000000000000000000, ...
     -0.65420170176119341043, ...
      0.00000000000000000000, ...
      0.76633927991746164654, ...
      0.00000000000000000000, ...
     -0.76633927991746164654, ...
      0.00000000000000000000, ...
      0.80421056101815546757, ...
      0.00000000000000000000, ...
     -0.80421056101815546757, ...
      0.00000000000000000000, ...
      0.21719757883626783501, ...
      0.00000000000000000000, ...
     -0.21719757883626783501, ...
      0.00000000000000000000, ...
      0.20937347351036650345, ...
      0.00000000000000000000, ...
     -0.20937347351036650345, ...
      0.00000000000000000000, ...
      0.52830709053289259813, ...
      0.00000000000000000000, ...
     -0.52830709053289259813, ...
      0.00000000000000000000, ...
      0.34681490190497532566, ...
     -0.34681490190497532566, ...
      0.34681490190497532566, ...
     -0.34681490190497532566, ...
      0.54234774233239257946, ...
     -0.54234774233239257946, ...
      0.54234774233239257946, ...
     -0.54234774233239257946, ...
      0.42965769544556714488, ...
     -0.42965769544556714488, ...
      0.42965769544556714488, ...
     -0.42965769544556714488, ...
      0.71871414601724947779, ...
     -0.71871414601724947779, ...
      0.71871414601724947779, ...
     -0.71871414601724947779, ...
      0.76244008578748778682, ...
     -0.76244008578748778682, ...
      0.76244008578748778682, ...
     -0.76244008578748778682, ...
      0.96427350086319296718, ...
     -0.96427350086319296718, ...
      0.96427350086319296718, ...
     -0.96427350086319296718, ...
      0.27897388698743774693, ...
     -0.27897388698743774693, ...
      0.27897388698743774693, ...
     -0.27897388698743774693, ...
      0.73124529835235163588, ...
      0.37115067890003261564, ...
     -0.73124529835235163588, ...
      0.37115067890003261564, ...
      0.73124529835235163588, ...
     -0.37115067890003261564, ...
     -0.73124529835235163588, ...
     -0.37115067890003261564, ...
      0.92194807057971739361, ...
      0.41966522833393532510, ...
     -0.92194807057971739361, ...
      0.41966522833393532510, ...
      0.92194807057971739361, ...
     -0.41966522833393532510, ...
     -0.92194807057971739361, ...
     -0.41966522833393532510, ...
      0.19954261519157223681, ...
      0.44340097447242488027, ...
     -0.19954261519157223681, ...
      0.44340097447242488027, ...
      0.19954261519157223681, ...
     -0.44340097447242488027, ...
     -0.19954261519157223681, ...
     -0.44340097447242488027 ];

  y = [ ...
      0.00000000000000000000, ...
      0.00000000000000000000, ...
      0.00000000000000000000, ...
      0.00000000000000000000, ...
      0.00000000000000000000, ...
      0.65420170176119341043, ...
      0.00000000000000000000, ...
     -0.65420170176119341043, ...
      0.00000000000000000000, ...
      0.76633927991746164654, ...
      0.00000000000000000000, ...
     -0.76633927991746164654, ...
      0.00000000000000000000, ...
      0.80421056101815546757, ...
      0.00000000000000000000, ...
     -0.80421056101815546757, ...
      0.00000000000000000000, ...
      0.21719757883626783501, ...
      0.00000000000000000000, ...
     -0.21719757883626783501, ...
      0.00000000000000000000, ...
      0.20937347351036650345, ...
      0.00000000000000000000, ...
     -0.20937347351036650345, ...
      0.00000000000000000000, ...
      0.52830709053289259813, ...
      0.00000000000000000000, ...
     -0.52830709053289259813, ...
      0.34681490190497532566, ...
      0.34681490190497532566, ...
     -0.34681490190497532566, ...
     -0.34681490190497532566, ...
      0.54234774233239257946, ...
      0.54234774233239257946, ...
     -0.54234774233239257946, ...
     -0.54234774233239257946, ...
      0.42965769544556714488, ...
      0.42965769544556714488, ...
     -0.42965769544556714488, ...
     -0.42965769544556714488, ...
      0.71871414601724947779, ...
      0.71871414601724947779, ...
     -0.71871414601724947779, ...
     -0.71871414601724947779, ...
      0.76244008578748778682, ...
      0.76244008578748778682, ...
     -0.76244008578748778682, ...
     -0.76244008578748778682, ...
      0.96427350086319296718, ...
      0.96427350086319296718, ...
     -0.96427350086319296718, ...
     -0.96427350086319296718, ...
      0.27897388698743774693, ...
      0.27897388698743774693, ...
     -0.27897388698743774693, ...
     -0.27897388698743774693, ...
      0.37115067890003261564, ...
      0.73124529835235163588, ...
      0.37115067890003261564, ...
     -0.73124529835235163588, ...
     -0.37115067890003261564, ...
      0.73124529835235163588, ...
     -0.37115067890003261564, ...
     -0.73124529835235163588, ...
      0.41966522833393532510, ...
      0.92194807057971739361, ...
      0.41966522833393532510, ...
     -0.92194807057971739361, ...
     -0.41966522833393532510, ...
      0.92194807057971739361, ...
     -0.41966522833393532510, ...
     -0.92194807057971739361, ...
      0.44340097447242488027, ...
      0.19954261519157223681, ...
      0.44340097447242488027, ...
     -0.19954261519157223681, ...
     -0.44340097447242488027, ...
      0.19954261519157223681, ...
     -0.44340097447242488027, ...
     -0.19954261519157223681 ];

  z = [ ...
      0.91766654896784238815, ...
      0.70900937404687269794, ...
      0.22713967401042231553, ...
      0.06874011069480644165, ...
      0.12392544997399050632, ...
      0.12392544997399050632, ...
      0.12392544997399050632, ...
      0.12392544997399050632, ...
      0.02096299791450871586, ...
      0.02096299791450871586, ...
      0.02096299791450871586, ...
      0.02096299791450871586, ...
      0.16577313546766450636, ...
      0.16577313546766450636, ...
      0.16577313546766450636, ...
      0.16577313546766450636, ...
      0.49340520933953563310, ...
      0.49340520933953563310, ...
      0.49340520933953563310, ...
      0.49340520933953563310, ...
      0.78969767134839341516, ...
      0.78969767134839341516, ...
      0.78969767134839341516, ...
      0.78969767134839341516, ...
      0.47169288904858786005, ...
      0.47169288904858786005, ...
      0.47169288904858786005, ...
      0.47169288904858786005, ...
      0.02011394567580290782, ...
      0.02011394567580290782, ...
      0.02011394567580290782, ...
      0.02011394567580290782, ...
      0.36822101998927786459, ...
      0.36822101998927786459, ...
      0.36822101998927786459, ...
      0.36822101998927786459, ...
      0.12661594867701117528, ...
      0.12661594867701117528, ...
      0.12661594867701117528, ...
      0.12661594867701117528, ...
      0.02433819982878694319, ...
      0.02433819982878694319, ...
      0.02433819982878694319, ...
      0.02433819982878694319, ...
      0.12701442502569038062, ...
      0.12701442502569038062, ...
      0.12701442502569038062, ...
      0.12701442502569038062, ...
      0.01067692573406054529, ...
      0.01067692573406054529, ...
      0.01067692573406054529, ...
      0.01067692573406054529, ...
      0.59704297313030385563, ...
      0.59704297313030385563, ...
      0.59704297313030385563, ...
      0.59704297313030385563, ...
      0.21756166315495037433, ...
      0.21756166315495037433, ...
      0.21756166315495037433, ...
      0.21756166315495037433, ...
      0.21756166315495037433, ...
      0.21756166315495037433, ...
      0.21756166315495037433, ...
      0.21756166315495037433, ...
      0.04137857207280886546, ...
      0.04137857207280886546, ...
      0.04137857207280886546, ...
      0.04137857207280886546, ...
      0.04137857207280886546, ...
      0.04137857207280886546, ...
      0.04137857207280886546, ...
      0.04137857207280886546, ...
      0.32615365723990619173, ...
      0.32615365723990619173, ...
      0.32615365723990619173, ...
      0.32615365723990619173, ...
      0.32615365723990619173, ...
      0.32615365723990619173, ...
      0.32615365723990619173, ...
      0.32615365723990619173 ];

  w = [ ...
      0.00222688724675269151, ...
      0.01676862119517166794, ...
      0.05218524659101939772, ...
      0.02912684113372536118, ...
      0.02061250827144200243, ...
      0.02061250827144200243, ...
      0.02061250827144200243, ...
      0.02061250827144200243, ...
      0.01001318317045431922, ...
      0.01001318317045431922, ...
      0.01001318317045431922, ...
      0.01001318317045431922, ...
      0.00380589471978953851, ...
      0.00380589471978953851, ...
      0.00380589471978953851, ...
      0.00380589471978953851, ...
      0.01603356460939567643, ...
      0.01603356460939567643, ...
      0.01603356460939567643, ...
      0.01603356460939567643, ...
      0.00421057398582402181, ...
      0.00421057398582402181, ...
      0.00421057398582402181, ...
      0.00421057398582402181, ...
      0.00812973230941097316, ...
      0.00812973230941097316, ...
      0.00812973230941097316, ...
      0.00812973230941097316, ...
      0.01345646795638386767, ...
      0.01345646795638386767, ...
      0.01345646795638386767, ...
      0.01345646795638386767, ...
      0.01016376299548378027, ...
      0.01016376299548378027, ...
      0.01016376299548378027, ...
      0.01016376299548378027, ...
      0.02981645762492043245, ...
      0.02981645762492043245, ...
      0.02981645762492043245, ...
      0.02981645762492043245, ...
      0.00865712783423741410, ...
      0.00865712783423741410, ...
      0.00865712783423741410, ...
      0.00865712783423741410, ...
      0.00953199916493123987, ...
      0.00953199916493123987, ...
      0.00953199916493123987, ...
      0.00953199916493123987, ...
      0.00071395826747580517, ...
      0.00071395826747580517, ...
      0.00071395826747580517, ...
      0.00071395826747580517, ...
      0.01519293397619959039, ...
      0.01519293397619959039, ...
      0.01519293397619959039, ...
      0.01519293397619959039, ...
      0.01008533639437561233, ...
      0.01008533639437561233, ...
      0.01008533639437561233, ...
      0.01008533639437561233, ...
      0.01008533639437561233, ...
      0.01008533639437561233, ...
      0.01008533639437561233, ...
      0.01008533639437561233, ...
      0.00585933822996072967, ...
      0.00585933822996072967, ...
      0.00585933822996072967, ...
      0.00585933822996072967, ...
      0.00585933822996072967, ...
      0.00585933822996072967, ...
      0.00585933822996072967, ...
      0.00585933822996072967, ...
      0.02134779341185568530, ...
      0.02134779341185568530, ...
      0.02134779341185568530, ...
      0.02134779341185568530, ...
      0.02134779341185568530, ...
      0.02134779341185568530, ...
      0.02134779341185568530, ...
      0.02134779341185568530 ];

  return
end
