﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="0.98.6398.26177"?>
<regions xmlns="http://smath.info/schemas/worksheet/1.0">
  <settings>
    <identity>
      <id>f22bf242-15b2-468b-9dd6-1955b1df7b5c</id>
      <revision>31</revision>
    </identity>
    <calculation>
      <precision>4</precision>
      <exponentialThreshold>5</exponentialThreshold>
      <fractions>decimal</fractions>
    </calculation>
    <pageModel active="true" printAreas="true" simpleEqualsOnly="false" printBackgroundImages="true">
      <paper id="1" orientation="Portrait" width="850" height="1100" />
      <margins left="39" right="39" top="39" bottom="39" />
      <header alignment="Center" color="#a9a9a9">&amp;[DATE] &amp;[TIME] - &amp;[FILENAME]</header>
      <footer alignment="Center" color="#a9a9a9">&amp;[PAGENUM] / &amp;[COUNT]</footer>
      <backgrounds />
    </pageModel>
    <dependencies>
      <assembly name="SMath Studio Desktop" version="0.98.6398.26177" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="Math Region" version="0.98.6398.26177" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="Special Functions" version="1.11.6398.26179" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
      <assembly name="MaximaPlugin" version="1.98.6429.26925" guid="44011c1e-5d0d-4533-8e68-e32b5badce41" />
      <assembly name="Text Region" version="1.10.6398.26182" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
      <assembly name="Hyperlink Region" version="1.0.6362.5973" guid="4938d1a8-ad11-4de8-afbf-d76d069cfbf8" />
      <assembly name="Writer Region" version="0.9.6353.25516" guid="5922d677-323f-4327-8c68-be902d8339ad" />
      <assembly name="Statistical Tools" version="1.0.6395.29106" guid="76f6e9f5-ac86-4ffb-9e4d-284c8daecaf9" />
    </dependencies>
  </settings>
  <region id="0" left="27" top="9" width="174" height="34" color="#000000" bgColor="#ffffe1" fontSize="10">
    <math decimalPlaces="6">
      <input>
        <e type="operand">x</e>
        <e type="function" args="1">f</e>
        <e type="operand">x</e>
        <e type="operand">0.5</e>
        <e type="operand">1</e>
        <e type="operator" args="2">-</e>
        <e type="operator" args="2">^</e>
        <e type="operand">x</e>
        <e type="operator" args="1">-</e>
        <e type="function" args="1">exp</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="1" left="27" top="54" width="202" height="36" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">a</e>
        <e type="operand">10</e>
        <e type="operand">9</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">:</e>
        <e type="operand">b</e>
        <e type="operand">0.1</e>
        <e type="operator" args="2">:</e>
        <e type="operand">c</e>
        <e type="operand">0.25</e>
        <e type="operator" args="2">:</e>
        <e type="operand">1</e>
        <e type="operand">3</e>
        <e type="function" args="5">mat</e>
      </input>
    </math>
  </region>
  <region id="2" left="270" top="54" width="147" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">a</e>
        <e type="function" args="1">f</e>
      </input>
      <result action="numeric">
        <e type="operand">31622.7766</e>
      </result>
    </math>
  </region>
  <region id="3" left="0" top="99" width="387" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand" style="string">restart</e>
        <e type="function" args="1">MaximaControl</e>
      </input>
      <result action="numeric">
        <e type="operand" style="string">Restart complete.</e>
      </result>
    </math>
  </region>
  <region id="4" left="9" top="126" width="775" height="32" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">romberg</e>
        <e type="function" args="1">load</e>
        <e type="function" args="1">Maxima</e>
      </input>
      <result action="numeric">
        <e type="operand" style="string">C:/maxima-5.40.0/bin/../share/maxima/5.40.0/share/numeric/romberg.lisp</e>
      </result>
    </math>
  </region>
  <region id="5" left="9" top="162" width="236" height="84" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">rombergabs</e>
        <e type="operand">rombergit</e>
        <e type="operand">rombergmin</e>
        <e type="operand">rombergtol</e>
        <e type="operand">4</e>
        <e type="operand">1</e>
        <e type="function" args="6">sys</e>
        <e type="function" args="1">Maxima</e>
      </input>
      <result action="numeric">
        <e type="operand">0</e>
        <e type="operand">11</e>
        <e type="operand">0</e>
        <e type="operand">0.0001</e>
        <e type="operand">4</e>
        <e type="operand">1</e>
        <e type="function" args="6">sys</e>
      </result>
    </math>
  </region>
  <region id="6" left="261" top="162" width="28" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <hyperlink dl="http://maxima.sourceforge.net/docs/manual/de/maxima_67.html" flags="" sd="False" width="18" height="18">
      <input>
        <e type="operand" style="string">http://maxima.sourceforge.net/docs/manual/de/maxima_67.html</e>
      </input>
    </hyperlink>
  </region>
  <region id="7" left="18" top="243" width="312" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">rombergtol</e>
        <e type="operand">0.01</e>
        <e type="function" args="2">MaximaDefine</e>
      </input>
      <result action="numeric">
        <e type="operand">0.01</e>
      </result>
    </math>
  </region>
  <region id="8" left="18" top="270" width="270" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">rombergit</e>
        <e type="operand">20</e>
        <e type="function" args="2">MaximaDefine</e>
      </input>
      <result action="numeric">
        <e type="operand">20</e>
      </result>
    </math>
  </region>
  <region id="9" left="324" top="297" width="97" height="33" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">t.0</e>
        <e type="operand">1</e>
        <e type="function" args="1">time</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="10" left="18" top="324" width="298" height="33" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">x</e>
        <e type="function" args="1">f</e>
        <e type="operand">x</e>
        <e type="operand">a</e>
        <e type="operand">b</e>
        <e type="function" args="4">romberg</e>
        <e type="function" args="1">Maxima</e>
      </input>
      <result action="numeric">
        <e type="operand">0.6133</e>
      </result>
    </math>
  </region>
  <region id="11" left="324" top="360" width="97" height="33" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">t.1</e>
        <e type="operand">1</e>
        <e type="function" args="1">time</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="12" left="513" top="369" width="139" height="32" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">t.1</e>
        <e type="operand">t.0</e>
        <e type="operator" args="2">-</e>
      </input>
      <result action="numeric">
        <e type="operand">2.091</e>
        <e type="operand" style="unit">s</e>
        <e type="operator" args="2">*</e>
      </result>
    </math>
  </region>
  <region id="13" left="18" top="378" width="270" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">rombergit</e>
        <e type="operand">30</e>
        <e type="function" args="2">MaximaDefine</e>
      </input>
      <result action="numeric">
        <e type="operand">30</e>
      </result>
    </math>
  </region>
  <region id="14" left="18" top="405" width="328" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">rombergtol</e>
        <e type="operand">0.005</e>
        <e type="function" args="2">MaximaDefine</e>
      </input>
      <result action="numeric">
        <e type="operand">0.005</e>
      </result>
    </math>
  </region>
  <region id="15" left="18" top="432" width="298" height="33" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">x</e>
        <e type="function" args="1">f</e>
        <e type="operand">x</e>
        <e type="operand">a</e>
        <e type="operand">b</e>
        <e type="function" args="4">romberg</e>
        <e type="function" args="1">Maxima</e>
      </input>
      <result action="numeric">
        <e type="operand">0.6125</e>
      </result>
    </math>
  </region>
  <region id="16" left="324" top="450" width="97" height="33" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">t.2</e>
        <e type="operand">1</e>
        <e type="function" args="1">time</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="17" left="504" top="450" width="139" height="32" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">t.2</e>
        <e type="operand">t.1</e>
        <e type="operator" args="2">-</e>
      </input>
      <result action="numeric">
        <e type="operand">3.931</e>
        <e type="operand" style="unit">s</e>
        <e type="operator" args="2">*</e>
      </result>
    </math>
  </region>
  <region id="18" left="18" top="486" width="576" height="54" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">#</e>
        <e type="function" args="1">MaximaLog</e>
      </input>
      <result action="numeric">
        <e type="operand" style="string">Received Bytes: 34
(%i31) romberg(x^(0.5-1)*exp(-x),x,1/1000000000,1/10);
(%o31) 0.6125304748539697</e>
      </result>
    </math>
  </region>
  <region id="19" left="18" top="540" width="727" height="56" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>Note that currently Maxima() has a built-in timeout of 5 seconds. If the calculation takes longer, the session is restarted. Probably, there should be an option to override this with a custom timeout.</p>
    </text>
  </region>
  <region id="20" left="27" top="612" width="414" height="134" border="true" color="#000000" bgColor="#ffffe1">
    <writer lang="eng"><![CDATA[<span style="font-family: 'Arial'; font-size: 10pt; font-weight: normal; font-style: normal; color: Black; background-color: Transparent; text-align: left; line-height: 115%">
<div><span style="font-family: 'Times New Roman'"><span style="font-size: 14pt"><strong><span style="color: Red">Q<span style="text-decoration: underline">uestion/</span></span><span style="color: Blue"><span style="text-decoration: underline">Answer</span>:</span></strong></span></span></div>
<div><span style="font-family: 'Times New Roman'"><span style="font-size: 11pt"><strong>1.</strong> The question is whether the iterative Simpson converges truly ?</span></span></div>
<div><span style="font-family: 'Times New Roman'"><span style="font-size: 11pt"><strong>2.</strong> For this example =&gt; Answer is </span><span style="font-size: 14pt"><strong><span style="text-decoration: underline"><span style="color: Blue">YES</span></span></strong></span><span style="font-size: 11pt"><span style="color: Blue"><strong>.</strong></span> An infinitesimal analysis </span></span></div>
<div><span style="font-family: 'Times New Roman'"><span style="font-size: 11pt">will reveal that the smaller 'dx' =&gt; closer it tends to true value ...</span></span></div>
<div><span style="font-family: 'Times New Roman'"><span style="font-size: 11pt">for this particular example, as demonstrated. For other applications</span></span></div>
<div><span style="font-family: 'Times New Roman'"><span style="font-size: 11pt">one may check 1rst the convergence via Simpson(f,a,b,n).</span></span></div></span>]]></writer>
  </region>
  <region id="21" left="459" top="621" width="60" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">x</e>
        <e type="operand">0.1</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="22" left="459" top="648" width="191" height="28" color="#000000" bgColor="#ffffff" fontSize="10">
    <math decimalPlaces="6">
      <description active="true" position="Top" lang="eng">
        <p>sanity vs Mathematica</p>
      </description>
      <input>
        <e type="operand">π</e>
        <e type="function" args="1">sqrt</e>
        <e type="operand">x</e>
        <e type="function" args="1">sqrt</e>
        <e type="function" args="1">erf</e>
        <e type="operator" args="2">*</e>
      </input>
      <result action="numeric">
        <e type="operand">0.611991</e>
      </result>
    </math>
  </region>
  <region id="23" left="27" top="765" width="671" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>http://www.wolframalpha.com/input/?i=integrate+x%5E(0.5-1)*exp(-x)+from+0+to+0.1</p>
    </text>
  </region>
</regions>