﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="0.98.6179.21440"?>
<regions>
  <settings>
    <identity>
      <id>229807a2-ac34-4c5c-9fa3-8a04cda261eb</id>
      <revision>5</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.6179.21440" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="Math Region" version="0.98.6179.21440" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="Special Functions" version="1.11.6179.21442" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
      <assembly name="Text Region" version="1.10.6179.21446" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
      <assembly name="Plot Region" version="1.9.6179.21450" guid="c451c2b5-798b-4f08-b9ec-b90963d1ddaa" />
    </dependencies>
  </settings>
  <region id="0" left="9" top="0" width="742" height="60" border="true" color="#000000" bgColor="#80ff80" fontSize="16">
    <text lang="eng">
      <p>Adaptive recursive quadrature based on the Simpson Rule for the calculation of integrals</p>
    </text>
  </region>
  <region id="1" left="648" top="72" width="111" height="30" color="#ffff00" bgColor="#010101" fontSize="12">
    <math decimalPlaces="6" exponentialThreshold="12">
      <input>
        <e type="operand">t0</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="1">time</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="2" left="0" top="90" width="582" height="98" color="#000000" bgColor="#000000" fontSize="10">
    <math>
      <input>
        <e type="operand">f</e>
        <e type="operand">a</e>
        <e type="operand">b</e>
        <e type="operand">N</e>
        <e type="operand">ε</e>
        <e type="function" args="5">∫AdapRecursive</e>
        <e type="operand">I.0</e>
        <e type="operand">b</e>
        <e type="operand">a</e>
        <e type="operator" args="2">-</e>
        <e type="operand">6</e>
        <e type="operator" args="2">/</e>
        <e type="operand">a</e>
        <e type="function" args="1">f</e>
        <e type="operand">4</e>
        <e type="operand">a</e>
        <e type="operand">b</e>
        <e type="operator" args="2">+</e>
        <e type="operand">2</e>
        <e type="operator" args="2">/</e>
        <e type="function" args="1">f</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">+</e>
        <e type="operand">b</e>
        <e type="function" args="1">f</e>
        <e type="operator" args="2">+</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">:</e>
        <e type="operand">ε</e>
        <e type="operand">10</e>
        <e type="operand">ε</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">:</e>
        <e type="operand">f</e>
        <e type="operand">a</e>
        <e type="operand">b</e>
        <e type="operand">N</e>
        <e type="operand">ε</e>
        <e type="operand">I.0</e>
        <e type="function" args="6">Recursive</e>
        <e type="function" preserve="true" args="1">eval</e>
        <e type="operand">3</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="5">line</e>
        <e type="function" preserve="true" args="1">eval</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="3" left="0" top="189" width="717" height="268" color="#000000" bgColor="#000000" fontSize="8">
    <math>
      <input>
        <e type="operand">f</e>
        <e type="operand">a</e>
        <e type="operand">b</e>
        <e type="operand">N</e>
        <e type="operand">ε</e>
        <e type="operand">I.0</e>
        <e type="function" args="6">Recursive</e>
        <e type="operand">N</e>
        <e type="operand">0</e>
        <e type="operator" args="2">≡</e>
        <e type="operand">I.0</e>
        <e type="operand" style="string">Number of Iterations exceeded</e>
        <e type="operator" args="2">:</e>
        <e type="operand">c</e>
        <e type="operand">a</e>
        <e type="operand">b</e>
        <e type="operator" args="2">+</e>
        <e type="bracket">(</e>
        <e type="operand">2</e>
        <e type="operator" args="2">/</e>
        <e type="operator" args="2">:</e>
        <e type="operand">I.1</e>
        <e type="operand">c</e>
        <e type="operand">a</e>
        <e type="operator" args="2">-</e>
        <e type="operand">6</e>
        <e type="operator" args="2">/</e>
        <e type="operand">a</e>
        <e type="function" args="1">f</e>
        <e type="operand">4</e>
        <e type="operand">a</e>
        <e type="operand">c</e>
        <e type="operator" args="2">+</e>
        <e type="operand">2</e>
        <e type="operator" args="2">/</e>
        <e type="function" args="1">f</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">+</e>
        <e type="operand">c</e>
        <e type="function" args="1">f</e>
        <e type="operator" args="2">+</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">:</e>
        <e type="operand">I.2</e>
        <e type="operand">b</e>
        <e type="operand">c</e>
        <e type="operator" args="2">-</e>
        <e type="operand">6</e>
        <e type="operator" args="2">/</e>
        <e type="operand">c</e>
        <e type="function" args="1">f</e>
        <e type="operand">4</e>
        <e type="operand">c</e>
        <e type="operand">b</e>
        <e type="operator" args="2">+</e>
        <e type="operand">2</e>
        <e type="operator" args="2">/</e>
        <e type="function" args="1">f</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">+</e>
        <e type="operand">b</e>
        <e type="function" args="1">f</e>
        <e type="operator" args="2">+</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">:</e>
        <e type="operand">I.0</e>
        <e type="operand">I.1</e>
        <e type="operator" args="2">-</e>
        <e type="operand">I.2</e>
        <e type="operator" args="2">-</e>
        <e type="function" preserve="true" args="1">abs</e>
        <e type="operand">ε</e>
        <e type="operator" args="2">&gt;</e>
        <e type="operand">I.0</e>
        <e type="operand">f</e>
        <e type="operand">a</e>
        <e type="operand">c</e>
        <e type="operand">N</e>
        <e type="operand">1</e>
        <e type="operator" args="2">-</e>
        <e type="operand">ε</e>
        <e type="operand">2</e>
        <e type="operator" args="2">/</e>
        <e type="operand">I.1</e>
        <e type="function" args="6">Recursive</e>
        <e type="operand">f</e>
        <e type="operand">c</e>
        <e type="operand">b</e>
        <e type="operand">N</e>
        <e type="operand">1</e>
        <e type="operator" args="2">-</e>
        <e type="operand">ε</e>
        <e type="operand">2</e>
        <e type="operator" args="2">/</e>
        <e type="operand">I.2</e>
        <e type="function" args="6">Recursive</e>
        <e type="operator" args="2">+</e>
        <e type="operator" args="2">:</e>
        <e type="operand">I.0</e>
        <e type="operand">I.1</e>
        <e type="operand">I.2</e>
        <e type="operator" args="2">+</e>
        <e type="operator" args="2">:</e>
        <e type="function" preserve="true" args="3">if</e>
        <e type="operand">4</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="6">line</e>
        <e type="function" preserve="true" args="3">if</e>
        <e type="operand">I.0</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="4">line</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="4" left="648" top="450" width="111" height="30" color="#ffff00" bgColor="#010101" fontSize="12">
    <math decimalPlaces="6" exponentialThreshold="12">
      <input>
        <e type="operand">t0</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="1">time</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="5" left="99" top="495" width="114" height="28" color="#000000" bgColor="#000000" fontSize="10">
    <math>
      <description active="true" position="Left" lang="eng">
        <p>Function</p>
      </description>
      <input>
        <e type="operand">x</e>
        <e type="function" args="1">f</e>
        <e type="operand">x</e>
        <e type="function" preserve="true" args="1">sqrt</e>
        <e type="function" preserve="true" args="1">exp</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="6" left="99" top="522" width="68" height="24" color="#000000" bgColor="#000000" fontSize="10">
    <math>
      <description active="true" position="Left" lang="eng">
        <p>Number of iterations</p>
      </description>
      <input>
        <e type="operand">N</e>
        <e type="operand">1000</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="7" left="99" top="558" width="126" height="24" color="#000000" bgColor="#000000" fontSize="10">
    <math>
      <description active="true" position="Left" lang="eng">
        <p>Precision</p>
      </description>
      <input>
        <e type="operand">ε</e>
        <e type="operand">0.000000001</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="8" left="99" top="585" width="43" height="24" color="#000000" bgColor="#000000" fontSize="10">
    <math>
      <description active="true" position="Left" lang="eng">
        <p>Lower Limit</p>
      </description>
      <input>
        <e type="operand">a</e>
        <e type="operand">0</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="9" left="99" top="612" width="43" height="24" color="#000000" bgColor="#000000" fontSize="10">
    <math>
      <description active="true" position="Left" lang="eng">
        <p>Upper Limit</p>
      </description>
      <input>
        <e type="operand">b</e>
        <e type="operand">2</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="10" left="81" top="666" width="400" height="26" border="true" color="#000000" bgColor="#d2ffd8" fontSize="10">
    <math decimalPlaces="15">
      <input>
        <e type="operand">f</e>
        <e type="operand">a</e>
        <e type="operand">b</e>
        <e type="operand">N</e>
        <e type="operand">ε</e>
        <e type="function" args="5">∫AdapRecursive</e>
      </input>
      <result action="numeric">
        <e type="operand">5.40752818445865</e>
      </result>
    </math>
  </region>
  <region id="11" left="576" top="675" width="187" height="26" border="true" color="#ffff00" bgColor="#000000" fontSize="10">
    <math>
      <input>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="1">time</e>
        <e type="operand">t0</e>
        <e type="operator" args="2">-</e>
      </input>
      <contract>
        <e type="operand" style="unit">min</e>
      </contract>
      <result action="numeric">
        <e type="operand">0.0097</e>
      </result>
    </math>
  </region>
  <region id="12" left="81" top="702" width="240" height="158" color="#000000" bgColor="#ffffff" fontSize="10">
    <plot type="2d" render="lines" scale_x="0.381559622713851" scale_y="1.78885436083542" scale_z="0.569792632949653" rotate_x="0" rotate_y="0" rotate_z="0" transpose_x="-100" transpose_y="-58" transpose_z="0">
      <input>
        <e type="operand">x</e>
        <e type="function" args="1">f</e>
      </input>
    </plot>
  </region>
  <region id="13" left="81" top="927" width="265" height="66" color="#000000" bgColor="#000000" fontSize="10">
    <math decimalPlaces="15">
      <input>
        <e type="operand">x</e>
        <e type="function" preserve="true" args="1">sqrt</e>
        <e type="function" preserve="true" args="1">exp</e>
        <e type="operand">x</e>
        <e type="operand">a</e>
        <e type="operand">b</e>
        <e type="function" preserve="true" args="4">int</e>
      </input>
      <result action="numeric">
        <e type="operand">5.40744702348009</e>
      </result>
    </math>
  </region>
</regions>