﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="0.99.7921.69"?>
<worksheet xmlns="http://smath.info/schemas/worksheet/1.0">
  <settings ppi="96">
    <identity>
      <id>1fd6a8c6-479b-4afc-bb0d-5814457702e8</id>
      <revision>5</revision>
    </identity>
    <metadata lang="eng">
      <author>overlord</author>
    </metadata>
    <calculation>
      <precision>4</precision>
      <exponentialThreshold>5</exponentialThreshold>
      <trailingZeros>false</trailingZeros>
      <significantDigitsMode>false</significantDigitsMode>
      <roundingMode>0</roundingMode>
      <fractions>decimal</fractions>
    </calculation>
    <pageModel active="false" viewMode="2" printGrid="false" printAreas="true" simpleEqualsOnly="false" printBackgroundImages="true">
      <paper id="8" orientation="Portrait" width="1169" height="1654" />
      <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.99.7921.69" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="MathRegion" version="1.11.7921.69" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="Custom Functions" version="1.1.7840.30466" guid="18dadffd-79a3-4cf9-aee1-d66deb0ea720" />
      <assembly name="SpecialFunctions" version="1.12.7921.69" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
      <assembly name="TextRegion" version="1.11.7921.69" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
    </dependencies>
  </settings>
  <regions type="content">
    <region left="27" top="9" width="409" height="106" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">var#</e>
          <e type="operand">M#</e>
          <e type="function" args="2">isElement</e>
          <e type="operand">i#</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">res#</e>
          <e type="operand">1</e>
          <e type="operator" args="2">:</e>
          <e type="operand">break</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">line</e>
          <e type="operand">var#</e>
          <e type="operand">M#</e>
          <e type="operand">i#</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">≡</e>
          <e type="operand">res#</e>
          <e type="operand">0</e>
          <e type="operator" args="2">:</e>
          <e type="function" args="3">cases</e>
          <e type="function" args="3">for</e>
          <e type="operand">res#</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="432" top="27" width="379" height="53" border="true" color="#000000" bgColor="#ffffeb" fontSize="10">
      <text lang="eng" width="379" fontFamily="Courier New" fontSize="10">
        <content>
          <p style="background-color: #ffffeb;">&lt;---- You need this custom function to look<br />if h.profundidade1 is an element of checked<br />vector/matrix.</p>
        </content>
      </text>
    </region>
    <region left="36" top="135" width="137" height="32" color="#000000" fontSize="10">
      <math significantDigitsMode="true" trailingZeros="true">
        <input>
          <e type="operand">h.profundidade1</e>
          <e type="operand">2</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="324" top="144" width="84" height="26" color="#000000" fontSize="10">
      <math significantDigitsMode="true" trailingZeros="true">
        <input>
          <e type="operand">Z</e>
          <e type="operand">1</e>
          <e type="operand">3</e>
          <e type="function" args="2">range</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="324" top="180" width="84" height="26" color="#000000" fontSize="10">
      <math significantDigitsMode="true" trailingZeros="true">
        <input>
          <e type="operand">w</e>
          <e type="operand">4</e>
          <e type="operand">6</e>
          <e type="function" args="2">range</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="315" top="216" width="92" height="26" color="#000000" fontSize="10">
      <math significantDigitsMode="true" trailingZeros="true">
        <input>
          <e type="operand">Y</e>
          <e type="operand">7</e>
          <e type="operand">17</e>
          <e type="function" args="2">range</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="36" top="252" width="386" height="111" border="true" color="#000000" fontSize="10">
      <math optimize="2" significantDigitsMode="true" trailingZeros="true">
        <input>
          <e type="operand">γ.s2</e>
          <e type="operand">17.5</e>
          <e type="operand">h.profundidade1</e>
          <e type="operand">Z</e>
          <e type="function" args="2">isElement</e>
          <e type="operand">1</e>
          <e type="operator" args="2">≡</e>
          <e type="operand">16.0</e>
          <e type="operand">h.profundidade1</e>
          <e type="operand">w</e>
          <e type="function" args="2">isElement</e>
          <e type="operand">1</e>
          <e type="operator" args="2">≡</e>
          <e type="operand">20.5</e>
          <e type="operand">h.profundidade1</e>
          <e type="operand">Y</e>
          <e type="function" args="2">isElement</e>
          <e type="operand">1</e>
          <e type="operator" args="2">≡</e>
          <e type="operand" style="string">erro</e>
          <e type="function" args="7">cases</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="36" top="369" width="82" height="32" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">γ.s2</e>
        </input>
        <result action="numeric">
          <e type="operand">17.5</e>
        </result>
      </math>
    </region>
    <region left="36" top="405" width="333" height="105" border="true" color="#000000" fontSize="10">
      <math significantDigitsMode="true" trailingZeros="true">
        <input>
          <e type="operand">σ.horizontal2</e>
          <e type="operand">L</e>
          <e type="operand">0</e>
          <e type="operator" args="2">:</e>
          <e type="operand">i</e>
          <e type="operand">h.profundidade1</e>
          <e type="function" args="1">cols</e>
          <e type="operand">σ.h</e>
          <e type="operand">L</e>
          <e type="operand">i</e>
          <e type="operand">γ.s2</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">+</e>
          <e type="operator" args="2">:</e>
          <e type="function" args="3">for</e>
          <e type="operand">σ.h</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="369" top="432" width="590" height="83" border="true" color="#000000" bgColor="#ffffeb" fontSize="10">
      <text lang="eng" fontFamily="Courier New" fontSize="10">
        <content>
          <p style="background-color: #ffffeb;">&lt;---- You can't use a scalar argument here in for() function<br />h.profundidade1 is scalar, argument has to be either a vector or matrix.<br />Did you meant to use which h.profundidade1 vector in?<br />I didn't understand what you try to achieve with this loop.<br />If you explain it, that would help to understand it better.</p>
        </content>
      </text>
    </region>
    <region left="36" top="522" width="121" height="32" color="#000000" fontSize="10">
      <math error="69" significantDigitsMode="true" trailingZeros="true">
        <input>
          <e type="operand">σ.horizontal2</e>
        </input>
        <result action="numeric">
          <e type="operand">#</e>
        </result>
      </math>
    </region>
  </regions>
</worksheet>