﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="0.98.6179.21440"?>
<regions>
  <settings>
    <identity>
      <id>f5863907-17cc-4a2d-afb1-0da96ab62f2b</id>
      <revision>10</revision>
    </identity>
    <metadata lang="eng">
      <author>Arie</author>
    </metadata>
    <calculation>
      <precision>4</precision>
      <exponentialThreshold>5</exponentialThreshold>
      <fractions>decimal</fractions>
    </calculation>
    <pageModel active="false" printAreas="true" simpleEqualsOnly="false" printBackgroundImages="true">
      <paper id="1" orientation="Portrait" width="850" height="1100" />
      <margins left="39" right="39" top="49" bottom="49" />
      <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="Custom Functions" version="1.1.6281.4594" guid="18dadffd-79a3-4cf9-aee1-d66deb0ea720" />
      <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" />
    </dependencies>
    <mode debug="true" />
  </settings>
  <region id="0" left="324" top="9" width="230" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">3</e>
        <e type="function" preserve="true" args="1">appVersion</e>
      </input>
      <result action="numeric">
        <e type="operand" style="string">0.98.6179</e>
      </result>
    </math>
  </region>
  <region id="1" left="0" top="63" width="547" height="48" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">#</e>
        <e type="function" args="1">f</e>
        <e type="operand">Input</e>
        <e type="function" args="2">F1</e>
        <e type="operand" style="string">This function takes Input and passes it to f()</e>
        <e type="operand">Input</e>
        <e type="function" args="1">f</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="2" left="27" top="126" width="229" height="43" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">a</e>
        <e type="function" args="1">F2.1</e>
        <e type="operand">2</e>
        <e type="operand">a</e>
        <e type="operator" args="2">*</e>
        <e type="operand">a</e>
        <e type="operand">10</e>
        <e type="operator" args="2">≤</e>
        <e type="operand" style="string">error</e>
        <e type="function" preserve="true" args="3">cases</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="3" left="387" top="126" width="421" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>function uses a variable in the condition of cases</p>
    </text>
  </region>
  <region id="4" left="27" top="171" width="174" height="61" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">15</e>
        <e type="function" args="1">F2.1</e>
        <e type="operand">π</e>
        <e type="function" args="1">F2.1</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="4">sys</e>
      </input>
      <result action="numeric">
        <e type="operand" style="string">error</e>
        <e type="operand">6.2832</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="4">sys</e>
      </result>
    </math>
  </region>
  <region id="5" left="0" top="243" width="205" height="46" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">a</e>
        <e type="function" args="1">F2.2</e>
        <e type="operand">2</e>
        <e type="operand">a</e>
        <e type="operator" args="2">*</e>
        <e type="operand">a</e>
        <e type="operand">10</e>
        <e type="operator" args="2">&lt;</e>
        <e type="operand">a</e>
        <e type="function" preserve="true" args="3">cases</e>
        <e type="operand">1</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="3">line</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="6" left="378" top="252" width="592" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>function uses a variable in the condition of cases. No Error statement.</p>
    </text>
  </region>
  <region id="7" left="135" top="288" width="131" height="32" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">π</e>
        <e type="function" args="1">F2.2</e>
      </input>
      <result action="numeric">
        <e type="operand">6.2832</e>
      </result>
    </math>
  </region>
  <region id="8" left="135" top="315" width="155" height="32" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">4</e>
        <e type="operand">π</e>
        <e type="operator" args="2">*</e>
        <e type="function" args="1">F2.2</e>
      </input>
      <result action="numeric">
        <e type="operand">12.5664</e>
      </result>
    </math>
  </region>
  <region id="9" left="0" top="360" width="326" height="48" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">a</e>
        <e type="function" args="1">F2.3</e>
        <e type="operand">2</e>
        <e type="operand">a</e>
        <e type="operator" args="2">*</e>
        <e type="operand">1</e>
        <e type="operand" style="string">big error</e>
        <e type="function" preserve="true" args="1">error</e>
        <e type="function" preserve="true" args="3">cases</e>
        <e type="operand">1</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="3">line</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="10" left="378" top="369" width="544" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>function hard codes the condition of cases. with Error statement.</p>
    </text>
  </region>
  <region id="11" left="9" top="486" width="158" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">_1</e>
        <e type="function" args="1">F2.1</e>
        <e type="operand">5</e>
        <e type="function" args="2">F1</e>
      </input>
      <result action="numeric">
        <e type="operand">10</e>
      </result>
    </math>
  </region>
  <region id="12" left="441" top="486" width="98" height="32" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">5</e>
        <e type="function" args="1">F2.1</e>
      </input>
      <result action="numeric">
        <e type="operand">10</e>
      </result>
    </math>
  </region>
  <region id="13" left="189" top="495" width="127" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">lastError</e>
      </input>
      <result action="numeric">
        <e type="operand" style="string" />
      </result>
    </math>
  </region>
  <region id="14" left="441" top="513" width="98" height="32" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">5</e>
        <e type="function" args="1">F2.2</e>
      </input>
      <result action="numeric">
        <e type="operand">10</e>
      </result>
    </math>
  </region>
  <region id="15" left="9" top="522" width="158" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">_1</e>
        <e type="function" args="1">F2.2</e>
        <e type="operand">5</e>
        <e type="function" args="2">F1</e>
      </input>
      <result action="numeric">
        <e type="operand">10</e>
      </result>
    </math>
  </region>
  <region id="16" left="441" top="540" width="98" height="32" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">5</e>
        <e type="function" args="1">F2.3</e>
      </input>
      <result action="numeric">
        <e type="operand">10</e>
      </result>
    </math>
  </region>
  <region id="17" left="9" top="558" width="158" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">_1</e>
        <e type="function" args="1">F2.3</e>
        <e type="operand">5</e>
        <e type="function" args="2">F1</e>
      </input>
      <result action="numeric">
        <e type="operand">10</e>
      </result>
    </math>
  </region>
  <region id="18" left="18" top="621" width="243" height="77" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">a</e>
        <e type="function" args="1">F2.1</e>
        <e type="operand">a</e>
        <e type="operand">10</e>
        <e type="operator" args="2">≤</e>
        <e type="operand">2</e>
        <e type="operand">a</e>
        <e type="operator" args="2">*</e>
        <e type="operand" style="string">big error</e>
        <e type="function" preserve="true" args="1">error</e>
        <e type="function" preserve="true" args="3">if</e>
        <e type="operand">1</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="3">line</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="19" left="405" top="621" width="478" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>function uses a variable in the condition of if statement</p>
    </text>
  </region>
  <region id="20" left="315" top="657" width="90" height="32" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">2</e>
        <e type="function" args="1">F2.1</e>
      </input>
      <result action="numeric">
        <e type="operand">4</e>
      </result>
    </math>
  </region>
  <region id="21" left="18" top="711" width="128" height="75" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="0">
      <input>
        <e type="operand">a</e>
        <e type="function" args="1">f</e>
        <e type="operand">a</e>
        <e type="operand">10</e>
        <e type="operator" args="2">≤</e>
        <e type="operand">2</e>
        <e type="operand">a</e>
        <e type="operator" args="2">*</e>
        <e type="operand">a</e>
        <e type="function" preserve="true" args="3">if</e>
        <e type="operand">1</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="3">line</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="22" left="396" top="729" width="653" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>function uses a variable in the condition of if statement.  No Error statement.</p>
    </text>
  </region>
  <region id="23" left="198" top="756" width="89" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">15</e>
        <e type="function" args="1">f</e>
      </input>
      <result action="numeric">
        <e type="operand">15</e>
      </result>
    </math>
  </region>
  <region id="24" left="18" top="810" width="226" height="77" color="#000000" bgColor="#ebebeb" fontSize="10">
    <math>
      <input>
        <e type="operand">a</e>
        <e type="function" args="1">q</e>
        <e type="operand">1</e>
        <e type="operand">2</e>
        <e type="operand">a</e>
        <e type="operator" args="2">*</e>
        <e type="operand" style="string">big error</e>
        <e type="function" preserve="true" args="1">error</e>
        <e type="function" preserve="true" args="3">if</e>
        <e type="operand">1</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="3">line</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="25" left="396" top="819" width="593" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>function hard codes the condition of if statement with Error statement.</p>
    </text>
  </region>
  <region id="26" left="252" top="846" width="150" height="40" color="#000000" bgColor="#ebebeb" fontSize="10">
    <text lang="eng">
      <p>if Bolean 1 meansif 'a' exist</p>
    </text>
  </region>
  <region id="27" left="18" top="900" width="181" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">f</e>
        <e type="operand">Input</e>
        <e type="function" args="2">F1</e>
        <e type="operand">Input</e>
        <e type="function" args="1">f</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="28" left="18" top="936" width="181" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">q</e>
        <e type="operand">Input</e>
        <e type="function" args="2">F1</e>
        <e type="operand">Input</e>
        <e type="function" args="1">q</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="29" left="27" top="990" width="175" height="28" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">1</e>
        <e type="operator" args="1">-</e>
        <e type="function" args="1">q</e>
        <e type="operand">π</e>
        <e type="function" args="2">F1</e>
      </input>
      <result action="numeric">
        <e type="operand">6.2832</e>
      </result>
    </math>
  </region>
  <region id="30" left="279" top="990" width="127" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">lastError</e>
      </input>
      <result action="numeric">
        <e type="operand" style="string" />
      </result>
    </math>
  </region>
  <region id="31" left="27" top="1026" width="166" height="28" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">∞</e>
        <e type="function" args="1">q</e>
        <e type="operand">π</e>
        <e type="function" args="2">F1</e>
      </input>
      <result action="numeric">
        <e type="operand">6.2832</e>
      </result>
    </math>
  </region>
  <region id="32" left="279" top="1026" width="127" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">lastError</e>
      </input>
      <result action="numeric">
        <e type="operand" style="string" />
      </result>
    </math>
  </region>
  <region id="33" left="27" top="1062" width="166" height="28" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">i</e>
        <e type="function" args="1">q</e>
        <e type="operand">π</e>
        <e type="function" args="2">F1</e>
      </input>
      <result action="numeric">
        <e type="operand">6.2832</e>
      </result>
    </math>
  </region>
  <region id="34" left="27" top="1098" width="277" height="30" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">0.25</e>
        <e type="operand">0.5</e>
        <e type="function" preserve="true" args="2">atan</e>
        <e type="function" args="1">q</e>
        <e type="operand">π</e>
        <e type="function" args="2">F1</e>
      </input>
      <result action="numeric">
        <e type="operand">6.2832</e>
      </result>
    </math>
  </region>
  <region id="35" left="27" top="1143" width="141" height="28" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">15</e>
        <e type="function" args="1">f</e>
        <e type="operand">7</e>
        <e type="function" args="2">F1</e>
      </input>
      <result action="numeric">
        <e type="operand">14</e>
      </result>
    </math>
  </region>
  <region id="36" left="27" top="1179" width="158" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">_</e>
        <e type="function" args="1">F2.3</e>
        <e type="operand">10</e>
        <e type="function" args="2">F1</e>
      </input>
      <result action="numeric">
        <e type="operand">20</e>
      </result>
    </math>
  </region>
  <region id="37" left="477" top="1179" width="98" height="32" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">5</e>
        <e type="function" args="1">F2.1</e>
      </input>
      <result action="numeric">
        <e type="operand">10</e>
      </result>
    </math>
  </region>
  <region id="38" left="477" top="1215" width="98" height="32" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">5</e>
        <e type="function" args="1">F2.2</e>
      </input>
      <result action="numeric">
        <e type="operand">10</e>
      </result>
    </math>
  </region>
  <region id="39" left="63" top="1233" width="98" height="32" color="#000000" bgColor="#ffffff" fontSize="10">
    <math error="2">
      <input>
        <e type="operand">_1</e>
        <e type="function" args="1">F2.3</e>
      </input>
      <result action="numeric">
        <e type="operand">#</e>
      </result>
    </math>
  </region>
  <region id="40" left="477" top="1251" width="98" height="32" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">5</e>
        <e type="function" args="1">F2.3</e>
      </input>
      <result action="numeric">
        <e type="operand">10</e>
      </result>
    </math>
  </region>
  <region id="41" left="153" top="1296" width="89" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">15</e>
        <e type="function" args="1">f</e>
      </input>
      <result action="numeric">
        <e type="operand">15</e>
      </result>
    </math>
  </region>
</regions>