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

%*****************************************************************************80
%
%% rule11() returns the pyramid quadrature rule of precision 11.
%
%  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:
%
%    15 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.30959144111215058937, ...
      0.00000000000000000000, ...
     -0.30959144111215058937, ...
      0.00000000000000000000, ...
      0.76993922081029786408, ...
      0.00000000000000000000, ...
     -0.76993922081029786408, ...
      0.00000000000000000000, ...
      0.70027038117446127607, ...
      0.00000000000000000000, ...
     -0.70027038117446127607, ...
      0.00000000000000000000, ...
      0.46095035429072822586, ...
      0.00000000000000000000, ...
     -0.46095035429072822586, ...
      0.00000000000000000000, ...
      0.29928938216959510843, ...
      0.00000000000000000000, ...
     -0.29928938216959510843, ...
      0.00000000000000000000, ...
      0.59114943757155702375, ...
      0.00000000000000000000, ...
     -0.59114943757155702375, ...
      0.00000000000000000000, ...
      0.01861308147704909821, ...
      0.00000000000000000000, ...
     -0.01861308147704909821, ...
      0.00000000000000000000, ...
      0.16034290975464657314, ...
      0.00000000000000000000, ...
     -0.16034290975464657314, ...
      0.00000000000000000000, ...
      0.14450753554447465232, ...
     -0.14450753554447465232, ...
      0.14450753554447465232, ...
     -0.14450753554447465232, ...
      0.59369450979675508773, ...
     -0.59369450979675508773, ...
      0.59369450979675508773, ...
     -0.59369450979675508773, ...
      0.27490141802950085470, ...
     -0.27490141802950085470, ...
      0.27490141802950085470, ...
     -0.27490141802950085470, ...
      0.29680077247241393179, ...
     -0.29680077247241393179, ...
      0.29680077247241393179, ...
     -0.29680077247241393179, ...
      0.59849263706569033605, ...
     -0.59849263706569033605, ...
      0.59849263706569033605, ...
     -0.59849263706569033605, ...
      0.61031415307328662490, ...
     -0.61031415307328662490, ...
      0.61031415307328662490, ...
     -0.61031415307328662490, ...
      0.37345023081856359992, ...
     -0.37345023081856359992, ...
      0.37345023081856359992, ...
     -0.37345023081856359992, ...
      0.26245991463277401623, ...
     -0.26245991463277401623, ...
      0.26245991463277401623, ...
     -0.26245991463277401623, ...
      0.36860635719790568743, ...
     -0.36860635719790568743, ...
      0.36860635719790568743, ...
     -0.36860635719790568743, ...
      0.87026293442361135622, ...
     -0.87026293442361135622, ...
      0.87026293442361135622, ...
     -0.87026293442361135622, ...
      0.81025745002423155139, ...
     -0.81025745002423155139, ...
      0.81025745002423155139, ...
     -0.81025745002423155139, ...
      0.78967657467472973654, ...
      0.35527213835047594115, ...
     -0.78967657467472973654, ...
      0.35527213835047594115, ...
      0.78967657467472973654, ...
     -0.35527213835047594115, ...
     -0.78967657467472973654, ...
     -0.35527213835047594115, ...
      0.92805034944130604391, ...
      0.41484210234755791724, ...
     -0.92805034944130604391, ...
      0.41484210234755791724, ...
      0.92805034944130604391, ...
     -0.41484210234755791724, ...
     -0.92805034944130604391, ...
     -0.41484210234755791724, ...
      0.23313789083599262275, ...
      0.55628779191329114084, ...
     -0.23313789083599262275, ...
      0.55628779191329114084, ...
      0.23313789083599262275, ...
     -0.55628779191329114084, ...
     -0.23313789083599262275, ...
     -0.55628779191329114084 ];

  y = [ ...
      0.00000000000000000000, ...
      0.00000000000000000000, ...
      0.00000000000000000000, ...
      0.00000000000000000000, ...
      0.30959144111215058937, ...
      0.00000000000000000000, ...
     -0.30959144111215058937, ...
      0.00000000000000000000, ...
      0.76993922081029786408, ...
      0.00000000000000000000, ...
     -0.76993922081029786408, ...
      0.00000000000000000000, ...
      0.70027038117446127607, ...
      0.00000000000000000000, ...
     -0.70027038117446127607, ...
      0.00000000000000000000, ...
      0.46095035429072822586, ...
      0.00000000000000000000, ...
     -0.46095035429072822586, ...
      0.00000000000000000000, ...
      0.29928938216959510843, ...
      0.00000000000000000000, ...
     -0.29928938216959510843, ...
      0.00000000000000000000, ...
      0.59114943757155702375, ...
      0.00000000000000000000, ...
     -0.59114943757155702375, ...
      0.00000000000000000000, ...
      0.01861308147704909821, ...
      0.00000000000000000000, ...
     -0.01861308147704909821, ...
      0.00000000000000000000, ...
      0.16034290975464657314, ...
      0.00000000000000000000, ...
     -0.16034290975464657314, ...
      0.14450753554447465232, ...
      0.14450753554447465232, ...
     -0.14450753554447465232, ...
     -0.14450753554447465232, ...
      0.59369450979675508773, ...
      0.59369450979675508773, ...
     -0.59369450979675508773, ...
     -0.59369450979675508773, ...
      0.27490141802950085470, ...
      0.27490141802950085470, ...
     -0.27490141802950085470, ...
     -0.27490141802950085470, ...
      0.29680077247241393179, ...
      0.29680077247241393179, ...
     -0.29680077247241393179, ...
     -0.29680077247241393179, ...
      0.59849263706569033605, ...
      0.59849263706569033605, ...
     -0.59849263706569033605, ...
     -0.59849263706569033605, ...
      0.61031415307328662490, ...
      0.61031415307328662490, ...
     -0.61031415307328662490, ...
     -0.61031415307328662490, ...
      0.37345023081856359992, ...
      0.37345023081856359992, ...
     -0.37345023081856359992, ...
     -0.37345023081856359992, ...
      0.26245991463277401623, ...
      0.26245991463277401623, ...
     -0.26245991463277401623, ...
     -0.26245991463277401623, ...
      0.36860635719790568743, ...
      0.36860635719790568743, ...
     -0.36860635719790568743, ...
     -0.36860635719790568743, ...
      0.87026293442361135622, ...
      0.87026293442361135622, ...
     -0.87026293442361135622, ...
     -0.87026293442361135622, ...
      0.81025745002423155139, ...
      0.81025745002423155139, ...
     -0.81025745002423155139, ...
     -0.81025745002423155139, ...
      0.35527213835047594115, ...
      0.78967657467472973654, ...
      0.35527213835047594115, ...
     -0.78967657467472973654, ...
     -0.35527213835047594115, ...
      0.78967657467472973654, ...
     -0.35527213835047594115, ...
     -0.78967657467472973654, ...
      0.41484210234755791724, ...
      0.92805034944130604391, ...
      0.41484210234755791724, ...
     -0.92805034944130604391, ...
     -0.41484210234755791724, ...
      0.92805034944130604391, ...
     -0.41484210234755791724, ...
     -0.92805034944130604391, ...
      0.55628779191329114084, ...
      0.23313789083599262275, ...
      0.55628779191329114084, ...
     -0.23313789083599262275, ...
     -0.55628779191329114084, ...
      0.23313789083599262275, ...
     -0.55628779191329114084, ...
     -0.23313789083599262275 ];

  z = [ ...
      0.69295639647508833203, ...
      0.91101523446275922691, ...
      0.25032929072548470995, ...
      0.05040798390564713710, ...
      0.05040798390564713710, ...
      0.05040798390564713710, ...
      0.05040798390564713710, ...
      0.01178348626907169128, ...
      0.01178348626907169128, ...
      0.01178348626907169128, ...
      0.01178348626907169128, ...
      0.10103940902556154957, ...
      0.10103940902556154957, ...
      0.10103940902556154957, ...
      0.10103940902556154957, ...
      0.34272757605804599068, ...
      0.34272757605804599068, ...
      0.34272757605804599068, ...
      0.34272757605804599068, ...
      0.62869898216776509692, ...
      0.62869898216776509692, ...
      0.62869898216776509692, ...
      0.62869898216776509692, ...
      0.25822848523085090156, ...
      0.25822848523085090156, ...
      0.25822848523085090156, ...
      0.25822848523085090156, ...
      0.43583449548328001555, ...
      0.43583449548328001555, ...
      0.43583449548328001555, ...
      0.43583449548328001555, ...
      0.21928319414297889334, ...
      0.21928319414297889334, ...
      0.21928319414297889334, ...
      0.21928319414297889334, ...
      0.78797433053468768360, ...
      0.78797433053468768360, ...
      0.78797433053468768360, ...
      0.78797433053468768360, ...
      0.30892958869107134401, ...
      0.30892958869107134401, ...
      0.30892958869107134401, ...
      0.30892958869107134401, ...
      0.01781185684646453826, ...
      0.01781185684646453826, ...
      0.01781185684646453826, ...
      0.01781185684646453826, ...
      0.11127033608982600521, ...
      0.11127033608982600521, ...
      0.11127033608982600521, ...
      0.11127033608982600521, ...
      0.02444716310077480956, ...
      0.02444716310077480956, ...
      0.02444716310077480956, ...
      0.02444716310077480956, ...
      0.12041875519309763742, ...
      0.12041875519309763742, ...
      0.12041875519309763742, ...
      0.12041875519309763742, ...
      0.57752532555241498091, ...
      0.57752532555241498091, ...
      0.57752532555241498091, ...
      0.57752532555241498091, ...
      0.49169801908816329616, ...
      0.49169801908816329616, ...
      0.49169801908816329616, ...
      0.49169801908816329616, ...
      0.26311325712772259955, ...
      0.26311325712772259955, ...
      0.26311325712772259955, ...
      0.26311325712772259955, ...
      0.01908681361607608359, ...
      0.01908681361607608359, ...
      0.01908681361607608359, ...
      0.01908681361607608359, ...
      0.11692619926762114202, ...
      0.11692619926762114202, ...
      0.11692619926762114202, ...
      0.11692619926762114202, ...
      0.17968095390177224457, ...
      0.17968095390177224457, ...
      0.17968095390177224457, ...
      0.17968095390177224457, ...
      0.17968095390177224457, ...
      0.17968095390177224457, ...
      0.17968095390177224457, ...
      0.17968095390177224457, ...
      0.03535559961728908934, ...
      0.03535559961728908934, ...
      0.03535559961728908934, ...
      0.03535559961728908934, ...
      0.03535559961728908934, ...
      0.03535559961728908934, ...
      0.03535559961728908934, ...
      0.03535559961728908934, ...
      0.41464402024224555898, ...
      0.41464402024224555898, ...
      0.41464402024224555898, ...
      0.41464402024224555898, ...
      0.41464402024224555898, ...
      0.41464402024224555898, ...
      0.41464402024224555898, ...
      0.41464402024224555898 ];

  w = [ ...
      0.01286363653695535118, ...
      0.00259572122542773513, ...
      0.00817638570047552610, ...
      0.00511941439804289126, ...
      0.00511941439804289126, ...
      0.00511941439804289126, ...
      0.00511941439804289126, ...
      0.00684699666646234988, ...
      0.00684699666646234988, ...
      0.00684699666646234988, ...
      0.00684699666646234988, ...
      0.02021405278036775971, ...
      0.02021405278036775971, ...
      0.02021405278036775971, ...
      0.02021405278036775971, ...
      0.01240017518258633086, ...
      0.01240017518258633086, ...
      0.01240017518258633086, ...
      0.01240017518258633086, ...
      0.01050060859922616330, ...
      0.01050060859922616330, ...
      0.01050060859922616330, ...
      0.01050060859922616330, ...
      0.01207523991498536502, ...
      0.01207523991498536502, ...
      0.01207523991498536502, ...
      0.01207523991498536502, ...
      0.00794549439937168242, ...
      0.00794549439937168242, ...
      0.00794549439937168242, ...
      0.00794549439937168242, ...
      0.00897930801963979161, ...
      0.00897930801963979161, ...
      0.00897930801963979161, ...
      0.00897930801963979161, ...
      0.00432861007717266853, ...
      0.00432861007717266853, ...
      0.00432861007717266853, ...
      0.00432861007717266853, ...
      0.00959150593850333251, ...
      0.00959150593850333251, ...
      0.00959150593850333251, ...
      0.00959150593850333251, ...
      0.00845889607542490291, ...
      0.00845889607542490291, ...
      0.00845889607542490291, ...
      0.00845889607542490291, ...
      0.02093917618186586990, ...
      0.02093917618186586990, ...
      0.02093917618186586990, ...
      0.02093917618186586990, ...
      0.01007335618421271312, ...
      0.01007335618421271312, ...
      0.01007335618421271312, ...
      0.01007335618421271312, ...
      0.01474935950898293054, ...
      0.01474935950898293054, ...
      0.01474935950898293054, ...
      0.01474935950898293054, ...
      0.00405432020025909591, ...
      0.00405432020025909591, ...
      0.00405432020025909591, ...
      0.00405432020025909591, ...
      0.01768012056788626288, ...
      0.01768012056788626288, ...
      0.01768012056788626288, ...
      0.01768012056788626288, ...
      0.02349367280688881635, ...
      0.02349367280688881635, ...
      0.02349367280688881635, ...
      0.02349367280688881635, ...
      0.00300355345952720053, ...
      0.00300355345952720053, ...
      0.00300355345952720053, ...
      0.00300355345952720053, ...
      0.00433057971890565482, ...
      0.00433057971890565482, ...
      0.00433057971890565482, ...
      0.00433057971890565482, ...
      0.00788297764391489818, ...
      0.00788297764391489818, ...
      0.00788297764391489818, ...
      0.00788297764391489818, ...
      0.00788297764391489818, ...
      0.00788297764391489818, ...
      0.00788297764391489818, ...
      0.00788297764391489818, ...
      0.00509491185532656536, ...
      0.00509491185532656536, ...
      0.00509491185532656536, ...
      0.00509491185532656536, ...
      0.00509491185532656536, ...
      0.00509491185532656536, ...
      0.00509491185532656536, ...
      0.00509491185532656536, ...
      0.00667542222774531943, ...
      0.00667542222774531943, ...
      0.00667542222774531943, ...
      0.00667542222774531943, ...
      0.00667542222774531943, ...
      0.00667542222774531943, ...
      0.00667542222774531943, ...
      0.00667542222774531943 ];

  return
end
