<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - answers and comments on Question, Integration of piecewise is so slow</title>
    <link>http://www.mapleprimes.com/questions/139288-Integration-Of-Piecewise-Is-So-Slow</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Thu, 11 Jun 2026 09:42:02 GMT</lastBuildDate>
    <pubDate>Thu, 11 Jun 2026 09:42:02 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest answers and comments added to the Question, Integration of piecewise is so slow</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - answers and comments on Question, Integration of piecewise is so slow</title>
      <link>http://www.mapleprimes.com/questions/139288-Integration-Of-Piecewise-Is-So-Slow</link>
    </image>
    <item>
      <title>Cutting the Gordian knot by MonteCarlo method</title>
      <link>http://www.mapleprimes.com/questions/139288-Integration-Of-Piecewise-Is-So-Slow?ref=Feed:MaplePrimes:Integration of piecewise is so slow:Comments#answer139299</link>
      <itunes:summary>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;form name="worksheet_form"&gt;
&lt;table style="width: 576px;" align="center"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #000000; font-size: 100%; font-family: Times New Roman,serif; font-weight: normal; font-style: normal;"&gt;How about this?&lt;/span&gt; &lt;br&gt; &lt;img style="vertical-align: -330;" src="/view.aspx?sf=139299/446187/af8414696410b9131e82f73ce11b886c.gif" alt="restart; a := unapply(piecewise(x1 &amp;lt; 0 or x2 &amp;lt; 0 or x3 &amp;lt; 0 or h &amp;lt; x1 or h &amp;lt; x2 or h &amp;lt; x3, 0, `and`(`and`(`and`(`and`(`and`(.5*h &amp;lt;= x1, x1 &amp;lt;= h), h-x1 &amp;lt;= x2), x2 &amp;lt;= x1), h-x1 &amp;lt;= x3), x3 &amp;lt;= x1), A1[13], `and`(`and`(`and`(`and`(`and`(0 &amp;lt;= x1, x1 &amp;lt;= .5*h), .5 &amp;lt;= x2), x2 &amp;lt;= h-x1), h-x2 &amp;lt;= x3), x3 &amp;lt;= x2), A1[2], `and`(`and`(`and`(`and`(`and`(0 &amp;lt;= x1, x1 &amp;lt;= .5*h), x1 &amp;lt;= x3), x3 &amp;lt;= .5*h), x3 &amp;lt;= x2), x2 &amp;lt;= h-x3), A1[1], `and`(`and`(`and`(`and`(`and`(0 &amp;lt;= x1, x1 &amp;lt;= .5*h), x1 &amp;lt;= x2), x2 &amp;lt;= .5*h), x2 &amp;lt;= x3), x3 &amp;lt;= h-x2), A1[4], `and`(`and`(`and`(`and`(`and`(0 &amp;lt;= x1, x1 &amp;lt;= .5*h), .5*h &amp;lt;= x3), x3 &amp;lt;= h-x1), h-x3 &amp;lt;= x2), x2 &amp;lt;= x3), A1[3], `and`(`and`(`and`(`and`(`and`(.5*h &amp;lt;= x2, x2 &amp;lt;= h), h-x2 &amp;lt;= x3), x3 &amp;lt;= x2), h-x2 &amp;lt;= x1), x1 &amp;lt;= x2), A1[17], `and`(`and`(`and`(`and`(`and`(0 &amp;lt;= x2, x2 &amp;lt;= .5*h), .5 &amp;lt;= x1), x1 &amp;lt;= h-x2), h-x1 &amp;lt;= x3), x3 &amp;lt;= x1), A1[6], `and`(`and`(`and`(`and`(`and`(0 &amp;lt;= x2, x2 &amp;lt;= .5*h), x2 &amp;lt;= x3), x3 &amp;lt;= .5*h), x3 &amp;lt;= x1), x1 &amp;lt;= h-x3), A1[7], `and`(`and`(`and`(`and`(`and`(0 &amp;lt;= x2, x2 &amp;lt;= .5*h), x2 &amp;lt;= x1), x1 &amp;lt;= .5*h), x1 &amp;lt;= x3), x3 &amp;lt;= h-x1), A1[8], `and`(`and`(`and`(`and`(`and`(0 &amp;lt;= x2, x2 &amp;lt;= .5*h), .5*h &amp;lt;= x3), x3 &amp;lt;= h-x2), h-x3 &amp;lt;= x1), x1 &amp;lt;= x3), A1[5], `and`(`and`(`and`(`and`(`and`(.5*h &amp;lt;= x3, x3 &amp;lt;= h), h-x3 &amp;lt;= x1), x1 &amp;lt;= x3), h-x3 &amp;lt;= x2), x2 &amp;lt;= x3), A1[21], `and`(`and`(`and`(`and`(`and`(0 &amp;lt;= x3, x3 &amp;lt;= .5*h), .5 &amp;lt;= x1), x1 &amp;lt;= h-x3), h-x1 &amp;lt;= x2), x2 &amp;lt;= x1), A1[10], `and`(`and`(`and`(`and`(`and`(0 &amp;lt;= x3, x3 &amp;lt;= .5*h), x3 &amp;lt;= x2), x2 &amp;lt;= .5*h), x2 &amp;lt;= x1), x1 &amp;lt;= h-x2), A1[9], `and`(`and`(`and`(`and`(`and`(0 &amp;lt;= x3, x3 &amp;lt;= .5*h), x3 &amp;lt;= x1), x1 &amp;lt;= .5*h), x1 &amp;lt;= x2), x2 &amp;lt;= h-x1), A1[12], `and`(`and`(`and`(`and`(`and`(0 &amp;lt;= x3, x3 &amp;lt;= .5*h), .5*h &amp;lt;= x2), x2 &amp;lt;= h-x3), h-x2 &amp;lt;= x1), x1 &amp;lt;= x2), A1[11]), x1, x2, x3)" width="576" height="347" align="middle"&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=139299/446187/75be57a02a6c6d8bc7e7248fdc9fd947.gif" alt="``" width="11" height="23"&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=139299/446187/2fe06473625583fd012a970e5e5373c5.gif" alt="A1 := [seq(i, i = 1 .. 22)]; h := 1" width="221" height="23"&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -23;" src="/view.aspx?sf=139299/446187/c8902268e675f645261329d19fc4bc69.gif" alt="evalf(Int(a(x1, x2, x3), [x1 = 0 .. h, x2 = 0 .. h, x3 = 0 .. h], method = _MonteCarlo, epsilon = 0.1e-3))" width="576" height="40" align="middle"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=139299/446187/a07932dc205d5a8b3bc3bc781f4bca5d.gif" alt="11.75054959" width="84" height="23"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(1)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=139299/446187/f18455a4bb31d308b50e2d4a383fe420.gif" alt="``" width="11" height="23"&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=139299/446187/ced88ed023c21cab734f170ac4690b59.gif" alt="evalf(Int(a(x1, x2, x3), [x1 = 0 .. h, x2 = 0 .. h, x3 = 0 .. h], method = _cuhre, epsilon = 0.1e-1))" width="553" height="23"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=139299/446187/cdef6fcb837e4f38634926480f1181cb.gif" alt="11.74810153" width="84" height="23"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(2)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=139299/446187/ad2e75b77788451e314f4620f86f49c3.gif" alt="``" width="11" height="23"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;input type="hidden" name="sequence" value="1"&gt; &lt;input type="hidden" name="cmd" value="none"&gt;&lt;/form&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="/view.aspx?sf=139299/446187/numeric.mw"&gt;Download numeric.mw&lt;/a&gt;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;form name="worksheet_form"&gt;
&lt;table style="width: 576px;" align="center"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #000000; font-size: 100%; font-family: Times New Roman,serif; font-weight: normal; font-style: normal;"&gt;How about this?&lt;/span&gt; &lt;br&gt; &lt;img style="vertical-align: -330;" src="/view.aspx?sf=139299/446187/af8414696410b9131e82f73ce11b886c.gif" alt="restart; a := unapply(piecewise(x1 &amp;lt; 0 or x2 &amp;lt; 0 or x3 &amp;lt; 0 or h &amp;lt; x1 or h &amp;lt; x2 or h &amp;lt; x3, 0, `and`(`and`(`and`(`and`(`and`(.5*h &amp;lt;= x1, x1 &amp;lt;= h), h-x1 &amp;lt;= x2), x2 &amp;lt;= x1), h-x1 &amp;lt;= x3), x3 &amp;lt;= x1), A1[13], `and`(`and`(`and`(`and`(`and`(0 &amp;lt;= x1, x1 &amp;lt;= .5*h), .5 &amp;lt;= x2), x2 &amp;lt;= h-x1), h-x2 &amp;lt;= x3), x3 &amp;lt;= x2), A1[2], `and`(`and`(`and`(`and`(`and`(0 &amp;lt;= x1, x1 &amp;lt;= .5*h), x1 &amp;lt;= x3), x3 &amp;lt;= .5*h), x3 &amp;lt;= x2), x2 &amp;lt;= h-x3), A1[1], `and`(`and`(`and`(`and`(`and`(0 &amp;lt;= x1, x1 &amp;lt;= .5*h), x1 &amp;lt;= x2), x2 &amp;lt;= .5*h), x2 &amp;lt;= x3), x3 &amp;lt;= h-x2), A1[4], `and`(`and`(`and`(`and`(`and`(0 &amp;lt;= x1, x1 &amp;lt;= .5*h), .5*h &amp;lt;= x3), x3 &amp;lt;= h-x1), h-x3 &amp;lt;= x2), x2 &amp;lt;= x3), A1[3], `and`(`and`(`and`(`and`(`and`(.5*h &amp;lt;= x2, x2 &amp;lt;= h), h-x2 &amp;lt;= x3), x3 &amp;lt;= x2), h-x2 &amp;lt;= x1), x1 &amp;lt;= x2), A1[17], `and`(`and`(`and`(`and`(`and`(0 &amp;lt;= x2, x2 &amp;lt;= .5*h), .5 &amp;lt;= x1), x1 &amp;lt;= h-x2), h-x1 &amp;lt;= x3), x3 &amp;lt;= x1), A1[6], `and`(`and`(`and`(`and`(`and`(0 &amp;lt;= x2, x2 &amp;lt;= .5*h), x2 &amp;lt;= x3), x3 &amp;lt;= .5*h), x3 &amp;lt;= x1), x1 &amp;lt;= h-x3), A1[7], `and`(`and`(`and`(`and`(`and`(0 &amp;lt;= x2, x2 &amp;lt;= .5*h), x2 &amp;lt;= x1), x1 &amp;lt;= .5*h), x1 &amp;lt;= x3), x3 &amp;lt;= h-x1), A1[8], `and`(`and`(`and`(`and`(`and`(0 &amp;lt;= x2, x2 &amp;lt;= .5*h), .5*h &amp;lt;= x3), x3 &amp;lt;= h-x2), h-x3 &amp;lt;= x1), x1 &amp;lt;= x3), A1[5], `and`(`and`(`and`(`and`(`and`(.5*h &amp;lt;= x3, x3 &amp;lt;= h), h-x3 &amp;lt;= x1), x1 &amp;lt;= x3), h-x3 &amp;lt;= x2), x2 &amp;lt;= x3), A1[21], `and`(`and`(`and`(`and`(`and`(0 &amp;lt;= x3, x3 &amp;lt;= .5*h), .5 &amp;lt;= x1), x1 &amp;lt;= h-x3), h-x1 &amp;lt;= x2), x2 &amp;lt;= x1), A1[10], `and`(`and`(`and`(`and`(`and`(0 &amp;lt;= x3, x3 &amp;lt;= .5*h), x3 &amp;lt;= x2), x2 &amp;lt;= .5*h), x2 &amp;lt;= x1), x1 &amp;lt;= h-x2), A1[9], `and`(`and`(`and`(`and`(`and`(0 &amp;lt;= x3, x3 &amp;lt;= .5*h), x3 &amp;lt;= x1), x1 &amp;lt;= .5*h), x1 &amp;lt;= x2), x2 &amp;lt;= h-x1), A1[12], `and`(`and`(`and`(`and`(`and`(0 &amp;lt;= x3, x3 &amp;lt;= .5*h), .5*h &amp;lt;= x2), x2 &amp;lt;= h-x3), h-x2 &amp;lt;= x1), x1 &amp;lt;= x2), A1[11]), x1, x2, x3)" width="576" height="347" align="middle"&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=139299/446187/75be57a02a6c6d8bc7e7248fdc9fd947.gif" alt="``" width="11" height="23"&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=139299/446187/2fe06473625583fd012a970e5e5373c5.gif" alt="A1 := [seq(i, i = 1 .. 22)]; h := 1" width="221" height="23"&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -23;" src="/view.aspx?sf=139299/446187/c8902268e675f645261329d19fc4bc69.gif" alt="evalf(Int(a(x1, x2, x3), [x1 = 0 .. h, x2 = 0 .. h, x3 = 0 .. h], method = _MonteCarlo, epsilon = 0.1e-3))" width="576" height="40" align="middle"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=139299/446187/a07932dc205d5a8b3bc3bc781f4bca5d.gif" alt="11.75054959" width="84" height="23"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(1)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=139299/446187/f18455a4bb31d308b50e2d4a383fe420.gif" alt="``" width="11" height="23"&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=139299/446187/ced88ed023c21cab734f170ac4690b59.gif" alt="evalf(Int(a(x1, x2, x3), [x1 = 0 .. h, x2 = 0 .. h, x3 = 0 .. h], method = _cuhre, epsilon = 0.1e-1))" width="553" height="23"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=139299/446187/cdef6fcb837e4f38634926480f1181cb.gif" alt="11.74810153" width="84" height="23"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(2)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=139299/446187/ad2e75b77788451e314f4620f86f49c3.gif" alt="``" width="11" height="23"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;input type="hidden" name="sequence" value="1"&gt; &lt;input type="hidden" name="cmd" value="none"&gt;&lt;/form&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="/view.aspx?sf=139299/446187/numeric.mw"&gt;Download numeric.mw&lt;/a&gt;&lt;/p&gt;</description>
      <guid>139299</guid>
      <pubDate>Wed, 07 Nov 2012 22:53:23 Z</pubDate>
      <itunes:author>Markiyan Hirnyk</itunes:author>
      <author>Markiyan Hirnyk</author>
    </item>
    <item>
      <title>I found out that the best way to solve the</title>
      <link>http://www.mapleprimes.com/questions/139288-Integration-Of-Piecewise-Is-So-Slow?ref=Feed:MaplePrimes:Integration of piecewise is so slow:Comments#answer139327</link>
      <itunes:summary>&lt;p&gt;I found out that the best way to solve the problem was to store the piecewise function in an array and modify the integralfunction. I wrote a script which now integrates the entries of the matrix piecewise.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;like this:&lt;/p&gt;
&lt;p&gt;int(int(int(T1[11], x1 = -x2+1 .. x2), x2 = (1/2)*1 .. -x3+1), x3 = 0 .. (1/2)*1)+&lt;br&gt;&amp;nbsp;int(int(int(T1[12], x2 = x1 .. -x1+1), x1 = x3 .. (1/2)*1), x3 = 0 .. (1/2)*1)+&lt;br&gt;&amp;nbsp;int(int(int(T1[9], x1 = x2 .. -x2+1), x2 = x3 .. (1/2)*1), x3 = 0 .. (1/2)*1)+&lt;br&gt;&amp;nbsp;int(int(int(T1[10], x2 = -x1+1 .. x1), x1 = (1/2)*1 .. -x3+1), x3 = 0 .. (1/2)*1)+&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hopefully my comment helps users having the same problem.&lt;/p&gt;
&lt;p&gt;Cheerio,&lt;/p&gt;
&lt;p&gt;Nerdpole&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;I found out that the best way to solve the problem was to store the piecewise function in an array and modify the integralfunction. I wrote a script which now integrates the entries of the matrix piecewise.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;like this:&lt;/p&gt;
&lt;p&gt;int(int(int(T1[11], x1 = -x2+1 .. x2), x2 = (1/2)*1 .. -x3+1), x3 = 0 .. (1/2)*1)+&lt;br&gt;&amp;nbsp;int(int(int(T1[12], x2 = x1 .. -x1+1), x1 = x3 .. (1/2)*1), x3 = 0 .. (1/2)*1)+&lt;br&gt;&amp;nbsp;int(int(int(T1[9], x1 = x2 .. -x2+1), x2 = x3 .. (1/2)*1), x3 = 0 .. (1/2)*1)+&lt;br&gt;&amp;nbsp;int(int(int(T1[10], x2 = -x1+1 .. x1), x1 = (1/2)*1 .. -x3+1), x3 = 0 .. (1/2)*1)+&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hopefully my comment helps users having the same problem.&lt;/p&gt;
&lt;p&gt;Cheerio,&lt;/p&gt;
&lt;p&gt;Nerdpole&lt;/p&gt;</description>
      <guid>139327</guid>
      <pubDate>Thu, 08 Nov 2012 18:18:51 Z</pubDate>
      <itunes:author>nerdpole</itunes:author>
      <author>nerdpole</author>
    </item>
    <item>
      <title>integrate w.r.t. to what?</title>
      <link>http://www.mapleprimes.com/questions/139288-Integration-Of-Piecewise-Is-So-Slow?ref=Feed:MaplePrimes:Integration of piecewise is so slow:Comments#comment139303</link>
      <itunes:summary>&lt;p&gt;The function also depends on h, no clear what you want, Markiyan gave an example&lt;br&gt;(and silently did some more).&lt;/p&gt;
&lt;p&gt;I do not even see that the 'rules' exhaust a domain.&lt;/p&gt;
&lt;p&gt;Best would be to post the integral you want. And talk about h a bit as well.&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;The function also depends on h, no clear what you want, Markiyan gave an example&lt;br&gt;(and silently did some more).&lt;/p&gt;
&lt;p&gt;I do not even see that the 'rules' exhaust a domain.&lt;/p&gt;
&lt;p&gt;Best would be to post the integral you want. And talk about h a bit as well.&lt;/p&gt;</description>
      <guid>139303</guid>
      <pubDate>Thu, 08 Nov 2012 02:06:45 Z</pubDate>
      <itunes:author>Axel Vogt</itunes:author>
      <author>Axel Vogt</author>
    </item>
    <item>
      <title>Criticism should be constructive</title>
      <link>http://www.mapleprimes.com/questions/139288-Integration-Of-Piecewise-Is-So-Slow?ref=Feed:MaplePrimes:Integration of piecewise is so slow:Comments#comment139317</link>
      <itunes:summary>&lt;p&gt;Can somebody suppose a better thing than a numerical calculation after evaluating h and A1[j], j=1..21?&lt;/p&gt;
&lt;p&gt;PS. The question is correct under the assumptions that&amp;nbsp; h &amp;gt; 0 and A1[j],j=1..21 are symbolic constants.&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Can somebody suppose a better thing than a numerical calculation after evaluating h and A1[j], j=1..21?&lt;/p&gt;
&lt;p&gt;PS. The question is correct under the assumptions that&amp;nbsp; h &amp;gt; 0 and A1[j],j=1..21 are symbolic constants.&lt;/p&gt;</description>
      <guid>139317</guid>
      <pubDate>Thu, 08 Nov 2012 09:18:09 Z</pubDate>
      <itunes:author>Markiyan Hirnyk</itunes:author>
      <author>Markiyan Hirnyk</author>
    </item>
    <item>
      <title>Handwork</title>
      <link>http://www.mapleprimes.com/questions/139288-Integration-Of-Piecewise-Is-So-Slow?ref=Feed:MaplePrimes:Integration of piecewise is so slow:Comments#comment139332</link>
      <itunes:summary>&lt;p&gt;This works well. Here is a part of the output:&lt;/p&gt;
&lt;p&gt;&amp;gt; int(int(int(T1[11], x1 = -x2+1 .. x2), x2 = 1/2 .. -x3+1), x3 = 0 .. 1/2)+int(int(int(T1[12], x2 = x1 .. -x1+1), x1 = x3 .. 1/2), x3 = 0 .. 1/2)+int(int(int(T1[9], x1 = x2 .. -x2+1), x2 = x3 .. 1/2), x3 = 0 .. 1/2);&lt;/p&gt;
&lt;p&gt;&lt;img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZoAAAAkCAIAAAA/02uFAAACvUlEQVR4nO3c3XXrIBBFYZUVNUQ5dGOK4RbjPEhWQKAfbGYw3P09JY6j5Cw0Y4GRpycADGFq/Q8AQB20MwCDoJ0BGER5O/N2nmbrBf6XL0FAoE+F7cyZaZqmgYuBgEC33phsOjN4MRAQ6BLtLEVAoEu0sxQBgS7RzlIEBLpEO0sREOgS7SxFQKBLtLMUAYEuFbYzb+dpZVzRb677nfZeR3kduPCo1RHwUCcB8R/TusnJmfU8D7akb4/tn/ORh5nM4+OjFCNg5ntAlVI789a69Yu/G2ycjWY8lWqhTbUT8Ek3Q2vKt6Cf3C5YqxYaXbysCAg0o9vONGqhabUTEGgn386ya75F8n/t+C21D2rhkV+iXvzYfwT89oBAHapXZ84cvfFVsRZaXrwQEGhIs50V1EJ6EXB7r1TDan874LZ74k5H6CHga1MHHQ6a9NrZ/VWXpbjD56aPHGtW7W8H9NZs+x5uhPz6gN7Oy9O8nWloUKTTzsIdmPP+vf3cD7aKOHnkQJNqrxBwffS6/r89YBiNKSg03Whn2/mabScyr8AftLNypwGFrjAO4siUv+4IhtEERw1IXLUzb+f1VHcmsxayTJt6bmfnAaXyHV6dmeoZ9UcwWGHj7lBoumhn3rlovTo+N7011vV9dXYaUC5fPs5uk32dP9RiBA9m2ICskrWzZEHbWD/CZHMTB5TMlw8ovsykOILL8eUjAX8K2llcC85IvnvVpJ1FAWXz7eME30pcoq00R/BkUwcg5HY7i19pnQk/F6byWbvtwgpXlMWnLlFA0Xz7OPEn74hFVBvBJQ+zTKi72c5204b0o696P3n3tT5avvFHELjXzl7TkpwhtkqeBBwi3/gjCDzvtLODSVjw486L4Txg//nGH0FgcdHOkjlJct53XgyXATvPN/4IAhvlj28EACm0MwCDoJ0BGMQvO6Y+YkQXEIMAAAAASUVORK5CYII=" alt=""&gt;&lt;/p&gt;
&lt;p&gt;Everything has its&amp;nbsp; advantages and disadvantages. Your approach is a handwork.&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;This works well. Here is a part of the output:&lt;/p&gt;
&lt;p&gt;&amp;gt; int(int(int(T1[11], x1 = -x2+1 .. x2), x2 = 1/2 .. -x3+1), x3 = 0 .. 1/2)+int(int(int(T1[12], x2 = x1 .. -x1+1), x1 = x3 .. 1/2), x3 = 0 .. 1/2)+int(int(int(T1[9], x1 = x2 .. -x2+1), x2 = x3 .. 1/2), x3 = 0 .. 1/2);&lt;/p&gt;
&lt;p&gt;&lt;img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZoAAAAkCAIAAAA/02uFAAACvUlEQVR4nO3c3XXrIBBFYZUVNUQ5dGOK4RbjPEhWQKAfbGYw3P09JY6j5Cw0Y4GRpycADGFq/Q8AQB20MwCDoJ0BGER5O/N2nmbrBf6XL0FAoE+F7cyZaZqmgYuBgEC33phsOjN4MRAQ6BLtLEVAoEu0sxQBgS7RzlIEBLpEO0sREOgS7SxFQKBLtLMUAYEuFbYzb+dpZVzRb677nfZeR3kduPCo1RHwUCcB8R/TusnJmfU8D7akb4/tn/ORh5nM4+OjFCNg5ntAlVI789a69Yu/G2ycjWY8lWqhTbUT8Ek3Q2vKt6Cf3C5YqxYaXbysCAg0o9vONGqhabUTEGgn386ya75F8n/t+C21D2rhkV+iXvzYfwT89oBAHapXZ84cvfFVsRZaXrwQEGhIs50V1EJ6EXB7r1TDan874LZ74k5H6CHga1MHHQ6a9NrZ/VWXpbjD56aPHGtW7W8H9NZs+x5uhPz6gN7Oy9O8nWloUKTTzsIdmPP+vf3cD7aKOHnkQJNqrxBwffS6/r89YBiNKSg03Whn2/mabScyr8AftLNypwGFrjAO4siUv+4IhtEERw1IXLUzb+f1VHcmsxayTJt6bmfnAaXyHV6dmeoZ9UcwWGHj7lBoumhn3rlovTo+N7011vV9dXYaUC5fPs5uk32dP9RiBA9m2ICskrWzZEHbWD/CZHMTB5TMlw8ovsykOILL8eUjAX8K2llcC85IvnvVpJ1FAWXz7eME30pcoq00R/BkUwcg5HY7i19pnQk/F6byWbvtwgpXlMWnLlFA0Xz7OPEn74hFVBvBJQ+zTKi72c5204b0o696P3n3tT5avvFHELjXzl7TkpwhtkqeBBwi3/gjCDzvtLODSVjw486L4Txg//nGH0FgcdHOkjlJct53XgyXATvPN/4IAhvlj28EACm0MwCDoJ0BGMQvO6Y+YkQXEIMAAAAASUVORK5CYII=" alt=""&gt;&lt;/p&gt;
&lt;p&gt;Everything has its&amp;nbsp; advantages and disadvantages. Your approach is a handwork.&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;/p&gt;</description>
      <guid>139332</guid>
      <pubDate>Thu, 08 Nov 2012 20:44:18 Z</pubDate>
      <itunes:author>Markiyan Hirnyk</itunes:author>
      <author>Markiyan Hirnyk</author>
    </item>
  </channel>
</rss>