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

%*****************************************************************************80
%
%% rule27() returns the rule of precision 27.
%
%  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.3807140211811871, ...
          0.3807140211811871, ...
          0.2385719576376256, ...
          0.4466678037038646, ...
          0.4466678037038646, ...
          0.1066643925922708, ...
          0.4161413788054121, ...
          0.4161413788054121, ...
          0.1677172423891756, ...
          0.0803046477884383, ...
          0.8393907044231230, ...
          0.0803046477884388, ...
          0.2870421965934966, ...
          0.6822271986792305, ...
          0.0307306047272730, ...
          0.6822271986792305, ...
          0.2870421965934966, ...
          0.0307306047272727, ...
          0.3450878417155684, ...
          0.5257595182209819, ...
          0.1291526400634497, ...
          0.5257595182209819, ...
          0.3450878417155684, ...
          0.1291526400634496, ...
          0.2334004066698710, ...
          0.5331991866602577, ...
          0.2334004066698712, ...
          0.3759301570486618, ...
          0.5960363568560882, ...
          0.0280334860952500, ...
          0.5960363568560882, ...
          0.3759301570486618, ...
          0.0280334860952499, ...
          0.3011654651665091, ...
          0.3976690696669817, ...
          0.3011654651665091, ...
          0.1747799663549000, ...
          0.6504400672901998, ...
          0.1747799663549002, ...
          0.3169455889331320, ...
          0.4739234899291993, ...
          0.2091309211376687, ...
          0.4739234899291992, ...
          0.3169455889331320, ...
          0.2091309211376686, ...
          0.4072283930427198, ...
          0.5267326941075414, ...
          0.0660389128497386, ...
          0.5267326941075414, ...
          0.4072283930427199, ...
          0.0660389128497386, ...
          0.2135535984578239, ...
          0.7454158247229943, ...
          0.0410305768191818, ...
          0.7454158247229943, ...
          0.2135535984578240, ...
          0.0410305768191816, ...
          0.3288528780688926, ...
          0.6658474815593083, ...
          0.0052996403717991, ...
          0.6658474815593083, ...
          0.3288528780688927, ...
          0.0052996403717989, ...
          0.4855650541851628, ...
          0.4855650541851628, ...
          0.0288698916296744, ...
          0.1392953061421487, ...
          0.7976306984429004, ...
          0.0630739954149511, ...
          0.7976306984429004, ...
          0.1392953061421489, ...
          0.0630739954149507, ...
          0.0325715201801815, ...
          0.9348569596396367, ...
          0.0325715201801819, ...
          0.2552462546969780, ...
          0.5957908943647818, ...
          0.1489628509382402, ...
          0.5957908943647818, ...
          0.2552462546969780, ...
          0.1489628509382400, ...
          0.2083760156003741, ...
          0.6969269019664952, ...
          0.0946970824331307, ...
          0.6969269019664952, ...
          0.2083760156003741, ...
          0.0946970824331305, ...
          0.4400105519462155, ...
          0.5544087310385245, ...
          0.0055807170152600, ...
          0.5544087310385244, ...
          0.4400105519462155, ...
          0.0055807170152600, ...
          0.1275709019046775, ...
          0.7448581961906449, ...
          0.1275709019046778, ...
          0.3022209412278211, ...
          0.6227021563389826, ...
          0.0750769024331963, ...
          0.6227021563389826, ...
          0.3022209412278211, ...
          0.0750769024331961, ...
          0.0819468025835337, ...
          0.9110706680920073, ...
          0.0069825293244591, ...
          0.9110706680920073, ...
          0.0819468025835338, ...
          0.0069825293244588, ...
          0.0343649699121420, ...
          0.9595414606840931, ...
          0.0060935694037650, ...
          0.9595414606840931, ...
          0.0343649699121421, ...
          0.0060935694037646, ...
          0.0801120738471011, ...
          0.8848535036252014, ...
          0.0350344225276975, ...
          0.8848535036252014, ...
          0.0801120738471012, ...
          0.0350344225276972, ...
          0.0066392191809586, ...
          0.9867215616380824, ...
          0.0066392191809590, ...
          0.1472134318989225, ...
          0.8334345667830385, ...
          0.0193520013180390, ...
          0.8334345667830385, ...
          0.1472134318989225, ...
          0.0193520013180388, ...
          0.2297196532578432, ...
          0.7629478741931164, ...
          0.0073324725490405, ...
          0.7629478741931163, ...
          0.2297196532578433, ...
          0.0073324725490403, ...
          0.1476555211198698, ...
          0.8518541504366672, ...
          0.0004903284434630, ...
          0.8518541504366672, ...
          0.1476555211198698, ...
          0.0004903284434627 ];

  b = [ ...
          0.2385719576376257, ...
          0.3807140211811872, ...
          0.3807140211811873, ...
          0.1066643925922709, ...
          0.4466678037038647, ...
          0.4466678037038648, ...
          0.1677172423891757, ...
          0.4161413788054122, ...
          0.4161413788054124, ...
          0.0803046477884386, ...
          0.0803046477884383, ...
          0.8393907044231231, ...
          0.0307306047272729, ...
          0.2870421965934966, ...
          0.6822271986792307, ...
          0.0307306047272729, ...
          0.6822271986792307, ...
          0.2870421965934968, ...
          0.1291526400634497, ...
          0.3450878417155684, ...
          0.5257595182209820, ...
          0.1291526400634497, ...
          0.5257595182209820, ...
          0.3450878417155686, ...
          0.2334004066698712, ...
          0.2334004066698711, ...
          0.5331991866602579, ...
          0.0280334860952500, ...
          0.3759301570486618, ...
          0.5960363568560885, ...
          0.0280334860952500, ...
          0.5960363568560882, ...
          0.3759301570486621, ...
          0.3011654651665093, ...
          0.3011654651665092, ...
          0.3976690696669818, ...
          0.1747799663549002, ...
          0.1747799663549000, ...
          0.6504400672902000, ...
          0.2091309211376688, ...
          0.3169455889331320, ...
          0.4739234899291995, ...
          0.2091309211376688, ...
          0.4739234899291995, ...
          0.3169455889331322, ...
          0.0660389128497387, ...
          0.4072283930427200, ...
          0.5267326941075416, ...
          0.0660389128497387, ...
          0.5267326941075415, ...
          0.4072283930427201, ...
          0.0410305768191818, ...
          0.2135535984578240, ...
          0.7454158247229945, ...
          0.0410305768191818, ...
          0.7454158247229945, ...
          0.2135535984578242, ...
          0.0052996403717990, ...
          0.3288528780688927, ...
          0.6658474815593085, ...
          0.0052996403717990, ...
          0.6658474815593083, ...
          0.3288528780688930, ...
          0.0288698916296745, ...
          0.4855650541851628, ...
          0.4855650541851630, ...
          0.0630739954149509, ...
          0.1392953061421487, ...
          0.7976306984429004, ...
          0.0630739954149509, ...
          0.7976306984429004, ...
          0.1392953061421490, ...
          0.0325715201801818, ...
          0.0325715201801814, ...
          0.9348569596396370, ...
          0.1489628509382402, ...
          0.2552462546969780, ...
          0.5957908943647819, ...
          0.1489628509382402, ...
          0.5957908943647819, ...
          0.2552462546969783, ...
          0.0946970824331307, ...
          0.2083760156003741, ...
          0.6969269019664954, ...
          0.0946970824331307, ...
          0.6969269019664954, ...
          0.2083760156003744, ...
          0.0055807170152601, ...
          0.4400105519462155, ...
          0.5544087310385247, ...
          0.0055807170152601, ...
          0.5544087310385245, ...
          0.4400105519462157, ...
          0.1275709019046777, ...
          0.1275709019046775, ...
          0.7448581961906449, ...
          0.0750769024331962, ...
          0.3022209412278212, ...
          0.6227021563389828, ...
          0.0750769024331962, ...
          0.6227021563389828, ...
          0.3022209412278213, ...
          0.0069825293244590, ...
          0.0819468025835337, ...
          0.9110706680920074, ...
          0.0069825293244590, ...
          0.9110706680920074, ...
          0.0819468025835340, ...
          0.0060935694037648, ...
          0.0343649699121420, ...
          0.9595414606840932, ...
          0.0060935694037648, ...
          0.9595414606840934, ...
          0.0343649699121423, ...
          0.0350344225276974, ...
          0.0801120738471011, ...
          0.8848535036252017, ...
          0.0350344225276974, ...
          0.8848535036252017, ...
          0.0801120738471014, ...
          0.0066392191809589, ...
          0.0066392191809586, ...
          0.9867215616380827, ...
          0.0193520013180390, ...
          0.1472134318989225, ...
          0.8334345667830388, ...
          0.0193520013180390, ...
          0.8334345667830388, ...
          0.1472134318989227, ...
          0.0073324725490405, ...
          0.2297196532578432, ...
          0.7629478741931165, ...
          0.0073324725490405, ...
          0.7629478741931164, ...
          0.2297196532578435, ...
          0.0004903284434630, ...
          0.1476555211198698, ...
          0.8518541504366673, ...
          0.0004903284434630, ...
          0.8518541504366673, ...
          0.1476555211198702 ];

  c = [ ...
          0.3807140211811872, ...
          0.2385719576376256, ...
          0.3807140211811871, ...
          0.4466678037038647, ...
          0.1066643925922707, ...
          0.4466678037038644, ...
          0.4161413788054121, ...
          0.1677172423891756, ...
          0.4161413788054120, ...
          0.8393907044231231, ...
          0.0803046477884387, ...
          0.0803046477884380, ...
          0.6822271986792305, ...
          0.0307306047272728, ...
          0.2870421965934964, ...
          0.2870421965934966, ...
          0.0307306047272727, ...
          0.6822271986792304, ...
          0.5257595182209819, ...
          0.1291526400634497, ...
          0.3450878417155683, ...
          0.3450878417155684, ...
          0.1291526400634496, ...
          0.5257595182209819, ...
          0.5331991866602578, ...
          0.2334004066698712, ...
          0.2334004066698709, ...
          0.5960363568560882, ...
          0.0280334860952499, ...
          0.3759301570486615, ...
          0.3759301570486617, ...
          0.0280334860952499, ...
          0.5960363568560880, ...
          0.3976690696669816, ...
          0.3011654651665091, ...
          0.3011654651665091, ...
          0.6504400672901998, ...
          0.1747799663549002, ...
          0.1747799663548998, ...
          0.4739234899291993, ...
          0.2091309211376687, ...
          0.3169455889331319, ...
          0.3169455889331320, ...
          0.2091309211376686, ...
          0.4739234899291992, ...
          0.5267326941075414, ...
          0.0660389128497386, ...
          0.4072283930427197, ...
          0.4072283930427199, ...
          0.0660389128497386, ...
          0.5267326941075413, ...
          0.7454158247229942, ...
          0.0410305768191818, ...
          0.2135535984578236, ...
          0.2135535984578239, ...
          0.0410305768191815, ...
          0.7454158247229942, ...
          0.6658474815593083, ...
          0.0052996403717990, ...
          0.3288528780688924, ...
          0.3288528780688927, ...
          0.0052996403717990, ...
          0.6658474815593081, ...
          0.4855650541851627, ...
          0.0288698916296743, ...
          0.4855650541851627, ...
          0.7976306984429005, ...
          0.0630739954149509, ...
          0.1392953061421486, ...
          0.1392953061421487, ...
          0.0630739954149507, ...
          0.7976306984429002, ...
          0.9348569596396368, ...
          0.0325715201801819, ...
          0.0325715201801811, ...
          0.5957908943647818, ...
          0.1489628509382401, ...
          0.2552462546969779, ...
          0.2552462546969780, ...
          0.1489628509382400, ...
          0.5957908943647817, ...
          0.6969269019664953, ...
          0.0946970824331307, ...
          0.2083760156003739, ...
          0.2083760156003741, ...
          0.0946970824331305, ...
          0.6969269019664952, ...
          0.5544087310385245, ...
          0.0055807170152600, ...
          0.4400105519462153, ...
          0.4400105519462155, ...
          0.0055807170152601, ...
          0.5544087310385244, ...
          0.7448581961906449, ...
          0.1275709019046777, ...
          0.1275709019046773, ...
          0.6227021563389826, ...
          0.0750769024331962, ...
          0.3022209412278208, ...
          0.3022209412278211, ...
          0.0750769024331960, ...
          0.6227021563389825, ...
          0.9110706680920073, ...
          0.0069825293244590, ...
          0.0819468025835334, ...
          0.0819468025835337, ...
          0.0069825293244589, ...
          0.9110706680920072, ...
          0.9595414606840932, ...
          0.0060935694037649, ...
          0.0343649699121418, ...
          0.0343649699121421, ...
          0.0060935694037646, ...
          0.9595414606840931, ...
          0.8848535036252015, ...
          0.0350344225276975, ...
          0.0801120738471008, ...
          0.0801120738471012, ...
          0.0350344225276972, ...
          0.8848535036252014, ...
          0.9867215616380826, ...
          0.0066392191809590, ...
          0.0066392191809583, ...
          0.8334345667830386, ...
          0.0193520013180390, ...
          0.1472134318989221, ...
          0.1472134318989225, ...
          0.0193520013180387, ...
          0.8334345667830384, ...
          0.7629478741931164, ...
          0.0073324725490404, ...
          0.2297196532578430, ...
          0.2297196532578433, ...
          0.0073324725490403, ...
          0.7629478741931163, ...
          0.8518541504366672, ...
          0.0004903284434630, ...
          0.1476555211198697, ...
          0.1476555211198698, ...
          0.0004903284434629, ...
          0.8518541504366671 ];

  w = [ ...
          0.0095600849674599, ...
          0.0095600849674599, ...
          0.0095600849674599, ...
          0.0094101598094542, ...
          0.0094101598094542, ...
          0.0094101598094542, ...
          0.0120502270241504, ...
          0.0120502270241504, ...
          0.0120502270241504, ...
          0.0052126218728019, ...
          0.0052126218728019, ...
          0.0052126218728019, ...
          0.0055317948337667, ...
          0.0055317948337667, ...
          0.0055317948337667, ...
          0.0055317948337667, ...
          0.0055317948337667, ...
          0.0055317948337667, ...
          0.0125574362040365, ...
          0.0125574362040365, ...
          0.0125574362040365, ...
          0.0125574362040365, ...
          0.0125574362040365, ...
          0.0125574362040365, ...
          0.0134713153980494, ...
          0.0134713153980494, ...
          0.0134713153980494, ...
          0.0063951526994544, ...
          0.0063951526994544, ...
          0.0063951526994544, ...
          0.0063951526994544, ...
          0.0063951526994544, ...
          0.0063951526994544, ...
          0.0157479657813627, ...
          0.0157479657813627, ...
          0.0157479657813627, ...
          0.0112824425446984, ...
          0.0112824425446984, ...
          0.0112824425446984, ...
          0.0137153932305508, ...
          0.0137153932305508, ...
          0.0137153932305508, ...
          0.0137153932305508, ...
          0.0137153932305508, ...
          0.0137153932305508, ...
          0.0098622701189896, ...
          0.0098622701189896, ...
          0.0098622701189896, ...
          0.0098622701189896, ...
          0.0098622701189896, ...
          0.0098622701189896, ...
          0.0064553729049297, ...
          0.0064553729049297, ...
          0.0064553729049297, ...
          0.0064553729049297, ...
          0.0064553729049297, ...
          0.0064553729049297, ...
          0.0029278263617991, ...
          0.0029278263617991, ...
          0.0029278263617991, ...
          0.0029278263617991, ...
          0.0029278263617991, ...
          0.0029278263617991, ...
          0.0071172374128746, ...
          0.0071172374128746, ...
          0.0071172374128746, ...
          0.0071306353104870, ...
          0.0071306353104870, ...
          0.0071306353104870, ...
          0.0071306353104870, ...
          0.0071306353104870, ...
          0.0071306353104870, ...
          0.0027773395289542, ...
          0.0027773395289542, ...
          0.0027773395289542, ...
          0.0123476631308614, ...
          0.0123476631308614, ...
          0.0123476631308614, ...
          0.0123476631308614, ...
          0.0123476631308614, ...
          0.0123476631308614, ...
          0.0106937005896163, ...
          0.0106937005896163, ...
          0.0106937005896163, ...
          0.0106937005896163, ...
          0.0106937005896163, ...
          0.0106937005896163, ...
          0.0032424675976393, ...
          0.0032424675976393, ...
          0.0032424675976393, ...
          0.0032424675976393, ...
          0.0032424675976393, ...
          0.0032424675976393, ...
          0.0097432449228177, ...
          0.0097432449228177, ...
          0.0097432449228177, ...
          0.0109306110929133, ...
          0.0109306110929133, ...
          0.0109306110929133, ...
          0.0109306110929133, ...
          0.0109306110929133, ...
          0.0109306110929133, ...
          0.0020151231272897, ...
          0.0020151231272897, ...
          0.0020151231272897, ...
          0.0020151231272897, ...
          0.0020151231272897, ...
          0.0020151231272897, ...
          0.0011967736084732, ...
          0.0011967736084732, ...
          0.0011967736084732, ...
          0.0011967736084732, ...
          0.0011967736084732, ...
          0.0011967736084732, ...
          0.0043271580353607, ...
          0.0043271580353607, ...
          0.0043271580353607, ...
          0.0043271580353607, ...
          0.0043271580353607, ...
          0.0043271580353607, ...
          0.0005754424056705, ...
          0.0005754424056705, ...
          0.0005754424056705, ...
          0.0046223871117811, ...
          0.0046223871117811, ...
          0.0046223871117811, ...
          0.0046223871117811, ...
          0.0046223871117811, ...
          0.0046223871117811, ...
          0.0033942537388070, ...
          0.0033942537388070, ...
          0.0033942537388070, ...
          0.0033942537388070, ...
          0.0033942537388070, ...
          0.0033942537388070, ...
          0.0008466061357639, ...
          0.0008466061357639, ...
          0.0008466061357639, ...
          0.0008466061357639, ...
          0.0008466061357639, ...
          0.0008466061357639 ];

  return
end
