﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="0.99.6839.38235"?>
<regions xmlns="http://smath.info/schemas/worksheet/1.0">
  <settings dpi="96">
    <identity>
      <id>2e83b561-c452-43df-a4a7-22d91abec7c6</id>
      <revision>22</revision>
    </identity>
    <calculation>
      <precision>4</precision>
      <exponentialThreshold>5</exponentialThreshold>
      <trailingZeros>false</trailingZeros>
      <significantDigitsMode>false</significantDigitsMode>
      <roundingMode>0</roundingMode>
      <fractions>decimal</fractions>
    </calculation>
    <pageModel active="true" viewMode="0" printGrid="False" 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.99.6839.38235" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="Math Region" version="0.99.6839.38235" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="Custom Functions" version="1.1.6831.35137" guid="18dadffd-79a3-4cf9-aee1-d66deb0ea720" />
      <assembly name="SpecialFunctions" version="1.12.6839.38235" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
      <assembly name="TextRegion" version="1.11.6839.38235" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
    </dependencies>
  </settings>
  <region id="0" top="72" color="#000000" bgColor="#ffffff">
    <area collapsed="false">
      <title lang="spa">
        <p>Length</p>
      </title>
    </area>
    <region id="1" left="54" top="108" width="271" height="127" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <description active="true" position="Top" lang="spa">
          <p>Rows(x) extends  rows(x) for return 0 for atom expressions.</p>
        </description>
        <input>
          <e type="operand">x\032E\</e>
          <e type="function" args="1">Rows</e>
          <e type="operand">ans\0324\</e>
          <e type="operand">x\032E\</e>
          <e type="function" args="1">rows</e>
          <e type="operator" args="2">:</e>
          <e type="bracket">(</e>
          <e type="operand">0</e>
          <e type="operator" args="2">&gt;</e>
          <e type="operand">0</e>
          <e type="function" args="2">try</e>
          <e type="operand">ans\0324\</e>
          <e type="operand">0</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="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="2" left="549" top="117" width="152" height="192" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand" style="string">abc</e>
          <e type="function" args="1">Rows</e>
          <e type="operand">1</e>
          <e type="function" args="1">Rows</e>
          <e type="operand">x</e>
          <e type="function" args="1">Rows</e>
          <e type="operand">1</e>
          <e type="operand">x</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">mat</e>
          <e type="function" args="1">Rows</e>
          <e type="operand">x</e>
          <e type="operand">y</e>
          <e type="operand">z</e>
          <e type="operand">t</e>
          <e type="operand">2</e>
          <e type="operand">2</e>
          <e type="function" args="6">mat</e>
          <e type="function" args="1">Rows</e>
          <e type="operand">a</e>
          <e type="operand">b</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">sys</e>
          <e type="function" args="1">Rows</e>
          <e type="operand">6</e>
          <e type="operand">1</e>
          <e type="function" args="8">sys</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
          <e type="operand">0</e>
          <e type="operand">0</e>
          <e type="operand">2</e>
          <e type="operand">2</e>
          <e type="operand">0</e>
          <e type="operand">6</e>
          <e type="operand">1</e>
          <e type="function" args="8">sys</e>
        </result>
      </math>
    </region>
    <region id="3" left="54" top="279" width="271" height="127" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <description active="true" position="Top" lang="spa">
          <p>Cols(x) extends cols(x) for return 0 for atom expressions.</p>
        </description>
        <input>
          <e type="operand">x\032E\</e>
          <e type="function" args="1">Cols</e>
          <e type="operand">ans\0324\</e>
          <e type="operand">x\032E\</e>
          <e type="function" args="1">cols</e>
          <e type="operator" args="2">:</e>
          <e type="bracket">(</e>
          <e type="operand">0</e>
          <e type="operator" args="2">&gt;</e>
          <e type="operand">0</e>
          <e type="function" args="2">try</e>
          <e type="operand">ans\0324\</e>
          <e type="operand">0</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="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="4" left="45" top="450" width="303" height="227" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <description active="true" position="Top" lang="spa">
          <p>Length(x) extends length(x) for return 0 for scalars and strlength for strings.</p>
        </description>
        <input>
          <e type="operand">x\032E\</e>
          <e type="function" args="1">Length</e>
          <e type="operand">ans\0324\</e>
          <e type="operand">x\032E\</e>
          <e type="function" args="1">length</e>
          <e type="operator" args="2">:</e>
          <e type="bracket">(</e>
          <e type="operand">0</e>
          <e type="operator" args="2">&gt;</e>
          <e type="operand">0</e>
          <e type="function" args="2">try</e>
          <e type="operand">ans\0324\</e>
          <e type="operand">x\032E\</e>
          <e type="function" args="1">IsString</e>
          <e type="operand">0</e>
          <e type="function" args="2">try</e>
          <e type="operand">x\032E\</e>
          <e type="function" args="1">strlen</e>
          <e type="operand">0</e>
          <e type="function" args="3">if</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="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="5" left="513" top="495" width="168" height="192" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand" style="string">abc</e>
          <e type="function" args="1">Length</e>
          <e type="operand">1</e>
          <e type="function" args="1">Length</e>
          <e type="operand">x</e>
          <e type="function" args="1">Length</e>
          <e type="operand">1</e>
          <e type="operand">x</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">mat</e>
          <e type="function" args="1">Length</e>
          <e type="operand">x</e>
          <e type="operand">y</e>
          <e type="operand">z</e>
          <e type="operand">t</e>
          <e type="operand">2</e>
          <e type="operand">2</e>
          <e type="function" args="6">mat</e>
          <e type="function" args="1">Length</e>
          <e type="operand">a</e>
          <e type="operand">b</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">sys</e>
          <e type="function" args="1">Length</e>
          <e type="operand">6</e>
          <e type="operand">1</e>
          <e type="function" args="8">sys</e>
        </input>
        <result action="numeric">
          <e type="operand">3</e>
          <e type="operand">0</e>
          <e type="operand">0</e>
          <e type="operand">2</e>
          <e type="operand">4</e>
          <e type="operand">0</e>
          <e type="operand">6</e>
          <e type="operand">1</e>
          <e type="function" args="8">sys</e>
        </result>
      </math>
    </region>
    <region id="6" left="36" top="711" width="367" height="133" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <description active="true" position="Top" lang="spa">
          <p>Size(x) returns [Rows(x) Cols(x)]</p>
        </description>
        <input>
          <e type="operand">x\032E\</e>
          <e type="function" args="1">Size</e>
          <e type="operand">R\0324\</e>
          <e type="operand">x\032E\</e>
          <e type="function" args="1">rows</e>
          <e type="operator" args="2">:</e>
          <e type="bracket">(</e>
          <e type="operand">C\0324\</e>
          <e type="operand">x\032E\</e>
          <e type="function" args="1">cols</e>
          <e type="operator" args="2">:</e>
          <e type="bracket">(</e>
          <e type="operator" args="2">+</e>
          <e type="operand">0</e>
          <e type="operator" args="2">&gt;</e>
          <e type="operand">0</e>
          <e type="function" args="2">try</e>
          <e type="operand">R\0324\</e>
          <e type="operand">C\0324\</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="function" args="4">mat</e>
          <e type="operand">0</e>
          <e type="operand">0</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="function" args="4">mat</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="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="7" left="513" top="711" width="182" height="192" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand" style="string">abc</e>
          <e type="function" args="1">Size</e>
          <e type="operand">1</e>
          <e type="function" args="1">Size</e>
          <e type="operand">x</e>
          <e type="function" args="1">Size</e>
          <e type="operand">1</e>
          <e type="operand">x</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">mat</e>
          <e type="function" args="1">Size</e>
          <e type="operand">x</e>
          <e type="operand">y</e>
          <e type="operand">z</e>
          <e type="operand">t</e>
          <e type="operand">2</e>
          <e type="operand">2</e>
          <e type="function" args="6">mat</e>
          <e type="function" args="1">Size</e>
          <e type="operand">a</e>
          <e type="operand">b</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">sys</e>
          <e type="function" args="1">Size</e>
          <e type="operand">6</e>
          <e type="operand">1</e>
          <e type="function" args="8">sys</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
          <e type="operand">0</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="function" args="4">mat</e>
          <e type="operand">0</e>
          <e type="operand">0</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="function" args="4">mat</e>
          <e type="operand">0</e>
          <e type="operand">0</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="function" args="4">mat</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="function" args="4">mat</e>
          <e type="operand">2</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="function" args="4">mat</e>
          <e type="operand">0</e>
          <e type="operand">0</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="function" args="4">mat</e>
          <e type="operand">6</e>
          <e type="operand">1</e>
          <e type="function" args="8">sys</e>
        </result>
      </math>
    </region>
    <region id="8" left="45" top="918" width="209" height="29" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <description active="true" position="Top" lang="spa">
          <p>IsMatrix(x) true if x is a matrix.</p>
        </description>
        <input>
          <e type="operand">x\032E\</e>
          <e type="function" args="1">IsMatrix</e>
          <e type="operand">x\032E\</e>
          <e type="function" args="1">Rows</e>
          <e type="operand">0</e>
          <e type="operator" args="2">≠</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="3">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="9" left="378" top="918" width="329" height="31" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <description active="true" position="Top" lang="spa">
          <p>IsMatrix(x) true if x is a column vector.</p>
        </description>
        <input>
          <e type="operand">x\032E\</e>
          <e type="function" args="1">IsVector</e>
          <e type="operand">x\032E\</e>
          <e type="function" args="1">Rows</e>
          <e type="operand">0</e>
          <e type="operator" args="2">≠</e>
          <e type="bracket">(</e>
          <e type="operand">x\032E\</e>
          <e type="function" args="1">Cols</e>
          <e type="operand">1</e>
          <e type="operator" args="2">≡</e>
          <e type="bracket">(</e>
          <e type="operator" args="2">&amp;</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="3">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="10" left="45" top="981" width="184" height="192" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand" style="string">abc</e>
          <e type="function" args="1">IsMatrix</e>
          <e type="operand">1</e>
          <e type="function" args="1">IsMatrix</e>
          <e type="operand">x</e>
          <e type="function" args="1">IsMatrix</e>
          <e type="operand">1</e>
          <e type="operand">x</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">mat</e>
          <e type="function" args="1">IsMatrix</e>
          <e type="operand">x</e>
          <e type="operand">y</e>
          <e type="operand">z</e>
          <e type="operand">t</e>
          <e type="operand">2</e>
          <e type="operand">2</e>
          <e type="function" args="6">mat</e>
          <e type="function" args="1">IsMatrix</e>
          <e type="operand">a</e>
          <e type="operand">b</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">sys</e>
          <e type="function" args="1">IsMatrix</e>
          <e type="operand">6</e>
          <e type="operand">1</e>
          <e type="function" args="8">sys</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
          <e type="operand">0</e>
          <e type="operand">0</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="operand">0</e>
          <e type="operand">6</e>
          <e type="operand">1</e>
          <e type="function" args="8">sys</e>
        </result>
      </math>
    </region>
    <region id="11" left="378" top="981" width="184" height="192" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand" style="string">abc</e>
          <e type="function" args="1">IsVector</e>
          <e type="operand">1</e>
          <e type="function" args="1">IsVector</e>
          <e type="operand">x</e>
          <e type="function" args="1">IsVector</e>
          <e type="operand">1</e>
          <e type="operand">x</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">mat</e>
          <e type="function" args="1">IsVector</e>
          <e type="operand">x</e>
          <e type="operand">y</e>
          <e type="operand">z</e>
          <e type="operand">t</e>
          <e type="operand">2</e>
          <e type="operand">2</e>
          <e type="function" args="6">mat</e>
          <e type="function" args="1">IsVector</e>
          <e type="operand">a</e>
          <e type="operand">b</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">sys</e>
          <e type="function" args="1">IsVector</e>
          <e type="operand">6</e>
          <e type="operand">1</e>
          <e type="function" args="8">sys</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
          <e type="operand">0</e>
          <e type="operand">0</e>
          <e type="operand">1</e>
          <e type="operand">0</e>
          <e type="operand">0</e>
          <e type="operand">6</e>
          <e type="operand">1</e>
          <e type="function" args="8">sys</e>
        </result>
      </math>
    </region>
    <region id="12" left="45" top="1188" width="238" height="274" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand" style="string">abc</e>
          <e type="function" args="1">GetType</e>
          <e type="operand">1</e>
          <e type="function" args="1">GetType</e>
          <e type="operand">x</e>
          <e type="function" args="1">GetType</e>
          <e type="operand">1</e>
          <e type="operand">x</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">mat</e>
          <e type="function" args="1">GetType</e>
          <e type="operand">x</e>
          <e type="operand">y</e>
          <e type="operand">z</e>
          <e type="operand">t</e>
          <e type="operand">2</e>
          <e type="operand">2</e>
          <e type="function" args="6">mat</e>
          <e type="function" args="1">GetType</e>
          <e type="operand">a</e>
          <e type="operand">b</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">sys</e>
          <e type="function" args="1">GetType</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">mat</e>
          <e type="function" args="1">GetType</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">sys</e>
          <e type="function" args="1">GetType</e>
          <e type="operand">8</e>
          <e type="operand">1</e>
          <e type="function" args="10">sys</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">string</e>
          <e type="operand" style="string">number</e>
          <e type="operand" style="string">unknown</e>
          <e type="operand" style="string">unknown</e>
          <e type="operand" style="string">unknown</e>
          <e type="operand" style="string">unknown</e>
          <e type="operand" style="string">matrix</e>
          <e type="operand" style="string">system</e>
          <e type="operand">8</e>
          <e type="operand">1</e>
          <e type="function" args="10">sys</e>
        </result>
      </math>
    </region>
    <region id="13" left="396" top="1206" width="356" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="spa">
        <p>For more complicate structure, I use this:</p>
      </text>
    </region>
    <region id="14" left="387" top="1233" width="186" height="47" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">a</e>
          <e type="operand">x</e>
          <e type="operand">y</e>
          <e type="operand">z</e>
          <e type="operand">t</e>
          <e type="operand">2</e>
          <e type="operand">2</e>
          <e type="function" args="6">mat</e>
          <e type="operator" args="2">*</e>
          <e type="function" args="1">IsMatrix</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
        </result>
      </math>
    </region>
    <region id="15" left="387" top="1296" width="349" height="31" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">x\032E\</e>
          <e type="function" args="1">IsMat</e>
          <e type="operand">x\032E\</e>
          <e type="function" args="1">num2str</e>
          <e type="operand" style="string">mat(</e>
          <e type="function" args="2">findstr</e>
          <e type="operand">1</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">≠</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="3">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="16" left="387" top="1341" width="162" height="47" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">a</e>
          <e type="operand">x</e>
          <e type="operand">y</e>
          <e type="operand">z</e>
          <e type="operand">t</e>
          <e type="operand">2</e>
          <e type="operand">2</e>
          <e type="function" args="6">mat</e>
          <e type="operator" args="2">*</e>
          <e type="function" args="1">IsMat</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="17" left="45" top="1485" width="586" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="spa">
        <p>I found this in the forum, but not anotate from who (added IsDefined):</p>
      </text>
    </region>
    <region id="18" left="45" top="1521" width="507" height="482" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">x#</e>
          <e type="function" args="1">Type</e>
          <e type="operand">x#</e>
          <e type="function" args="1">IsDefined</e>
          <e type="operand">clear</e>
          <e type="operand">clear</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="3">line</e>
          <e type="operator" args="2">:</e>
          <e type="operand">testVar</e>
          <e type="function" args="1">IsM#</e>
          <e type="operand">numRows</e>
          <e type="operand">testVar</e>
          <e type="function" args="1">rows</e>
          <e type="function" args="1">num2str</e>
          <e type="operator" args="2">:</e>
          <e type="operand">numRows</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">line</e>
          <e type="operator" args="2">:</e>
          <e type="operand">clear</e>
          <e type="operand">x#</e>
          <e type="function" args="1">IsM#</e>
          <e type="operator" args="2">:</e>
          <e type="operand">c1#</e>
          <e type="operand">clear</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="3">substr</e>
          <e type="operator" args="2">:</e>
          <e type="operand">c1#</e>
          <e type="operand" style="string">r</e>
          <e type="operator" args="2">≡</e>
          <e type="bracket">(</e>
          <e type="operand">c1#</e>
          <e type="operand" style="string">,</e>
          <e type="operator" args="2">≡</e>
          <e type="bracket">(</e>
          <e type="operator" args="2">|</e>
          <e type="bracket">(</e>
          <e type="operand">c1#</e>
          <e type="operand" style="string">)</e>
          <e type="operator" args="2">≡</e>
          <e type="bracket">(</e>
          <e type="operator" args="2">|</e>
          <e type="operand">c1#</e>
          <e type="operand" style="string">r</e>
          <e type="operator" args="2">≡</e>
          <e type="operand">clear</e>
          <e type="operand">6</e>
          <e type="operand">1</e>
          <e type="function" args="3">substr</e>
          <e type="operand" style="string">s</e>
          <e type="operator" args="2">≡</e>
          <e type="operand" style="string">sys</e>
          <e type="operand">clear</e>
          <e type="operand">6</e>
          <e type="operand">1</e>
          <e type="function" args="3">substr</e>
          <e type="operand" style="string">∞</e>
          <e type="operator" args="2">≡</e>
          <e type="operand" style="string">num</e>
          <e type="operand">x#</e>
          <e type="function" args="1">IsString</e>
          <e type="operand">1</e>
          <e type="operator" args="2">≡</e>
          <e type="operand" style="string">str</e>
          <e type="operand" style="string">num</e>
          <e type="function" args="3">if</e>
          <e type="function" args="3">if</e>
          <e type="function" args="3">if</e>
          <e type="operand">c1#</e>
          <e type="operand" style="string">)</e>
          <e type="operator" args="2">≡</e>
          <e type="operand" style="string">str</e>
          <e type="operand" style="string">sys</e>
          <e type="function" args="3">if</e>
          <e type="function" args="3">if</e>
          <e type="operand" style="string">mat</e>
          <e type="function" args="3">if</e>
          <e type="operand">5</e>
          <e type="operand">1</e>
          <e type="function" args="7">line</e>
          <e type="operand" style="string">unknown</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="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="19" left="567" top="1530" width="216" height="274" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand" style="string">abc</e>
          <e type="function" args="1">Type</e>
          <e type="operand">1</e>
          <e type="function" args="1">Type</e>
          <e type="operand">x</e>
          <e type="function" args="1">Type</e>
          <e type="operand">1</e>
          <e type="operand">x</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">mat</e>
          <e type="function" args="1">Type</e>
          <e type="operand">x</e>
          <e type="operand">y</e>
          <e type="operand">z</e>
          <e type="operand">t</e>
          <e type="operand">2</e>
          <e type="operand">2</e>
          <e type="function" args="6">mat</e>
          <e type="function" args="1">Type</e>
          <e type="operand">a</e>
          <e type="operand">b</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">sys</e>
          <e type="function" args="1">Type</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">mat</e>
          <e type="function" args="1">Type</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">sys</e>
          <e type="function" args="1">Type</e>
          <e type="operand">8</e>
          <e type="operand">1</e>
          <e type="function" args="10">sys</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">str</e>
          <e type="operand" style="string">num</e>
          <e type="operand" style="string">unknown</e>
          <e type="operand" style="string">unknown</e>
          <e type="operand" style="string">unknown</e>
          <e type="operand" style="string">unknown</e>
          <e type="operand" style="string">mat</e>
          <e type="operand" style="string">sys</e>
          <e type="operand">8</e>
          <e type="operand">1</e>
          <e type="function" args="10">sys</e>
        </result>
      </math>
    </region>
    <region id="20" left="18" top="2025" width="60" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">Alvaro</e>
        </input>
      </math>
    </region>
    <region id="21" top="2052" color="#000000" bgColor="#ffffff">
      <area terminator="true" />
    </region>
  </region>
  <region id="22" left="36" top="2907" width="196" height="70" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">x</e>
        <e type="operand">k</e>
        <e type="operator" args="2">^</e>
        <e type="operand">k</e>
        <e type="operand">1</e>
        <e type="operand">3</e>
        <e type="function" args="4">sum</e>
      </input>
      <result action="symbolic">
        <e type="operand">x</e>
        <e type="operand">1</e>
        <e type="operand">x</e>
        <e type="operator" args="2">+</e>
        <e type="operand">x</e>
        <e type="operand">2</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">+</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">*</e>
      </result>
    </math>
  </region>
  <region id="23" left="387" top="2970" width="196" height="70" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">x</e>
        <e type="operand">k</e>
        <e type="operator" args="2">^</e>
        <e type="operand">k</e>
        <e type="operand">1</e>
        <e type="operand">3</e>
        <e type="function" args="4">sum</e>
      </input>
      <result action="symbolic">
        <e type="operand">x</e>
        <e type="operand">1</e>
        <e type="operand">x</e>
        <e type="operator" args="2">+</e>
        <e type="operand">x</e>
        <e type="operand">2</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">+</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">*</e>
      </result>
    </math>
  </region>
  <region id="24" left="36" top="3006" width="143" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">x</e>
        <e type="function" args="1">IsDefined</e>
      </input>
      <result action="symbolic">
        <e type="operand">0</e>
      </result>
    </math>
  </region>
  <region id="25" left="45" top="3078" width="295" height="31" color="#000000" bgColor="#ffffff" fontSize="10">
    <math evaluate="false">
      <input>
        <e type="operand">M</e>
        <e type="function" args="1">eigenvals</e>
        <e type="operand">M</e>
        <e type="function" args="1">eigenvalues</e>
        <e type="function" args="1">maple</e>
        <e type="operand">1</e>
        <e type="operand">1</e>
        <e type="function" args="3">line</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="26" left="81" top="3159" width="73" height="45" color="#000000" bgColor="#ffffff" fontSize="10">
    <math evaluate="false">
      <input>
        <e type="operand">M</e>
        <e type="operand">1</e>
        <e type="operand">2</e>
        <e type="operand">3</e>
        <e type="operand">4</e>
        <e type="operand">2</e>
        <e type="operand">2</e>
        <e type="function" args="6">mat</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="27" left="189" top="3159" width="208" height="45" color="#000000" bgColor="#ffffff" fontSize="10">
    <math evaluate="false">
      <input>
        <e type="operand">M</e>
        <e type="function" args="1">eigenvals</e>
      </input>
      <result action="numeric">
        <e type="operand">5.3723</e>
        <e type="operand">0.3723</e>
        <e type="operator" args="1">-</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="function" args="4">mat</e>
      </result>
    </math>
  </region>
  <region id="28" left="477" top="3159" width="206" height="83" color="#000000" bgColor="#ffffff" fontSize="10">
    <math evaluate="false">
      <input>
        <e type="operand">M</e>
        <e type="function" args="1">eigenvals</e>
      </input>
      <result action="symbolic">
        <e type="operand">5</e>
        <e type="operand">33</e>
        <e type="function" args="1">sqrt</e>
        <e type="operator" args="2">+</e>
        <e type="operand">2</e>
        <e type="operator" args="2">/</e>
        <e type="operand">5</e>
        <e type="operand">33</e>
        <e type="function" args="1">sqrt</e>
        <e type="operator" args="2">-</e>
        <e type="operand">2</e>
        <e type="operator" args="2">/</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="function" args="4">mat</e>
      </result>
    </math>
  </region>
  <region id="29" left="117" top="3276" width="183" height="46" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">f</e>
        <e type="operand">x</e>
        <e type="function" args="2">Collect</e>
        <e type="operand">x</e>
        <e type="operand">f</e>
        <e type="operand">x</e>
        <e type="operator" args="2">/</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">*</e>
        <e type="operand">1</e>
        <e type="operand">1</e>
        <e type="function" args="3">line</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="30" left="108" top="3348" width="112" height="70" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">xxx</e>
        <e type="operand">x</e>
        <e type="operand">k</e>
        <e type="operator" args="2">^</e>
        <e type="operand">k</e>
        <e type="operand">1</e>
        <e type="operand">3</e>
        <e type="function" args="4">sum</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="31" left="378" top="3384" width="72" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">xx</e>
        <e type="operand">xxx</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="32" left="54" top="3438" width="255" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">xx</e>
        <e type="function" args="1">num2str</e>
      </input>
      <result action="numeric">
        <e type="operand" style="string">sum(x^k,k,1,3)</e>
      </result>
    </math>
  </region>
  <region id="33" left="162" top="3501" width="175" height="29" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">x</e>
        <e type="function" args="1">kernel</e>
        <e type="operand">x</e>
        <e type="function" args="1">maple</e>
        <e type="operand">1</e>
        <e type="operand">1</e>
        <e type="function" args="3">line</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="34" left="90" top="3537" width="528" height="125" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">y.S#</e>
        <e type="operand">k.S#</e>
        <e type="operand">a.S#</e>
        <e type="operand">b.S#</e>
        <e type="function" args="4">Sum.For</e>
        <e type="operand">S#</e>
        <e type="operand">0</e>
        <e type="operator" args="2">:</e>
        <e type="operand">t.S#</e>
        <e type="function" args="1">f.S#</e>
        <e type="operand" style="string">f.S#</e>
        <e type="operand">y.S#</e>
        <e type="operand">k.S#</e>
        <e type="operand">t.S#</e>
        <e type="function" args="4">Function</e>
        <e type="operator" args="2">:</e>
        <e type="operand">κ.S#</e>
        <e type="operand">a.S#</e>
        <e type="operand">b.S#</e>
        <e type="function" args="2">range</e>
        <e type="operand">S#</e>
        <e type="operand">S#</e>
        <e type="operand">κ.S#</e>
        <e type="function" args="1">f.S#</e>
        <e type="function" args="1">Eval</e>
        <e type="operator" args="2">+</e>
        <e type="operator" args="2">:</e>
        <e type="function" args="3">for</e>
        <e type="operand">S#</e>
        <e type="function" args="1">Eval</e>
        <e type="operand">4</e>
        <e type="operand">1</e>
        <e type="function" args="6">line</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="35" left="90" top="3672" width="536" height="125" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">y.S#</e>
        <e type="operand">k.S#</e>
        <e type="operand">a.S#</e>
        <e type="operand">b.S#</e>
        <e type="function" args="4">Prod.For</e>
        <e type="operand">P#</e>
        <e type="operand">1</e>
        <e type="operator" args="2">:</e>
        <e type="operand">t.P#</e>
        <e type="function" args="1">f.P#</e>
        <e type="operand" style="string">f.P#</e>
        <e type="operand">y.P#</e>
        <e type="operand">k.P#</e>
        <e type="operand">t.P#</e>
        <e type="function" args="4">Function</e>
        <e type="operator" args="2">:</e>
        <e type="operand">κ.P#</e>
        <e type="operand">a.P#</e>
        <e type="operand">b.P#</e>
        <e type="function" args="2">range</e>
        <e type="operand">P#</e>
        <e type="operand">P#</e>
        <e type="operand">κ.P#</e>
        <e type="function" args="1">f.P#</e>
        <e type="function" args="1">Eval</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">:</e>
        <e type="function" args="3">for</e>
        <e type="operand">P#</e>
        <e type="function" args="1">Eval</e>
        <e type="operand">4</e>
        <e type="operand">1</e>
        <e type="function" args="6">line</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="36" left="531" top="3780" width="475" height="67" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">k.F#</e>
        <e type="operand">r.F#</e>
        <e type="operand">y.P#</e>
        <e type="function" args="3">For</e>
        <e type="operand">t.F#</e>
        <e type="function" args="1">f.F#</e>
        <e type="operand" style="string">f.F#</e>
        <e type="operand">y.P#</e>
        <e type="operand">k.P#</e>
        <e type="operand">t.F#</e>
        <e type="function" args="4">Function</e>
        <e type="operator" args="2">:</e>
        <e type="operand">r.F#</e>
        <e type="function" args="1">f.F#</e>
        <e type="function" args="1">vectorize</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 id="37" left="135" top="3852" width="419" height="248" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">x</e>
        <e type="function" args="1">Simplify</e>
        <e type="operand">x</e>
        <e type="operand">x</e>
        <e type="function" args="1">Eval</e>
        <e type="operator" args="2">:</e>
        <e type="operand">y.S#</e>
        <e type="operand">k.S#</e>
        <e type="operand">a.S#</e>
        <e type="operand">b.S#</e>
        <e type="function" args="4">sum</e>
        <e type="operand">y.S#</e>
        <e type="operand">k.S#</e>
        <e type="operand">a.S#</e>
        <e type="operand">b.S#</e>
        <e type="function" args="4">Sum.For</e>
        <e type="operator" args="2">:</e>
        <e type="operand">y.P#</e>
        <e type="operand">k.P#</e>
        <e type="operand">a.P#</e>
        <e type="operand">b.P#</e>
        <e type="function" args="4">product</e>
        <e type="operand">y.S#</e>
        <e type="operand">k.S#</e>
        <e type="operand">a.S#</e>
        <e type="operand">b.S#</e>
        <e type="function" args="4">Prod.For</e>
        <e type="operator" args="2">:</e>
        <e type="operand">k.F#</e>
        <e type="operand">r.F#</e>
        <e type="operand">y.P#</e>
        <e type="function" args="3">for</e>
        <e type="operand">k.F#</e>
        <e type="operand">r.F#</e>
        <e type="operand">y.P#</e>
        <e type="function" args="3">For</e>
        <e type="operator" args="2">:</e>
        <e type="operand">x</e>
        <e type="operand">x</e>
        <e type="function" args="1">Eval</e>
        <e type="operator" args="2">:</e>
        <e type="operand">5</e>
        <e type="operand">1</e>
        <e type="function" args="7">line</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="38" left="405" top="4329" width="87" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math error="42">
      <input>
        <e type="operand">10</e>
        <e type="function" args="1">f</e>
      </input>
      <result action="numeric">
        <e type="operand">#</e>
      </result>
    </math>
  </region>
  <region id="39" left="108" top="4347" width="36" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">for</e>
      </input>
    </math>
  </region>
  <region id="40" left="144" top="4374" width="187" height="81" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">x</e>
        <e type="function" args="1">f</e>
        <e type="operand">s</e>
        <e type="operand">0</e>
        <e type="operator" args="2">:</e>
        <e type="operand">k</e>
        <e type="operand">1</e>
        <e type="operand">x</e>
        <e type="function" args="2">range</e>
        <e type="operand">s</e>
        <e type="operand">s</e>
        <e type="operand">2</e>
        <e type="operand">x</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">s</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 id="41" left="666" top="4383" width="175" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">for</e>
        <e type="function" args="1">description</e>
      </input>
      <result action="numeric">
        <e type="operand">0</e>
      </result>
    </math>
  </region>
  <region id="42" left="594" top="4446" width="36" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">for</e>
      </input>
    </math>
  </region>
  <region id="43" left="180" top="4554" width="201" height="72" color="#000000" bgColor="#ffffff" fontSize="10">
    <math error="2">
      <input>
        <e type="operand">x</e>
        <e type="function" args="1">f</e>
        <e type="operand">x</e>
        <e type="operand">1</e>
        <e type="operand">2</e>
        <e type="function" args="4">int</e>
        <e type="function" args="1">Simplify</e>
      </input>
      <result action="numeric">
        <e type="operand">#</e>
      </result>
    </math>
  </region>
  <region id="44" left="450" top="4554" width="201" height="72" color="#000000" bgColor="#ffffff" fontSize="10">
    <math error="2">
      <input>
        <e type="operand">x</e>
        <e type="function" args="1">f</e>
        <e type="operand">x</e>
        <e type="operand">1</e>
        <e type="operand">2</e>
        <e type="function" args="4">int</e>
        <e type="function" args="1">Simplify</e>
      </input>
      <result action="symbolic">
        <e type="operand">#</e>
      </result>
    </math>
  </region>
  <region id="45" left="117" top="4671" width="171" height="118" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">x</e>
        <e type="function" args="1">f</e>
        <e type="operand">s</e>
        <e type="operand">0</e>
        <e type="operator" args="2">:</e>
        <e type="operand">k</e>
        <e type="operand">0</e>
        <e type="operator" args="2">:</e>
        <e type="operand">k</e>
        <e type="operand">4</e>
        <e type="operator" args="2">&lt;</e>
        <e type="operand">k</e>
        <e type="operand">k</e>
        <e type="operand">1</e>
        <e type="operator" args="2">+</e>
        <e type="operator" args="2">:</e>
        <e type="operand">s</e>
        <e type="operand">s</e>
        <e type="operand">2</e>
        <e type="operand">x</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">+</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="function" args="2">while</e>
        <e type="operand">s</e>
        <e type="operand">4</e>
        <e type="operand">1</e>
        <e type="function" args="6">line</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="46" left="459" top="4698" width="191" height="100" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">x</e>
        <e type="operand">n</e>
        <e type="function" args="2">For</e>
        <e type="operand">k</e>
        <e type="operand">0</e>
        <e type="operator" args="2">:</e>
        <e type="operand">k</e>
        <e type="operand">4</e>
        <e type="operator" args="2">&lt;</e>
        <e type="operand">k</e>
        <e type="operand">k</e>
        <e type="operand">1</e>
        <e type="operator" args="2">+</e>
        <e type="operator" args="2">:</e>
        <e type="operand">s</e>
        <e type="operand">x</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="function" args="2">while</e>
        <e type="operand">s</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 id="47" left="225" top="4851" width="164" height="70" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">x</e>
        <e type="function" args="1">f</e>
        <e type="operand">k</e>
        <e type="operand">1</e>
        <e type="operand">2</e>
        <e type="function" args="4">sum</e>
        <e type="operand">x</e>
        <e type="operand">1</e>
        <e type="operand">2</e>
        <e type="function" args="4">int</e>
      </input>
      <result action="numeric">
        <e type="operand">24</e>
      </result>
    </math>
  </region>
</regions>