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

%*****************************************************************************80
%
%% rule22() returns the rule of precision 22.
%
%  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.3851845246273021, ...
          0.3851845246273021, ...
          0.2296309507453957, ...
          0.4577694113676721, ...
          0.4577694113676721, ...
          0.0844611772646559, ...
          0.0698421694674436, ...
          0.9222815483109740, ...
          0.0078762822215824, ...
          0.9222815483109740, ...
          0.0698421694674436, ...
          0.0078762822215821, ...
          0.2945582590299500, ...
          0.4108834819400997, ...
          0.2945582590299501, ...
          0.1885105236302838, ...
          0.6229789527394320, ...
          0.1885105236302841, ...
          0.4219818887935349, ...
          0.4219818887935349, ...
          0.1560362224129301, ...
          0.0903988311664077, ...
          0.8648488844852564, ...
          0.0447522843483360, ...
          0.8648488844852564, ...
          0.0903988311664079, ...
          0.0447522843483357, ...
          0.4113417640205587, ...
          0.5503830012785774, ...
          0.0382752347008638, ...
          0.5503830012785774, ...
          0.4113417640205588, ...
          0.0382752347008637, ...
          0.3321061050074464, ...
          0.5651468190056221, ...
          0.1027470759869314, ...
          0.5651468190056222, ...
          0.3321061050074463, ...
          0.1027470759869313, ...
          0.3625762804324673, ...
          0.6300234783328220, ...
          0.0074002412347108, ...
          0.6300234783328220, ...
          0.3625762804324673, ...
          0.0074002412347107, ...
          0.2900668241166688, ...
          0.5188518779166110, ...
          0.1910812979667201, ...
          0.5188518779166110, ...
          0.2900668241166688, ...
          0.1910812979667200, ...
          0.4961611784097086, ...
          0.4961611784097086, ...
          0.0076776431805827, ...
          0.2879318028241718, ...
          0.6680765517823724, ...
          0.0439916453934559, ...
          0.6680765517823722, ...
          0.2879318028241718, ...
          0.0439916453934557, ...
          0.2167869333649411, ...
          0.6745231247723867, ...
          0.1086899418626721, ...
          0.6745231247723867, ...
          0.2167869333649412, ...
          0.1086899418626718, ...
          0.1458737198735252, ...
          0.8449815687515108, ...
          0.0091447113749641, ...
          0.8449815687515108, ...
          0.1458737198735252, ...
          0.0091447113749638, ...
          0.1762974348245001, ...
          0.7754476410608585, ...
          0.0482549241146414, ...
          0.7754476410608585, ...
          0.1762974348245001, ...
          0.0482549241146412, ...
          0.2439906460394931, ...
          0.7468454447123216, ...
          0.0091639092481853, ...
          0.7468454447123217, ...
          0.2439906460394931, ...
          0.0091639092481851, ...
          0.0291084706708074, ...
          0.9417830586583850, ...
          0.0291084706708079, ...
          0.1154315382192049, ...
          0.7691369235615900, ...
          0.1154315382192052, ...
          0.0179343210529390, ...
          0.9802672139581126, ...
          0.0017984649889486, ...
          0.9802672139581127, ...
          0.0179343210529391, ...
          0.0017984649889481 ];

  b = [ ...
          0.2296309507453958, ...
          0.3851845246273022, ...
          0.3851845246273022, ...
          0.0844611772646559, ...
          0.4577694113676721, ...
          0.4577694113676722, ...
          0.0078762822215824, ...
          0.0698421694674436, ...
          0.9222815483109743, ...
          0.0078762822215824, ...
          0.9222815483109743, ...
          0.0698421694674439, ...
          0.2945582590299502, ...
          0.2945582590299502, ...
          0.4108834819400998, ...
          0.1885105236302840, ...
          0.1885105236302839, ...
          0.6229789527394323, ...
          0.1560362224129302, ...
          0.4219818887935350, ...
          0.4219818887935351, ...
          0.0447522843483359, ...
          0.0903988311664078, ...
          0.8648488844852564, ...
          0.0447522843483359, ...
          0.8648488844852564, ...
          0.0903988311664081, ...
          0.0382752347008638, ...
          0.4113417640205588, ...
          0.5503830012785776, ...
          0.0382752347008638, ...
          0.5503830012785775, ...
          0.4113417640205590, ...
          0.1027470759869314, ...
          0.3321061050074464, ...
          0.5651468190056224, ...
          0.1027470759869314, ...
          0.5651468190056224, ...
          0.3321061050074466, ...
          0.0074002412347108, ...
          0.3625762804324673, ...
          0.6300234783328221, ...
          0.0074002412347108, ...
          0.6300234783328221, ...
          0.3625762804324675, ...
          0.1910812979667202, ...
          0.2900668241166688, ...
          0.5188518779166111, ...
          0.1910812979667202, ...
          0.5188518779166111, ...
          0.2900668241166690, ...
          0.0076776431805828, ...
          0.4961611784097087, ...
          0.4961611784097089, ...
          0.0439916453934559, ...
          0.2879318028241719, ...
          0.6680765517823725, ...
          0.0439916453934559, ...
          0.6680765517823725, ...
          0.2879318028241721, ...
          0.1086899418626720, ...
          0.2167869333649412, ...
          0.6745231247723870, ...
          0.1086899418626720, ...
          0.6745231247723870, ...
          0.2167869333649414, ...
          0.0091447113749641, ...
          0.1458737198735252, ...
          0.8449815687515109, ...
          0.0091447113749641, ...
          0.8449815687515109, ...
          0.1458737198735255, ...
          0.0482549241146414, ...
          0.1762974348245001, ...
          0.7754476410608587, ...
          0.0482549241146414, ...
          0.7754476410608587, ...
          0.1762974348245004, ...
          0.0091639092481852, ...
          0.2439906460394931, ...
          0.7468454447123218, ...
          0.0091639092481852, ...
          0.7468454447123218, ...
          0.2439906460394934, ...
          0.0291084706708077, ...
          0.0291084706708073, ...
          0.9417830586583850, ...
          0.1154315382192051, ...
          0.1154315382192049, ...
          0.7691369235615901, ...
          0.0017984649889484, ...
          0.0179343210529390, ...
          0.9802672139581127, ...
          0.0017984649889484, ...
          0.9802672139581129, ...
          0.0179343210529393 ];

  c = [ ...
          0.3851845246273021, ...
          0.2296309507453957, ...
          0.3851845246273020, ...
          0.4577694113676721, ...
          0.0844611772646559, ...
          0.4577694113676719, ...
          0.9222815483109740, ...
          0.0078762822215824, ...
          0.0698421694674433, ...
          0.0698421694674436, ...
          0.0078762822215821, ...
          0.9222815483109740, ...
          0.4108834819400998, ...
          0.2945582590299501, ...
          0.2945582590299501, ...
          0.6229789527394320, ...
          0.1885105236302841, ...
          0.1885105236302836, ...
          0.4219818887935349, ...
          0.1560362224129300, ...
          0.4219818887935349, ...
          0.8648488844852564, ...
          0.0447522843483358, ...
          0.0903988311664076, ...
          0.0903988311664077, ...
          0.0447522843483357, ...
          0.8648488844852562, ...
          0.5503830012785774, ...
          0.0382752347008638, ...
          0.4113417640205586, ...
          0.4113417640205587, ...
          0.0382752347008637, ...
          0.5503830012785773, ...
          0.5651468190056222, ...
          0.1027470759869314, ...
          0.3321061050074462, ...
          0.3321061050074463, ...
          0.1027470759869313, ...
          0.5651468190056220, ...
          0.6300234783328220, ...
          0.0074002412347107, ...
          0.3625762804324671, ...
          0.3625762804324672, ...
          0.0074002412347106, ...
          0.6300234783328218, ...
          0.5188518779166110, ...
          0.1910812979667201, ...
          0.2900668241166687, ...
          0.2900668241166688, ...
          0.1910812979667200, ...
          0.5188518779166110, ...
          0.4961611784097086, ...
          0.0076776431805827, ...
          0.4961611784097084, ...
          0.6680765517823724, ...
          0.0439916453934558, ...
          0.2879318028241716, ...
          0.2879318028241719, ...
          0.0439916453934558, ...
          0.6680765517823722, ...
          0.6745231247723869, ...
          0.1086899418626721, ...
          0.2167869333649409, ...
          0.2167869333649412, ...
          0.1086899418626718, ...
          0.6745231247723867, ...
          0.8449815687515108, ...
          0.0091447113749641, ...
          0.1458737198735250, ...
          0.1458737198735252, ...
          0.0091447113749640, ...
          0.8449815687515108, ...
          0.7754476410608585, ...
          0.0482549241146414, ...
          0.1762974348244998, ...
          0.1762974348245001, ...
          0.0482549241146412, ...
          0.7754476410608585, ...
          0.7468454447123217, ...
          0.0091639092481853, ...
          0.2439906460394928, ...
          0.2439906460394931, ...
          0.0091639092481851, ...
          0.7468454447123216, ...
          0.9417830586583850, ...
          0.0291084706708077, ...
          0.0291084706708072, ...
          0.7691369235615899, ...
          0.1154315382192051, ...
          0.1154315382192047, ...
          0.9802672139581126, ...
          0.0017984649889485, ...
          0.0179343210529387, ...
          0.0179343210529390, ...
          0.0017984649889481, ...
          0.9802672139581127 ];

  w = [ ...
          0.0134930838836107, ...
          0.0134930838836107, ...
          0.0134930838836107, ...
          0.0138613995242342, ...
          0.0138613995242342, ...
          0.0138613995242342, ...
          0.0025954384742313, ...
          0.0025954384742313, ...
          0.0025954384742313, ...
          0.0025954384742313, ...
          0.0025954384742313, ...
          0.0025954384742313, ...
          0.0210757639574522, ...
          0.0210757639574522, ...
          0.0210757639574522, ...
          0.0160212991251489, ...
          0.0160212991251489, ...
          0.0160212991251489, ...
          0.0188530925538413, ...
          0.0188530925538413, ...
          0.0188530925538413, ...
          0.0075175778177884, ...
          0.0075175778177884, ...
          0.0075175778177884, ...
          0.0075175778177884, ...
          0.0075175778177884, ...
          0.0075175778177884, ...
          0.0111973134719628, ...
          0.0111973134719628, ...
          0.0111973134719628, ...
          0.0111973134719628, ...
          0.0111973134719628, ...
          0.0111973134719628, ...
          0.0177190934895102, ...
          0.0177190934895102, ...
          0.0177190934895102, ...
          0.0177190934895102, ...
          0.0177190934895102, ...
          0.0177190934895102, ...
          0.0049042603975570, ...
          0.0049042603975570, ...
          0.0049042603975570, ...
          0.0049042603975570, ...
          0.0049042603975570, ...
          0.0049042603975570, ...
          0.0217064195555090, ...
          0.0217064195555090, ...
          0.0217064195555090, ...
          0.0217064195555090, ...
          0.0217064195555090, ...
          0.0217064195555090, ...
          0.0052893396659844, ...
          0.0052893396659844, ...
          0.0052893396659844, ...
          0.0116622228673430, ...
          0.0116622228673430, ...
          0.0116622228673430, ...
          0.0116622228673430, ...
          0.0116622228673430, ...
          0.0116622228673430, ...
          0.0157101626225703, ...
          0.0157101626225703, ...
          0.0157101626225703, ...
          0.0157101626225703, ...
          0.0157101626225703, ...
          0.0157101626225703, ...
          0.0041066870715756, ...
          0.0041066870715756, ...
          0.0041066870715756, ...
          0.0041066870715756, ...
          0.0041066870715756, ...
          0.0041066870715756, ...
          0.0105635849677469, ...
          0.0105635849677469, ...
          0.0105635849677469, ...
          0.0105635849677469, ...
          0.0105635849677469, ...
          0.0105635849677469, ...
          0.0050540768975846, ...
          0.0050540768975846, ...
          0.0050540768975846, ...
          0.0050540768975846, ...
          0.0050540768975846, ...
          0.0050540768975846, ...
          0.0035691091658564, ...
          0.0035691091658564, ...
          0.0035691091658564, ...
          0.0144157131281046, ...
          0.0144157131281046, ...
          0.0144157131281046, ...
          0.0006404285311714, ...
          0.0006404285311714, ...
          0.0006404285311714, ...
          0.0006404285311714, ...
          0.0006404285311714, ...
          0.0006404285311714 ];

  return
end
