﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="1.0.8348.30405"?>
<worksheet xmlns="http://smath.info/schemas/worksheet/1.0">
  <settings ppi="120">
    <identity>
      <id>994738e7-3f5a-415f-9433-63b9fe96e671</id>
      <revision>5</revision>
    </identity>
    <metadata lang="eng">
      <author>NDTM Amarasekera</author>
    </metadata>
    <calculation>
      <precision>4</precision>
      <exponentialThreshold>5</exponentialThreshold>
      <trailingZeros>false</trailingZeros>
      <significantDigitsMode>false</significantDigitsMode>
      <roundingMode>0</roundingMode>
      <approximateEqualAccuracy>0</approximateEqualAccuracy>
      <fractions>decimal</fractions>
    </calculation>
    <pageModel active="false" viewMode="2" printGrid="false" printAreas="true" simpleEqualsOnly="false" printBackgroundImages="true">
      <paper id="9" orientation="Portrait" width="827" height="1169" />
      <margins left="50" right="30" 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="1.0.8348.30405" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="MathRegion" version="1.11.8348.30405" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="Custom Functions" version="1.1.8051.30522" guid="18dadffd-79a3-4cf9-aee1-d66deb0ea720" />
      <assembly name="SpecialFunctions" version="1.12.8348.30405" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
      <assembly name="TextRegion" version="1.11.8348.30405" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
    </dependencies>
  </settings>
  <regions type="content">
    <region left="9" top="9" width="234" height="24" color="#000000" fontSize="9">
      <math>
        <input>
          <e type="operand">4</e>
          <e type="function" args="1">appVersion</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">1.0.8348.30405</e>
        </result>
      </math>
    </region>
    <region left="9" top="36" width="207" height="22" color="#000000" fontSize="9" isBreakable="false">
      <text lang="eng" width="207" fontFamily="Trebuchet MS" fontSize="10">
        <content>
          <p style="font-size: 9px; text-decoration: underline;">Find array position / elements </p>
        </content>
      </text>
    </region>
    <region left="324" top="54" width="170" height="139" color="#000000" fontSize="9">
      <math optimize="2">
        <input>
          <e type="operand">A</e>
          <e type="operand">5</e>
          <e type="operand">9</e>
          <e type="operand">4</e>
          <e type="operand">8</e>
          <e type="operand">0</e>
          <e type="operand">5</e>
          <e type="operand">5</e>
          <e type="operand">0</e>
          <e type="operand">5</e>
          <e type="operand">5</e>
          <e type="operand">0</e>
          <e type="operand">0</e>
          <e type="operand">4</e>
          <e type="operand">7</e>
          <e type="operand">2</e>
          <e type="operand">7</e>
          <e type="operand">1</e>
          <e type="operand">4</e>
          <e type="operand">0</e>
          <e type="operand">7</e>
          <e type="operand">4</e>
          <e type="operand">9</e>
          <e type="operand">8</e>
          <e type="operand">8</e>
          <e type="operand">8</e>
          <e type="operand">9</e>
          <e type="operand">1</e>
          <e type="operand">4</e>
          <e type="operand">7</e>
          <e type="operand">2</e>
          <e type="operand">2</e>
          <e type="operand">4</e>
          <e type="operand">5</e>
          <e type="operand">4</e>
          <e type="operand">7</e>
          <e type="operand">3</e>
          <e type="operand">3</e>
          <e type="operand">6</e>
          <e type="operand">7</e>
          <e type="operand">9</e>
          <e type="operand">7</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="operand">0</e>
          <e type="operand">2</e>
          <e type="operand">7</e>
          <e type="operand">6</e>
          <e type="operand">0</e>
          <e type="operand">0</e>
          <e type="operand">8</e>
          <e type="operand">2</e>
          <e type="operand">2</e>
          <e type="operand">2</e>
          <e type="operand">7</e>
          <e type="operand">7</e>
          <e type="operand">6</e>
          <e type="operand">1</e>
          <e type="operand">6</e>
          <e type="operand">0</e>
          <e type="operand">0</e>
          <e type="operand">4</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="operand">2</e>
          <e type="operand">2</e>
          <e type="operand">6</e>
          <e type="operand">4</e>
          <e type="operand">0</e>
          <e type="operand">9</e>
          <e type="operand">8</e>
          <e type="operand">4</e>
          <e type="operand">5</e>
          <e type="operand">7</e>
          <e type="operand">1</e>
          <e type="operand">9</e>
          <e type="operand">0</e>
          <e type="operand">7</e>
          <e type="operand">8</e>
          <e type="operand">6</e>
          <e type="operand">1</e>
          <e type="operand">8</e>
          <e type="operand">10</e>
          <e type="function" args="82">mat</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="9" top="63" width="297" height="194" border="true" color="#000000" fontSize="9">
      <math optimize="2">
        <input>
          <e type="operand">M#</e>
          <e type="operand">#</e>
          <e type="function" args="1">F</e>
          <e type="function" args="2">Pos</e>
          <e type="operand">nn</e>
          <e type="operand">0</e>
          <e type="operator" args="2">:</e>
          <e type="operand">j</e>
          <e type="operand">1</e>
          <e type="operand">M#</e>
          <e type="function" args="1">length</e>
          <e type="function" args="2">range</e>
          <e type="operand">M#</e>
          <e type="operand">j</e>
          <e type="function" args="2">el</e>
          <e type="function" args="1">F</e>
          <e type="operand">nn</e>
          <e type="operand">nn</e>
          <e type="operand">1</e>
          <e type="operator" args="2">+</e>
          <e type="operator" args="2">:</e>
          <e type="operand">pos#</e>
          <e type="operand">nn</e>
          <e type="function" args="2">el</e>
          <e type="operand">j</e>
          <e type="operator" args="2">:</e>
          <e type="operand">C</e>
          <e type="operand">nn</e>
          <e type="function" args="2">el</e>
          <e type="operand">M#</e>
          <e type="operand">j</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">:</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="5">line</e>
          <e type="operand">continue</e>
          <e type="function" args="3">if</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="3">line</e>
          <e type="function" args="3">for</e>
          <e type="operand">pos#</e>
          <e type="operand">C</e>
          <e type="function" args="2">augment</e>
          <e type="function" args="1">transpose</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="5">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="351" top="198" width="131" height="24" border="true" color="#000000" bgColor="#d5ffd5" fontSize="9">
      <math>
        <input>
          <e type="operand">x</e>
          <e type="function" args="1">test1</e>
          <e type="operand">x</e>
          <e type="operand">8</e>
          <e type="operator" args="2">≥</e>
          <e type="bracket">(</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="351" top="225" width="145" height="24" border="true" color="#000000" fontSize="9">
      <math>
        <input>
          <e type="operand">x</e>
          <e type="function" args="1">test2</e>
          <e type="operand">x</e>
          <e type="operand">4</e>
          <e type="operand">5</e>
          <e type="function" args="3">lele</e>
          <e type="bracket">(</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="351" top="252" width="145" height="24" border="true" color="#000000" fontSize="9">
      <math>
        <input>
          <e type="operand">x</e>
          <e type="function" args="1">test3</e>
          <e type="operand">x</e>
          <e type="operand">4</e>
          <e type="operand">5</e>
          <e type="function" args="3">ltle</e>
          <e type="bracket">(</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="351" top="279" width="131" height="24" border="true" color="#000000" fontSize="9">
      <math>
        <input>
          <e type="operand">x</e>
          <e type="function" args="1">test4</e>
          <e type="operand">x</e>
          <e type="operand">0</e>
          <e type="operator" args="2">≡</e>
          <e type="bracket">(</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="9" top="306" width="397" height="41" color="#000000" fontSize="9">
      <math>
        <input>
          <e type="operand">A</e>
          <e type="operand">x</e>
          <e type="function" args="1">test1</e>
          <e type="function" args="2">Pos</e>
        </input>
        <result action="numeric">
          <e type="operand">2</e>
          <e type="operand">4</e>
          <e type="operand">22</e>
          <e type="operand">23</e>
          <e type="operand">24</e>
          <e type="operand">25</e>
          <e type="operand">26</e>
          <e type="operand">40</e>
          <e type="operand">50</e>
          <e type="operand">69</e>
          <e type="operand">70</e>
          <e type="operand">75</e>
          <e type="operand">78</e>
          <e type="operand">9</e>
          <e type="operand">8</e>
          <e type="operand">9</e>
          <e type="operand">8</e>
          <e type="operand">8</e>
          <e type="operand">8</e>
          <e type="operand">9</e>
          <e type="operand">9</e>
          <e type="operand">8</e>
          <e type="operand">9</e>
          <e type="operand">8</e>
          <e type="operand">9</e>
          <e type="operand">8</e>
          <e type="operand">2</e>
          <e type="operand">13</e>
          <e type="function" args="28">mat</e>
        </result>
      </math>
    </region>
    <region left="9" top="351" width="455" height="41" color="#000000" fontSize="9">
      <math matrixOptions="0,0,30,2">
        <input>
          <e type="operand">A</e>
          <e type="operand">x</e>
          <e type="function" args="1">test2</e>
          <e type="function" args="2">Pos</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
          <e type="operand">3</e>
          <e type="operand">6</e>
          <e type="operand">7</e>
          <e type="operand">9</e>
          <e type="operand">10</e>
          <e type="operand">13</e>
          <e type="operand">18</e>
          <e type="operand">21</e>
          <e type="operand">28</e>
          <e type="operand">32</e>
          <e type="operand">33</e>
          <e type="operand">34</e>
          <e type="operand">61</e>
          <e type="operand">67</e>
          <e type="operand">71</e>
          <e type="operand">72</e>
          <e type="operand">5</e>
          <e type="operand">4</e>
          <e type="operand">5</e>
          <e type="operand">5</e>
          <e type="operand">5</e>
          <e type="operand">5</e>
          <e type="operand">4</e>
          <e type="operand">4</e>
          <e type="operand">4</e>
          <e type="operand">4</e>
          <e type="operand">4</e>
          <e type="operand">5</e>
          <e type="operand">4</e>
          <e type="operand">4</e>
          <e type="operand">4</e>
          <e type="operand">4</e>
          <e type="operand">5</e>
          <e type="operand">2</e>
          <e type="operand">17</e>
          <e type="function" args="36">mat</e>
        </result>
      </math>
    </region>
    <region left="9" top="396" width="264" height="41" color="#000000" fontSize="9">
      <math matrixOptions="0,0,30,2">
        <input>
          <e type="operand">A</e>
          <e type="operand">x</e>
          <e type="function" args="1">test3</e>
          <e type="function" args="2">Pos</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
          <e type="operand">6</e>
          <e type="operand">7</e>
          <e type="operand">9</e>
          <e type="operand">10</e>
          <e type="operand">33</e>
          <e type="operand">72</e>
          <e type="operand">5</e>
          <e type="operand">5</e>
          <e type="operand">5</e>
          <e type="operand">5</e>
          <e type="operand">5</e>
          <e type="operand">5</e>
          <e type="operand">5</e>
          <e type="operand">2</e>
          <e type="operand">7</e>
          <e type="function" args="16">mat</e>
        </result>
      </math>
    </region>
    <region left="9" top="441" width="377" height="41" color="#000000" fontSize="9">
      <math matrixOptions="0,0,30,2">
        <input>
          <e type="operand">A</e>
          <e type="operand">x</e>
          <e type="function" args="1">test4</e>
          <e type="function" args="2">Pos</e>
        </input>
        <result action="numeric">
          <e type="operand">5</e>
          <e type="operand">8</e>
          <e type="operand">11</e>
          <e type="operand">12</e>
          <e type="operand">19</e>
          <e type="operand">44</e>
          <e type="operand">48</e>
          <e type="operand">49</e>
          <e type="operand">59</e>
          <e type="operand">60</e>
          <e type="operand">68</e>
          <e type="operand">76</e>
          <e type="operand">0</e>
          <e type="operand">0</e>
          <e type="operand">0</e>
          <e type="operand">0</e>
          <e type="operand">0</e>
          <e type="operand">0</e>
          <e type="operand">0</e>
          <e type="operand">0</e>
          <e type="operand">0</e>
          <e type="operand">0</e>
          <e type="operand">0</e>
          <e type="operand">0</e>
          <e type="operand">2</e>
          <e type="operand">12</e>
          <e type="function" args="26">mat</e>
        </result>
      </math>
    </region>
  </regions>
</worksheet>