﻿<?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>a7911a4a-a612-4543-b8dc-9e5daf2d4c02</id>
      <revision>4</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="18" top="18" 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="90" top="54" width="259" height="36" border="true" color="#000000" bgColor="#fff3e8" fontSize="9" isBreakable="false">
      <text lang="eng" width="259" fontFamily="Trebuchet MS" fontSize="9">
        <content>
          <p style="background-color: #fff3e8;">         <span /><span style="color: #0080ff; text-decoration: underline; font-weight: bold;">Results of Slope Stability Analysis   </span><span /><br />FS                 Centers              Radius    Slices</p>
        </content>
      </text>
    </region>
    <region left="18" top="90" width="329" height="143" color="#000000" fontSize="9">
      <math>
        <input>
          <e type="operand">Res</e>
          <e type="operand">1.4659</e>
          <e type="operand">1.4447</e>
          <e type="operand">1.4299</e>
          <e type="operand">1.3742</e>
          <e type="operand">1.4386</e>
          <e type="operand">1.4599</e>
          <e type="operand">1.4749</e>
          <e type="operand">7</e>
          <e type="operand">1</e>
          <e type="function" args="9">mat</e>
          <e type="operand">7</e>
          <e type="operand" style="unit">m</e>
          <e type="operator" args="2">*</e>
          <e type="operand">15.6</e>
          <e type="operand" style="unit">m</e>
          <e type="operator" args="2">*</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="function" args="4">mat</e>
          <e type="operand">7.5</e>
          <e type="operand" style="unit">m</e>
          <e type="operator" args="2">*</e>
          <e type="operand">15.6</e>
          <e type="operand" style="unit">m</e>
          <e type="operator" args="2">*</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="function" args="4">mat</e>
          <e type="operand">8</e>
          <e type="operand" style="unit">m</e>
          <e type="operator" args="2">*</e>
          <e type="operand">15.6</e>
          <e type="operand" style="unit">m</e>
          <e type="operator" args="2">*</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="function" args="4">mat</e>
          <e type="operand">8.5</e>
          <e type="operand" style="unit">m</e>
          <e type="operator" args="2">*</e>
          <e type="operand">15.6</e>
          <e type="operand" style="unit">m</e>
          <e type="operator" args="2">*</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="function" args="4">mat</e>
          <e type="operand">9</e>
          <e type="operand" style="unit">m</e>
          <e type="operator" args="2">*</e>
          <e type="operand">15.6</e>
          <e type="operand" style="unit">m</e>
          <e type="operator" args="2">*</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="function" args="4">mat</e>
          <e type="operand">9.5</e>
          <e type="operand" style="unit">m</e>
          <e type="operator" args="2">*</e>
          <e type="operand">15.6</e>
          <e type="operand" style="unit">m</e>
          <e type="operator" args="2">*</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="function" args="4">mat</e>
          <e type="operand">10</e>
          <e type="operand" style="unit">m</e>
          <e type="operator" args="2">*</e>
          <e type="operand">15.6</e>
          <e type="operand" style="unit">m</e>
          <e type="operator" args="2">*</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="function" args="4">mat</e>
          <e type="operand">7</e>
          <e type="operand">1</e>
          <e type="function" args="9">mat</e>
          <e type="operand">16.2</e>
          <e type="operand" style="unit">m</e>
          <e type="operator" args="2">*</e>
          <e type="operand">16.2</e>
          <e type="operand" style="unit">m</e>
          <e type="operator" args="2">*</e>
          <e type="operand">16.2</e>
          <e type="operand" style="unit">m</e>
          <e type="operator" args="2">*</e>
          <e type="operand">16.2</e>
          <e type="operand" style="unit">m</e>
          <e type="operator" args="2">*</e>
          <e type="operand">16.2</e>
          <e type="operand" style="unit">m</e>
          <e type="operator" args="2">*</e>
          <e type="operand">16.2</e>
          <e type="operand" style="unit">m</e>
          <e type="operator" args="2">*</e>
          <e type="operand">16.2</e>
          <e type="operand" style="unit">m</e>
          <e type="operator" args="2">*</e>
          <e type="operand">7</e>
          <e type="operand">1</e>
          <e type="function" args="9">mat</e>
          <e type="operand">46</e>
          <e type="operand">46</e>
          <e type="operand">46</e>
          <e type="operand">45</e>
          <e type="operand">46</e>
          <e type="operand">46</e>
          <e type="operand">46</e>
          <e type="operand">7</e>
          <e type="operand">1</e>
          <e type="function" args="9">mat</e>
          <e type="operand">1</e>
          <e type="operand">4</e>
          <e type="function" args="6">mat</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="18" top="234" width="151" height="31" color="#000000" fontSize="9">
      <math>
        <input>
          <e type="operand">Res</e>
          <e type="function" args="1">rows</e>
          <e type="function" args="1">vectorize</e>
        </input>
        <result action="numeric">
          <e type="operand">7</e>
          <e type="operand">7</e>
          <e type="operand">7</e>
          <e type="operand">7</e>
          <e type="operand">1</e>
          <e type="operand">4</e>
          <e type="function" args="6">mat</e>
        </result>
      </math>
    </region>
    <region left="18" top="270" width="244" height="26" border="true" color="#000000" bgColor="#fff3e8" fontSize="9">
      <math>
        <input>
          <e type="operand">Min_FS</e>
          <e type="operand">Res</e>
          <e type="operand">1</e>
          <e type="function" args="2">col</e>
          <e type="function" args="1">Min</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">1.3742</e>
        </result>
      </math>
    </region>
    <region left="18" top="306" width="202" height="24" color="#000000" fontSize="9">
      <math>
        <input>
          <e type="operand">Res</e>
          <e type="operand">Min_FS</e>
          <e type="operand">1</e>
          <e type="function" args="3">findrows</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
        </result>
      </math>
    </region>
    <region left="234" top="306" width="100" height="22" color="#ff0000" fontSize="9">
      <text lang="eng" fontFamily="Trebuchet MS" fontSize="9">
        <content>
          <p style="color: #ff0000; font-weight: normal;">Value not found</p>
        </content>
      </text>
    </region>
    <region left="18" top="342" width="305" height="33" color="#000000" fontSize="9">
      <math>
        <input>
          <e type="operand">Res</e>
          <e type="operand">Min_FS</e>
          <e type="operand">1</e>
          <e type="function" args="3">findrows</e>
          <e type="function" args="1">vectorize</e>
        </input>
        <result action="numeric">
          <e type="operand">1.3742</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="3">mat</e>
          <e type="operand">0</e>
          <e type="operand">0</e>
          <e type="operand">0</e>
          <e type="operand">1</e>
          <e type="operand">4</e>
          <e type="function" args="6">mat</e>
        </result>
      </math>
    </region>
    <region left="333" top="351" width="128" height="22" color="#ff0000" fontSize="9">
      <text lang="eng" fontFamily="Trebuchet MS" fontSize="9">
        <content>
          <p style="color: #ff0000;">Other values missing </p>
        </content>
      </text>
    </region>
    <region left="18" top="387" width="478" height="128" border="true" color="#000000" bgColor="#ecffec" fontSize="9">
      <math>
        <description active="true" position="Top" lang="eng">
          <content>
            <p>Gives all the required values</p>
          </content>
        </description>
        <input>
          <e type="operand">Res2</e>
          <e type="operand">Res</e>
          <e type="function" args="1">vectorize</e>
          <e type="operand">Min_FS</e>
          <e type="function" args="1">vectorize</e>
          <e type="operand">1</e>
          <e type="function" args="3">findrows</e>
          <e type="function" args="1">vectorize</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
          <e type="operand">0</e>
          <e type="operand">0</e>
          <e type="operand">1.3742</e>
          <e type="operand">8.5</e>
          <e type="operand" style="unit">m</e>
          <e type="operator" args="2">*</e>
          <e type="operand">15.6</e>
          <e type="operand" style="unit">m</e>
          <e type="operator" args="2">*</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="function" args="4">mat</e>
          <e type="operand">16.2</e>
          <e type="operand" style="unit">m</e>
          <e type="operator" args="2">*</e>
          <e type="operand">45</e>
          <e type="operand">1</e>
          <e type="operand">4</e>
          <e type="function" args="6">mat</e>
          <e type="operand">0</e>
          <e type="operand">0</e>
          <e type="operand">0</e>
          <e type="operand">7</e>
          <e type="operand">1</e>
          <e type="function" args="9">mat</e>
        </result>
      </math>
    </region>
    <region left="18" top="567" width="106" height="24" color="#000000" fontSize="9">
      <math>
        <input>
          <e type="operand">Res2</e>
          <e type="function" args="1">rows</e>
        </input>
        <result action="numeric">
          <e type="operand">7</e>
        </result>
      </math>
    </region>
    <region left="171" top="567" width="153" height="24" border="true" color="#000000" bgColor="#ecffec" fontSize="9">
      <math>
        <input>
          <e type="operand">x</e>
          <e type="function" args="1">non_zero</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="18" top="612" width="207" height="23" color="#000000" fontSize="10" isBreakable="false">
      <text lang="eng" width="207" fontFamily="Trebuchet MS" fontSize="10">
        <content>
          <p style="font-size: 10px; text-decoration: underline;">Find array position / elements </p>
        </content>
      </text>
    </region>
    <region left="18" top="639" width="297" height="160" border="true" color="#000000" bgColor="#ecffec" 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">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">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">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">C</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="9" top="819" width="465" height="31" border="true" color="#000000" bgColor="#fff3e8" fontSize="9">
      <math>
        <input>
          <e type="operand">Ans</e>
          <e type="operand">Res2</e>
          <e type="operand">x</e>
          <e type="function" args="1">non_zero</e>
          <e type="function" args="2">Pos</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">1.3742</e>
          <e type="operand">8.5</e>
          <e type="operand" style="unit">m</e>
          <e type="operator" args="2">*</e>
          <e type="operand">15.6</e>
          <e type="operand" style="unit">m</e>
          <e type="operator" args="2">*</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="function" args="4">mat</e>
          <e type="operand">16.2</e>
          <e type="operand" style="unit">m</e>
          <e type="operator" args="2">*</e>
          <e type="operand">45</e>
          <e type="operand">1</e>
          <e type="operand">4</e>
          <e type="function" args="6">mat</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="3">mat</e>
        </result>
      </math>
    </region>
    <region left="9" top="855" width="48" height="22" color="#000000" fontSize="9" isBreakable="false">
      <text lang="eng" fontFamily="Trebuchet MS" fontSize="9">
        <content>
          <p>Min FS</p>
        </content>
      </text>
    </region>
    <region left="117" top="855" width="112" height="22" color="#000000" fontSize="9">
      <math>
        <input>
          <e type="operand">Min_FS</e>
        </input>
        <result action="numeric">
          <e type="operand">1.3742</e>
        </result>
      </math>
    </region>
    <region left="9" top="891" width="110" height="22" color="#000000" fontSize="9" isBreakable="false">
      <text lang="eng" fontFamily="Trebuchet MS" fontSize="9">
        <content>
          <p>Center at Min FS  </p>
        </content>
      </text>
    </region>
    <region left="117" top="891" width="230" height="38" color="#000000" fontSize="9">
      <math>
        <input>
          <e type="operand">Cen_Min</e>
          <e type="operand">Ans</e>
          <e type="operand">1</e>
          <e type="function" args="2">el</e>
          <e type="operand">2</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">8.5</e>
          <e type="operand" style="unit">m</e>
          <e type="operator" args="2">*</e>
          <e type="operand">15.6</e>
          <e type="operand" style="unit">m</e>
          <e type="operator" args="2">*</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="function" args="4">mat</e>
        </result>
      </math>
    </region>
    <region left="9" top="927" width="101" height="22" color="#000000" fontSize="9" isBreakable="false">
      <text lang="eng" fontFamily="Trebuchet MS" fontSize="9">
        <content>
          <p>Radius at Min FS</p>
        </content>
      </text>
    </region>
    <region left="117" top="927" width="176" height="37" color="#000000" fontSize="9">
      <math>
        <input>
          <e type="operand">Rad_Min</e>
          <e type="operand">Ans</e>
          <e type="operand">1</e>
          <e type="function" args="2">el</e>
          <e type="operand">3</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">16.2</e>
          <e type="operand" style="unit">m</e>
          <e type="operator" args="2">*</e>
        </result>
      </math>
    </region>
    <region left="9" top="963" width="100" height="22" color="#000000" fontSize="9">
      <text lang="eng" fontFamily="Trebuchet MS" fontSize="9">
        <content>
          <p>Slices at Min FS </p>
        </content>
      </text>
    </region>
    <region left="117" top="963" width="144" height="37" color="#000000" fontSize="9">
      <math>
        <input>
          <e type="operand">Slices</e>
          <e type="operand">Ans</e>
          <e type="operand">1</e>
          <e type="function" args="2">el</e>
          <e type="operand">4</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">45</e>
        </result>
      </math>
    </region>
  </regions>
</worksheet>