function [ x, w ] = rule26 ( n )

%*****************************************************************************80
%
%% rule26() returns the rule of degree 26.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    07 July 2014
%
%  Author:
%
%    Original FORTRAN77 version by Hong Xiao, Zydrunas Gimbutas.
%    This MATLAB version by 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.
%
%  Input:
%
%    integer N, the number of nodes.
%
%  Output:
%
%    real X(2,N), the coordinates of the nodes.
%
%    real W(N), the weights.
%
  data xs  ]; ...
    0.4833333960601769,0.8342454172040494, ...
    0.7576455307285274,-.5897785388721970, ...
    -.1965092140379674,-.7806410759767570, ...
    0.7735458124538029,0.2194354253840281, ...
    -.6123258347540325,-.3875195310855452, ...
    0.4210764575469916,0.6717143218134665, ...
    0.4937567886903959,0.4310467214948753, ...
    -.8221934052978648E-01,0.1474744561277340, ...
    -.7849971862231101,0.2788743412255506, ...
    -.9174091785830387,-.2680062461938560, ...
    -.6869484833848130,-.5769800391396182, ...
    -.3175999245771031,-.6900722826105213, ...
    -.4494495234589641,0.2720327015362536, ...
    0.9844767989506050,0.9539566427635388, ...
    -.6618689211018638,0.9948047635608559, ...
    0.6791817577488417,-.7660679944748241, ...
    -.3544317327177745,0.8846710719994197, ...
    -.4769291205740912,0.3374006730427574, ...
    -.5230046201031646,0.9773104137186888, ...
    0.8460741659581372,0.7811230642538761, ...
    -.7917954564682173,0.6689548567706126, ...
    0.8995533103742481,0.5803086536096742, ...
    0.9125294970192420,0.9864324103956210, ...
    -.9634751680719612,0.9171821405508755, ...
    -.8464504414046380,0.1148682640972169E-01, ...
    -.8893878433260284,0.1985037063041746, ...
    0.6321992170210116,-.8764667800594454E-01, ...
    0.9612042270501360,0.8449547678280973, ...
    -.3143374729428800E-01,-.7221561416927453, ...
    -.7408359655977623,-.6573270993518512, ...
    0.7579600253683801,0.1336947783582028, ...
    -.8801486144575378,0.9863146730096674, ...
    0.5018023174101623,0.5456331728950238, ...
    0.9966649790149599,-.3664122751853194E-01, ...
    0.3253875792212299E-01,0.9510103999741907, ...
    0.4259089402020555,0.5239001877754490, ...
    0.6028877215019741,0.3449303649336414, ...
    -.5679703819864291,-.5650724066199918, ...
    -.8419709514596180E-01,0.8402671970302827E-01, ...
    -.9108885214110795,0.8192687649356658, ...
    -.9543907466564233,-.7146063535728425, ...
    -.3837061453087470,0.4746594317998059E-01, ...
    -.1741432512718204,0.2800861092084038, ...
    -.8207343144238776,-.9935648502810311, ...
    -.8697847685325190,-.2948353200874713, ...
    -.8584906175082293,0.8306678364449214, ...
    -.9930049118920397,-.4621304609915161, ...
    0.1460010936826870,-.9839106590889559, ...
    -.4906721644588728,-.9896275589251841, ...
    -.9930899945869894,0.9038157695421652E-01, ...
    0.9976519966165041,0.9439357544987950, ...
    -.8915811088898837,0.9306112013193892, ...
    -.9907255740995738,-.9338876300481137, ...
    0.3077773696572407,-.9878642619619029, ...
    0.6952834621750591,0.8445020176382917, ...
    0.5386138090792357,-.9518141860165342, ...
    -.1344815378332747,-.3695179976651696, ...
    0.9873492554611523,0.7062788639769675, ...
    -.6456167225977583,-.3396836721033217, ...
    -.9362361756962438,-.9626677628820013, ...
    0.3015160924588678,0.7067532860197516, ...
    -.9571646423196823,0.9839100297235785, ...
    -.2419685587001514,0.9438884112343363, ...
    -.1742260222577426 ];
  ys = [ ...
    -.4215090372415874E-01,-.3692934551145019, ...
    -.1931519618055097,0.3988972577148074, ...
    -.1715260024620762,0.9094199619403520, ...
    0.6714959797593258,0.3368323178193660, ...
    0.6925643585799712,-.3334911148152457, ...
    0.1579601812062493,0.7212403727697902, ...
    0.7924318088830316,0.4711520853394768, ...
    0.2329014884732836,0.7688776471476298E-01, ...
    -.2427208512979698,-.9819844652166957, ...
    0.6275746962958220,0.3958917640748951, ...
    0.8330411855203188,-.4968412520921159, ...
    0.4887729302167374E-01,-.3604995467485130, ...
    0.5502876418517838,-.1552754382216172, ...
    0.5038985691395298,-.3255794611786079, ...
    0.3310081213549004,-.6602065173414950, ...
    -.4894888916356721,0.5399510111685960, ...
    0.7655039704316382,-.5820392397031763, ...
    0.1995474060499386,0.8781656258066206, ...
    -.1525213978780895,-.5001983735790505, ...
    0.7986695769024170,0.4824228603329770, ...
    0.1592378639694050,0.1732234025449527E-02, ...
    -.9985738973637792E-01,0.5955792594614818, ...
    0.3498450621988221,0.2407129566690367, ...
    0.9947445171943684,0.6288090977170689, ...
    0.7414927225667501,-.9929600347714176, ...
    0.3684373427277031,-.9535682594324043, ...
    0.3034752604286319,0.8507770288950726, ...
    0.6305231708999399E-01,-.8678090617845265, ...
    -.4141884020649694E-01,0.9931812444078701, ...
    -.6492023240589931,-.6795234046038703E-02, ...
    -.7116015253442534,-.5912100888422367, ...
    0.9669064714907090,-.9896978591786247, ...
    -.6357772860044338,-.2816935374305686, ...
    0.9465152907473502,0.9835467134448914, ...
    0.5163644022959618,0.9899894348223212, ...
    -.9119806917142169,0.9594778630442550, ...
    -.8263115619511332,-.4386676054811558, ...
    0.9540273279949707,-.7748522899685367, ...
    -.7271449178503047,-.8683831780306135, ...
    -.9979822139283684,0.1525566715594689, ...
    -.3052870542039953,-.8823794421118246, ...
    -.6417482148168809,-.3240255976105304, ...
    0.6580511661237559,0.6610461063468759, ...
    -.9615342517942168,-.8967208208364033E-01, ...
    -.4912350350325419,-.8431987564696162, ...
    -.7917868223215425,-.9934797396330936, ...
    0.4007666180051725,0.8621553422717932, ...
    0.9342344412005841,-.9702959974411298, ...
    -.9316660034779380,0.7509009750438762, ...
    -.5058825420350775,0.7766280231903698, ...
    -.1591105418860929,-.7614693278871865, ...
    -.6171441191167790E-01,-.9548062395608765, ...
    -.8211827496355327,-.9063342142005131, ...
    0.9909185703328497,0.9397084665195838, ...
    0.8902356582373753,0.9582397465258308, ...
    -.9888160497196922,-.6701339599706453, ...
    -.9449104256261275,0.9907698250163826, ...
    -.8840101170670746,0.9954576420924693, ...
    -.9868058887952446,-.9884037853120492, ...
    0.8605082508169065,0.1586026433797343, ...
    -.7662425769553762,-.9472631440912187, ...
    0.5782109944873408,0.7561475499065624, ...
    0.9307512366430157,0.8850736835159266, ...
    -.4904564371890563 ];
  ws = [ ...
    0.2913207807844331E-01,0.2275827975953009E-01, ...
    0.2791249243709578E-01,0.1938452906022129E-01, ...
    0.4364917601570797E-01,0.1237342034594484E-01, ...
    0.1138865003097454E-01,0.4923704893009620E-01, ...
    0.3063932561386288E-01,0.4428512850707964E-01, ...
    0.4629109684697653E-01,0.1691765251942423E-01, ...
    0.2741532810734821E-01,0.4052530459111174E-01, ...
    0.5261109228291892E-01,0.4417466900490126E-01, ...
    0.3058410753870397E-01,0.6406355493167926E-02, ...
    0.6769861004210370E-02,0.4884106698203454E-01, ...
    0.1697345666295625E-01,0.3712422414211005E-01, ...
    0.4783538888580537E-01,0.2351215352613192E-01, ...
    0.3967485550125242E-01,0.5227057590404430E-01, ...
    0.7706038595693665E-02,0.1393888240267354E-01, ...
    0.2605232454276587E-01,0.3221602953245650E-02, ...
    0.3639783162612337E-01,0.3177013439355753E-01, ...
    0.2662783889362856E-01,0.2133361104980210E-01, ...
    0.4324098371978138E-01,0.2186171413802145E-01, ...
    0.3997793758416952E-01,0.7491762737168889E-02, ...
    0.1718989677527449E-01,0.3150610588787735E-01, ...
    0.3338285362580999E-01,0.3522688180840185E-01, ...
    0.2250843481977659E-01,0.2767390941687784E-01, ...
    0.2163076701762542E-01,0.6370202612529778E-02, ...
    0.1292816837261490E-02,0.1772036481071653E-01, ...
    0.2045516332866545E-01,0.5029942715423091E-02, ...
    0.2555860092259501E-01,0.8908434653957875E-02, ...
    0.4462964590144296E-01,0.2350361388650933E-01, ...
    0.1300162042596963E-01,0.1619762342723978E-01, ...
    0.3633406947058673E-01,0.4148575443002976E-02, ...
    0.3043458935989431E-01,0.3780056077982088E-01, ...
    0.2670761755118099E-01,0.4679248624556967E-01, ...
    0.6655017468306593E-02,0.1016870301128343E-02, ...
    0.3956208492384800E-01,0.4422000056024995E-01, ...
    0.1600493333371462E-02,0.9542615574085509E-02, ...
    0.5101463103747718E-01,0.2316486911009150E-02, ...
    0.2082363944511977E-01,0.1450858408533323E-01, ...
    0.2593506316945297E-01,0.4854771494052668E-01, ...
    0.1406093874479688E-01,0.2980564799727076E-01, ...
    0.4032704717924811E-01,0.2836242586524349E-01, ...
    0.1662837317311870E-02,0.3331747639887452E-01, ...
    0.1737244435785181E-01,0.1818621007558914E-01, ...
    0.4099371056923931E-01,0.5481494042070843E-01, ...
    0.4070179363666812E-01,0.4218182579123851E-01, ...
    0.8533899793279886E-02,0.5949667491635394E-02, ...
    0.2693305692079543E-01,0.3035811941473991E-01, ...
    0.1815553496055310E-01,0.3365556943518273E-02, ...
    0.5641437853076681E-02,0.1997142107835644E-01, ...
    0.1803786451914521E-01,0.2269810849285899E-02, ...
    0.1824056247133745E-01,0.4961745614234228E-02, ...
    0.5229975396089418E-02,0.3090226019029179E-01, ...
    0.4530557980884387E-02,0.1260165841456744E-01, ...
    0.2688472868433625E-01,0.6305207130138189E-02, ...
    0.4114195161424335E-02,0.8573396052945570E-02, ...
    0.6467557193927746E-02,0.2703578258059107E-02, ...
    0.1975997243239372E-01,0.9381005409995410E-02, ...
    0.6472606174579578E-02,0.1382406712148664E-01, ...
    0.1805324127586059E-01,0.6329200107849942E-02, ...
    0.3895024567992489E-02,0.3809507629042853E-02, ...
    0.6517542895566797E-02,0.7169776873936058E-02, ...
    0.1060178841340027E-01,0.1641915380777178E-01, ...
    0.3678722762764779E-01,0.1379818565014169E-01, ...
    0.1123917596421086E-01,0.6410312514956618E-02, ...
    0.1884563206279892E-01,0.8912626526178684E-02, ...
    0.4962602708111043E-01 ];

  x(1,1:n) = xs(1:n);
  x(2,1:n) = ys(1:n);
  w(1:n) = ws(1:n);

  return
end
