﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="0.99.7561.40250"?>
<worksheet xmlns="http://smath.info/schemas/worksheet/1.0">
  <settings ppi="96">
    <identity>
      <id>bde8ac6d-bed6-425b-bae7-7740dd15cae9</id>
      <revision>123</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="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.7561.40250" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="Math Region" version="0.99.7561.40250" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="Custom Functions" version="1.1.7486.2690" guid="18dadffd-79a3-4cf9-aee1-d66deb0ea720" />
      <assembly name="SpecialFunctions" version="1.12.7561.40250" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
      <assembly name="TextRegion" version="1.11.7561.40250" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
    </dependencies>
  </settings>
  <regions type="content">
    <region left="18" top="18" width="433" height="56" color="#000000" fontSize="10">
      <text lang="eng" width="433">
        <p fontName="Arial">"Evrething it's an expression", it's the rule for using rules in Wolfram's mathematica software. This is my attempt for use only binary or unary expressions for a try to manipulate them. </p>
      </text>
    </region>
    <region left="468" top="18" width="210" height="25" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">4</e>
          <e type="function" args="1">appVersion</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">0.99.7561.40250</e>
        </result>
      </math>
    </region>
    <region left="468" top="45" width="210" height="25" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">4</e>
          <e type="function" args="1">appVersion</e>
          <e type="operand" style="string">0.99.7561.40250</e>
          <e type="operator" args="2">≡</e>
        </input>
      </math>
    </region>
    <region top="99" color="#000000">
      <area collapsed="false">
        <title lang="eng">
          <p fontName="Arial">To expression with bugs</p>
        </title>
      </area>
      <region left="45" top="135" width="618" height="212" color="#000000" fontSize="10">
        <math breaking="61">
          <input>
            <e type="operand">E\032E\</e>
            <e type="operand">R\032E\</e>
            <e type="operand">N\032E\</e>
            <e type="function" args="3">ApplyRules</e>
            <e type="operand">x\0324\</e>
            <e type="operand">E\032E\</e>
            <e type="operator" args="2">:</e>
            <e type="operand">y\0324\</e>
            <e type="operand">E\032E\</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">NIter\0324\</e>
            <e type="operand">1</e>
            <e type="operand">N\032E\</e>
            <e type="function" args="2">range</e>
            <e type="operand">n\0324\</e>
            <e type="operand">1</e>
            <e type="operand">R\032E\</e>
            <e type="function" args="1">rows</e>
            <e type="function" args="2">range</e>
            <e type="operand">x\0324\</e>
            <e type="operand" style="string">equrep(</e>
            <e type="operand">x\0324\</e>
            <e type="function" args="1">num2str</e>
            <e type="operand" style="string">,</e>
            <e type="operand">R\032E\</e>
            <e type="operand">n\0324\</e>
            <e type="operand">1</e>
            <e type="function" args="3">el</e>
            <e type="function" args="1">num2str</e>
            <e type="operand" style="string">,</e>
            <e type="operand">R\032E\</e>
            <e type="operand">n\0324\</e>
            <e type="operand">2</e>
            <e type="function" args="3">el</e>
            <e type="function" args="1">num2str</e>
            <e type="operand" style="string">)</e>
            <e type="function" args="7">concat</e>
            <e type="function" args="1">str2num</e>
            <e type="operator" args="2">:</e>
            <e type="function" args="3">for</e>
            <e type="operand">x\0324\</e>
            <e type="function" args="1">num2str</e>
            <e type="operand">y\0324\</e>
            <e type="function" args="1">num2str</e>
            <e type="operator" args="2">≡</e>
            <e type="operand">break</e>
            <e type="operand">y\0324\</e>
            <e type="operand">x\0324\</e>
            <e type="operator" args="2">:</e>
            <e type="function" args="3">if</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="function" args="4">line</e>
            <e type="function" args="3">for</e>
            <e type="operand">x\0324\</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="54" top="360" width="490" height="179" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">n</e>
            <e type="operand">op</e>
            <e type="operand">fn</e>
            <e type="operand">P</e>
            <e type="function" args="4">op2ex</e>
            <e type="operand">str1</e>
            <e type="operand" style="string">a0</e>
            <e type="operand">op</e>
            <e type="operand" style="string">a1</e>
            <e type="function" args="3">concat</e>
            <e type="operator" args="2">:</e>
            <e type="operand">str2</e>
            <e type="operand">fn</e>
            <e type="operand" style="string">(a0,a1)</e>
            <e type="function" args="2">concat</e>
            <e type="operator" args="2">:</e>
            <e type="operand">P</e>
            <e type="operand">P</e>
            <e type="operand">str1</e>
            <e type="operand">str2</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="function" args="2">stack</e>
            <e type="operator" args="2">:</e>
            <e type="operand">k</e>
            <e type="operand">2</e>
            <e type="operand">n</e>
            <e type="function" args="2">range</e>
            <e type="operand">str1</e>
            <e type="operand">str1</e>
            <e type="operand">op</e>
            <e type="operand" style="string">a</e>
            <e type="operand">k</e>
            <e type="function" args="1">num2str</e>
            <e type="function" args="4">concat</e>
            <e type="operator" args="2">:</e>
            <e type="operand">str2</e>
            <e type="operand">fn</e>
            <e type="operand" style="string">(</e>
            <e type="operand">str2</e>
            <e type="operand" style="string">,a</e>
            <e type="operand">k</e>
            <e type="function" args="1">num2str</e>
            <e type="operand" style="string">)</e>
            <e type="function" args="6">concat</e>
            <e type="operator" args="2">:</e>
            <e type="operand">P</e>
            <e type="operand">P</e>
            <e type="operand">str1</e>
            <e type="operand">str2</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="function" args="2">stack</e>
            <e type="function" args="1">eval</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="function" args="3">for</e>
            <e type="operand">P</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 left="54" top="558" width="340" height="29" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">E\032E\</e>
            <e type="operand">R\032E\</e>
            <e type="function" args="2">ApplyRules</e>
            <e type="operand">E\032E\</e>
            <e type="operand">R\032E\</e>
            <e type="operand" style="unit">ApplyRulesN</e>
            <e type="function" args="3">ApplyRules</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 left="585" top="576" width="120" height="26" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">E\032E\</e>
            <e type="operand">R\032E\</e>
            <e type="function" args="2">ApplyRules</e>
          </input>
        </math>
      </region>
      <region left="54" top="594" width="114" height="23" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand" style="unit">ApplyRulesN</e>
            <e type="operand">20</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="54" top="639" width="522" height="162" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">E\032E\</e>
            <e type="operand">R\032E\</e>
            <e type="function" args="2">op2ex</e>
            <e type="operand">ans\0324\</e>
            <e type="operand">E\032E\</e>
            <e type="operand">R\032E\</e>
            <e type="function" args="2">ApplyRules</e>
            <e type="function" args="1">num2str</e>
            <e type="operator" args="2">:</e>
            <e type="operand">ans\0324\</e>
            <e type="operand">ans\0324\</e>
            <e type="operand" style="string">,1/</e>
            <e type="operand" style="string">,_one/</e>
            <e type="function" args="3">strrep</e>
            <e type="function" args="1">str2num</e>
            <e type="operator" args="2">:</e>
            <e type="operand">ans\0324\</e>
            <e type="operand">ans\0324\</e>
            <e type="operand">R\032E\</e>
            <e type="function" args="2">ApplyRules</e>
            <e type="function" args="1">num2str</e>
            <e type="operator" args="2">:</e>
            <e type="operand">ans\0324\</e>
            <e type="operand">ans\0324\</e>
            <e type="operand" style="string">\005F\times\0028\\005F\one\002C\1\002F\</e>
            <e type="operand" style="string">_inv(</e>
            <e type="function" args="3">strrep</e>
            <e type="operand" style="string">-</e>
            <e type="operand" style="string">_negone*</e>
            <e type="function" args="3">strrep</e>
            <e type="operator" args="2">:</e>
            <e type="operand">ans\0324\</e>
            <e type="operand">ans\0324\</e>
            <e type="function" args="1">str2num</e>
            <e type="operand">R\032E\</e>
            <e type="function" args="2">ApplyRules</e>
            <e type="operator" args="2">:</e>
            <e type="operand">_one</e>
            <e type="operand">1</e>
            <e type="operator" args="2">:</e>
            <e type="operand">_negone</e>
            <e type="operand">1</e>
            <e type="operator" args="1">-</e>
            <e type="operator" args="2">:</e>
            <e type="operand">x\0324\</e>
            <e type="function" args="1">_inv</e>
            <e type="operand">x\0324\</e>
            <e type="operand">_negone</e>
            <e type="function" args="2">_pow</e>
            <e type="operator" args="2">:</e>
            <e type="operand">1</e>
            <e type="operand">3</e>
            <e type="function" args="5">mat</e>
            <e type="operand">ans\0324\</e>
            <e type="operand">7</e>
            <e type="operand">1</e>
            <e type="function" args="9">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="54" top="819" width="198" height="29" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">E\032E\</e>
            <e type="function" args="1">op2ex</e>
            <e type="operand">E\032E\</e>
            <e type="operand" style="unit">op2ex</e>
            <e type="function" args="2">op2ex</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 top="873" color="#000000">
        <area terminator="true" />
      </region>
    </region>
    <region top="900" color="#000000">
      <area collapsed="false">
        <title lang="eng">
          <p fontName="Arial">Algebra</p>
        </title>
      </area>
      <region left="54" top="927" width="83" height="23" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand" style="unit">op2exN</e>
            <e type="operand">20</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="171" top="927" width="136" height="25" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand" style="unit">op2ex</e>
            <e type="operand">0</e>
            <e type="operand">2</e>
            <e type="function" args="2">matrix</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="54" top="981" width="279" height="25" color="#000000" fontSize="10">
        <math optimize="2">
          <input>
            <e type="operand" style="unit">op2ex</e>
            <e type="operand" style="unit">op2exN</e>
            <e type="operand" style="string">+</e>
            <e type="operand" style="string">_plus</e>
            <e type="operand" style="unit">op2ex</e>
            <e type="function" args="4">op2ex</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="54" top="1008" width="284" height="25" color="#000000" fontSize="10">
        <math optimize="2">
          <input>
            <e type="operand" style="unit">op2ex</e>
            <e type="operand" style="unit">op2exN</e>
            <e type="operand" style="string">*</e>
            <e type="operand" style="string">_times</e>
            <e type="operand" style="unit">op2ex</e>
            <e type="function" args="4">op2ex</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="54" top="1035" width="278" height="25" color="#000000" fontSize="10">
        <math optimize="2">
          <input>
            <e type="operand" style="unit">op2ex</e>
            <e type="operand" style="unit">op2exN</e>
            <e type="operand" style="string">^</e>
            <e type="operand" style="string">_pow</e>
            <e type="operand" style="unit">op2ex</e>
            <e type="function" args="4">op2ex</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="54" top="1062" width="316" height="29" border="true" color="#000000" fontSize="10">
        <math optimize="2">
          <input>
            <e type="operand" style="unit">op2ex</e>
            <e type="operand" style="unit">op2ex</e>
            <e type="operand" style="string">a/b</e>
            <e type="operand" style="string">_times(a,_pow(b,-1)</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="function" args="2">stack</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="54" top="1098" width="273" height="29" border="true" color="#000000" fontSize="10">
        <math optimize="2">
          <input>
            <e type="operand" style="unit">op2ex</e>
            <e type="operand" style="unit">op2ex</e>
            <e type="operand" style="string">0-a</e>
            <e type="operand" style="string">_times(a,-1)</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="function" args="2">stack</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region top="1143" color="#000000">
        <area terminator="true" />
      </region>
    </region>
    <region top="1188" color="#000000">
      <area collapsed="false">
        <title lang="eng">
          <p fontName="Arial">Algebra Example</p>
        </title>
      </area>
      <region left="234" top="1224" width="193" height="60" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">expr</e>
            <e type="operand">a</e>
            <e type="operand">2</e>
            <e type="operator" args="2">^</e>
            <e type="operand">x</e>
            <e type="operator" args="2">*</e>
            <e type="operand">b</e>
            <e type="operator" args="2">+</e>
            <e type="operand">x</e>
            <e type="operand">3</e>
            <e type="operator" args="2">^</e>
            <e type="operand">y</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">+</e>
            <e type="operand">c</e>
            <e type="operand">d</e>
            <e type="operator" args="2">/</e>
            <e type="operator" args="2">-</e>
            <e type="operand">x</e>
            <e type="operand">1</e>
            <e type="operand">x</e>
            <e type="operator" args="2">+</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">/</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="18" top="1233" width="146" height="24" color="#000000" fontSize="10">
        <text lang="eng">
          <p fontName="Arial">Convert an expression</p>
        </text>
      </region>
      <region left="18" top="1314" width="204" height="24" color="#000000" fontSize="10">
        <text lang="eng">
          <p fontName="Arial">This don't give the desired result</p>
        </text>
      </region>
      <region left="18" top="1350" width="1182" height="46" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">expr</e>
            <e type="operand" style="unit">op2ex</e>
            <e type="function" args="2">ApplyRules</e>
          </input>
          <result action="symbolic">
            <e type="operand">c</e>
            <e type="operator" args="1">-</e>
            <e type="operand">d</e>
            <e type="operand">b</e>
            <e type="operand">x</e>
            <e type="operand">a</e>
            <e type="operand">2</e>
            <e type="function" args="2">_pow</e>
            <e type="operand">x</e>
            <e type="operand">2</e>
            <e type="function" args="2">_pow</e>
            <e type="operand">y</e>
            <e type="function" args="2">_times</e>
            <e type="function" args="2">_plus</e>
            <e type="function" args="2">_times</e>
            <e type="function" args="2">_plus</e>
            <e type="function" args="2">_times</e>
            <e type="function" args="2">_plus</e>
            <e type="operand">1</e>
            <e type="operand">d</e>
            <e type="operator" args="2">/</e>
            <e type="function" args="2">_times</e>
            <e type="operand">1</e>
            <e type="operand">x</e>
            <e type="operator" args="2">/</e>
            <e type="function" args="2">_times</e>
            <e type="operand">1</e>
            <e type="operand">1</e>
            <e type="operand">x</e>
            <e type="function" args="2">_plus</e>
            <e type="operand">1</e>
            <e type="operator" args="1">-</e>
            <e type="function" args="2">_pow</e>
            <e type="function" args="2">_times</e>
            <e type="function" args="2">_times</e>
          </result>
        </math>
      </region>
      <region left="18" top="1404" width="56" height="24" color="#000000" fontSize="10">
        <text lang="eng">
          <p fontName="Arial">This do</p>
        </text>
      </region>
      <region left="117" top="1404" width="135" height="25" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">_expr</e>
            <e type="operand">expr</e>
            <e type="function" args="1">op2ex</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="270" top="1404" width="218" height="24" color="#000000" fontSize="10">
        <text lang="eng">
          <p fontName="Arial">(-1 can appear but not -something)</p>
        </text>
      </region>
      <region left="18" top="1440" width="1083" height="40" color="#000000" fontSize="8">
        <math>
          <input>
            <e type="operand">_expr</e>
          </input>
          <result action="symbolic">
            <e type="operand">1</e>
            <e type="operator" args="1">-</e>
            <e type="operand">c</e>
            <e type="function" args="2">_times</e>
            <e type="operand">d</e>
            <e type="operand">b</e>
            <e type="operand">x</e>
            <e type="operand">a</e>
            <e type="operand">2</e>
            <e type="function" args="2">_pow</e>
            <e type="operand">x</e>
            <e type="operand">2</e>
            <e type="function" args="2">_pow</e>
            <e type="operand">y</e>
            <e type="function" args="2">_times</e>
            <e type="function" args="2">_plus</e>
            <e type="function" args="2">_times</e>
            <e type="function" args="2">_plus</e>
            <e type="function" args="2">_times</e>
            <e type="function" args="2">_plus</e>
            <e type="operand">d</e>
            <e type="operand">1</e>
            <e type="operator" args="1">-</e>
            <e type="function" args="2">_pow</e>
            <e type="function" args="2">_times</e>
            <e type="operand">x</e>
            <e type="operand">1</e>
            <e type="operator" args="1">-</e>
            <e type="function" args="2">_pow</e>
            <e type="function" args="2">_times</e>
            <e type="operand">1</e>
            <e type="operand">1</e>
            <e type="operand">x</e>
            <e type="function" args="2">_plus</e>
            <e type="operand">1</e>
            <e type="operator" args="1">-</e>
            <e type="function" args="2">_pow</e>
            <e type="function" args="2">_times</e>
            <e type="function" args="2">_times</e>
          </result>
        </math>
      </region>
      <region left="18" top="1503" width="218" height="24" color="#000000" fontSize="10">
        <text lang="eng">
          <p fontName="Arial">For recover the original expression</p>
        </text>
      </region>
      <region left="54" top="1548" width="135" height="25" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">a</e>
            <e type="operand">b</e>
            <e type="function" args="2">_times</e>
            <e type="operand">a</e>
            <e type="operand">b</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="216" top="1548" width="137" height="25" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">a</e>
            <e type="operand">b</e>
            <e type="function" args="2">_plus</e>
            <e type="operand">a</e>
            <e type="operand">b</e>
            <e type="operator" args="2">+</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="378" top="1548" width="123" height="33" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">a</e>
            <e type="operand">b</e>
            <e type="function" args="2">_pow</e>
            <e type="operand">a</e>
            <e type="operand">b</e>
            <e type="operator" args="2">^</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="54" top="1611" width="249" height="55" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">_expr</e>
          </input>
          <result action="symbolic">
            <e type="operand">c</e>
            <e type="operator" args="1">-</e>
            <e type="operand">d</e>
            <e type="operand">b</e>
            <e type="operand">x</e>
            <e type="operand">a</e>
            <e type="operand">2</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="operand">y</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">+</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">+</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">+</e>
            <e type="operand">d</e>
            <e type="operand">x</e>
            <e type="operator" args="2">*</e>
            <e type="operand">1</e>
            <e type="operand">x</e>
            <e type="operator" args="2">+</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">/</e>
          </result>
        </math>
      </region>
      <region left="396" top="1611" width="105" height="23" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">expr</e>
            <e type="operand">_expr</e>
            <e type="operator" args="2">-</e>
          </input>
          <result action="symbolic">
            <e type="operand">0</e>
          </result>
        </math>
      </region>
      <region left="54" top="1683" width="334" height="27" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">a</e>
            <e type="operand">b</e>
            <e type="function" args="2">_times</e>
            <e type="operand">a</e>
            <e type="operand">b</e>
            <e type="function" args="2">_plus</e>
            <e type="operand">a</e>
            <e type="operand">b</e>
            <e type="function" args="2">_pow</e>
            <e type="function" args="3">Clear</e>
          </input>
          <result action="numeric">
            <e type="operand">1</e>
          </result>
        </math>
      </region>
      <region left="783" top="1683" width="1285" height="43" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">_expr</e>
          </input>
          <result action="symbolic">
            <e type="operand">1</e>
            <e type="operator" args="1">-</e>
            <e type="operand">c</e>
            <e type="function" args="2">_times</e>
            <e type="operand">d</e>
            <e type="operand">b</e>
            <e type="operand">x</e>
            <e type="operand">a</e>
            <e type="operand">2</e>
            <e type="function" args="2">_pow</e>
            <e type="operand">x</e>
            <e type="operand">2</e>
            <e type="function" args="2">_pow</e>
            <e type="operand">y</e>
            <e type="function" args="2">_times</e>
            <e type="function" args="2">_plus</e>
            <e type="function" args="2">_times</e>
            <e type="function" args="2">_plus</e>
            <e type="function" args="2">_times</e>
            <e type="function" args="2">_plus</e>
            <e type="operand">d</e>
            <e type="operand">1</e>
            <e type="operator" args="1">-</e>
            <e type="function" args="2">_pow</e>
            <e type="function" args="2">_times</e>
            <e type="operand">x</e>
            <e type="operand">1</e>
            <e type="operator" args="1">-</e>
            <e type="function" args="2">_pow</e>
            <e type="function" args="2">_times</e>
            <e type="operand">1</e>
            <e type="operand">1</e>
            <e type="operand">x</e>
            <e type="function" args="2">_plus</e>
            <e type="operand">1</e>
            <e type="operator" args="1">-</e>
            <e type="function" args="2">_pow</e>
            <e type="function" args="2">_times</e>
            <e type="function" args="2">_times</e>
          </result>
        </math>
      </region>
      <region top="1737" color="#000000">
        <area terminator="true" />
      </region>
    </region>
    <region top="1764" color="#000000">
      <area collapsed="false">
        <title lang="eng">
          <p fontName="Arial">Boolean Algebra</p>
        </title>
      </area>
      <region left="54" top="1818" width="243" height="25" color="#000000" fontSize="10">
        <math optimize="2">
          <input>
            <e type="operand" style="unit">op2ex</e>
            <e type="operand">2</e>
            <e type="operand" style="string">&amp;</e>
            <e type="operand" style="string">_and</e>
            <e type="operand" style="unit">op2ex</e>
            <e type="function" args="4">op2ex</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="54" top="1845" width="227" height="25" color="#000000" fontSize="10">
        <math optimize="2">
          <input>
            <e type="operand" style="unit">op2ex</e>
            <e type="operand">2</e>
            <e type="operand" style="string">|</e>
            <e type="operand" style="string">_or</e>
            <e type="operand" style="unit">op2ex</e>
            <e type="function" args="4">op2ex</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="54" top="1872" width="238" height="25" color="#000000" fontSize="10">
        <math optimize="2">
          <input>
            <e type="operand" style="unit">op2ex</e>
            <e type="operand">2</e>
            <e type="operand" style="string">¤</e>
            <e type="operand" style="string">_xor</e>
            <e type="operand" style="unit">op2ex</e>
            <e type="function" args="4">op2ex</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="54" top="1899" width="243" height="29" border="true" color="#000000" fontSize="10">
        <math optimize="2">
          <input>
            <e type="operand" style="unit">op2ex</e>
            <e type="operand" style="unit">op2ex</e>
            <e type="operand" style="string">¬a</e>
            <e type="operand" style="string">_not(a)</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="function" args="2">stack</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region top="1944" color="#000000">
        <area terminator="true" />
      </region>
    </region>
    <region top="1971" color="#000000">
      <area collapsed="false">
        <title lang="eng">
          <p fontName="Arial">Boolean Algebra Example</p>
        </title>
      </area>
      <region left="18" top="2007" width="146" height="24" color="#000000" fontSize="10">
        <text lang="eng">
          <p fontName="Arial">Convert an expression</p>
        </text>
      </region>
      <region left="216" top="2007" width="405" height="28" color="#000000" fontSize="12">
        <math>
          <input>
            <e type="operand">expr</e>
            <e type="operand" style="string">a&amp;(b|c&amp;a|1|a¤1)&amp;¬(a&amp;b)&amp;a&amp;b¤¬c|d&amp;0</e>
            <e type="function" args="1">str2num</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="621" top="2007" width="135" height="25" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">_expr</e>
            <e type="operand">expr</e>
            <e type="function" args="1">op2ex</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="18" top="2070" width="526" height="39" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">expr</e>
          </input>
          <result action="symbolic">
            <e type="operand">a</e>
            <e type="operand">b</e>
            <e type="operand">c</e>
            <e type="operand">a</e>
            <e type="operator" args="2">&amp;</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">|</e>
            <e type="bracket">(</e>
            <e type="operand">1</e>
            <e type="operator" args="2">|</e>
            <e type="bracket">(</e>
            <e type="operand">a</e>
            <e type="operand">1</e>
            <e type="operator" args="2">¤</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">|</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">&amp;</e>
            <e type="bracket">(</e>
            <e type="operand">a</e>
            <e type="operand">b</e>
            <e type="operator" args="2">&amp;</e>
            <e type="bracket">(</e>
            <e type="operator" args="1">¬</e>
            <e type="operator" args="2">&amp;</e>
            <e type="bracket">(</e>
            <e type="operand">a</e>
            <e type="operator" args="2">&amp;</e>
            <e type="bracket">(</e>
            <e type="operand">b</e>
            <e type="operand">c</e>
            <e type="operator" args="1">¬</e>
            <e type="operator" args="2">¤</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">&amp;</e>
            <e type="bracket">(</e>
            <e type="operand">d</e>
            <e type="operand">0</e>
            <e type="operator" args="2">&amp;</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">|</e>
          </result>
        </math>
      </region>
      <region left="18" top="2124" width="808" height="34" color="#000000" fontSize="8">
        <math>
          <input>
            <e type="operand">_expr</e>
          </input>
          <result action="symbolic">
            <e type="operand">a</e>
            <e type="operand">b</e>
            <e type="function" args="2">_and</e>
            <e type="operand">c</e>
            <e type="operand">a</e>
            <e type="function" args="2">_and</e>
            <e type="function" args="2">_or</e>
            <e type="operand">1</e>
            <e type="function" args="2">_or</e>
            <e type="operand">a</e>
            <e type="operand">1</e>
            <e type="function" args="2">_xor</e>
            <e type="operand">a</e>
            <e type="function" args="1">_not</e>
            <e type="function" args="2">_and</e>
            <e type="operand">b</e>
            <e type="function" args="2">_and</e>
            <e type="operand">a</e>
            <e type="function" args="2">_and</e>
            <e type="operand">b</e>
            <e type="operand">c</e>
            <e type="function" args="1">_not</e>
            <e type="function" args="2">_xor</e>
            <e type="function" args="2">_and</e>
            <e type="function" args="2">_or</e>
            <e type="operand">d</e>
            <e type="operand">0</e>
            <e type="function" args="2">_and</e>
            <e type="function" args="2">_or</e>
          </result>
        </math>
      </region>
      <region left="18" top="2178" width="240" height="24" color="#000000" fontSize="10">
        <text lang="eng">
          <p fontName="Arial">Or recover the original expression with</p>
        </text>
      </region>
      <region left="54" top="2223" width="133" height="25" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">a</e>
            <e type="operand">b</e>
            <e type="function" args="2">_and</e>
            <e type="operand">a</e>
            <e type="operand">b</e>
            <e type="operator" args="2">&amp;</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="216" top="2223" width="125" height="25" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">a</e>
            <e type="operand">b</e>
            <e type="function" args="2">_or</e>
            <e type="operand">a</e>
            <e type="operand">b</e>
            <e type="operator" args="2">|</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="378" top="2223" width="131" height="25" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">a</e>
            <e type="operand">b</e>
            <e type="function" args="2">_xor</e>
            <e type="operand">a</e>
            <e type="operand">b</e>
            <e type="operator" args="2">¤</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="531" top="2223" width="99" height="25" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">a</e>
            <e type="function" args="1">_not</e>
            <e type="operand">a</e>
            <e type="operator" args="1">¬</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="54" top="2277" width="532" height="35" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">_expr</e>
          </input>
          <result action="symbolic">
            <e type="operand">a</e>
            <e type="operand">b</e>
            <e type="operator" args="2">&amp;</e>
            <e type="bracket">(</e>
            <e type="operand">c</e>
            <e type="operand">a</e>
            <e type="operator" args="2">&amp;</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">|</e>
            <e type="bracket">(</e>
            <e type="operand">1</e>
            <e type="operator" args="2">|</e>
            <e type="bracket">(</e>
            <e type="operand">a</e>
            <e type="operand">1</e>
            <e type="operator" args="2">¤</e>
            <e type="bracket">(</e>
            <e type="operand">a</e>
            <e type="operator" args="1">¬</e>
            <e type="operator" args="2">&amp;</e>
            <e type="bracket">(</e>
            <e type="operand">b</e>
            <e type="operator" args="2">&amp;</e>
            <e type="bracket">(</e>
            <e type="operand">a</e>
            <e type="operator" args="2">&amp;</e>
            <e type="bracket">(</e>
            <e type="operand">b</e>
            <e type="operand">c</e>
            <e type="operator" args="1">¬</e>
            <e type="operator" args="2">¤</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">&amp;</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">|</e>
            <e type="bracket">(</e>
            <e type="operand">d</e>
            <e type="operand">0</e>
            <e type="operator" args="2">&amp;</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">|</e>
          </result>
        </math>
      </region>
      <region left="621" top="2277" width="136" height="56" color="#000000" fontSize="10">
        <text lang="eng" width="136">
          <p fontName="Arial">... just for see that something is wrong somewhere</p>
        </text>
      </region>
      <region left="54" top="2322" width="526" height="39" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">expr</e>
          </input>
          <result action="symbolic">
            <e type="operand">a</e>
            <e type="operand">b</e>
            <e type="operand">c</e>
            <e type="operand">a</e>
            <e type="operator" args="2">&amp;</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">|</e>
            <e type="bracket">(</e>
            <e type="operand">1</e>
            <e type="operator" args="2">|</e>
            <e type="bracket">(</e>
            <e type="operand">a</e>
            <e type="operand">1</e>
            <e type="operator" args="2">¤</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">|</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">&amp;</e>
            <e type="bracket">(</e>
            <e type="operand">a</e>
            <e type="operand">b</e>
            <e type="operator" args="2">&amp;</e>
            <e type="bracket">(</e>
            <e type="operator" args="1">¬</e>
            <e type="operator" args="2">&amp;</e>
            <e type="bracket">(</e>
            <e type="operand">a</e>
            <e type="operator" args="2">&amp;</e>
            <e type="bracket">(</e>
            <e type="operand">b</e>
            <e type="operand">c</e>
            <e type="operator" args="1">¬</e>
            <e type="operator" args="2">¤</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">&amp;</e>
            <e type="bracket">(</e>
            <e type="operand">d</e>
            <e type="operand">0</e>
            <e type="operator" args="2">&amp;</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">|</e>
          </result>
        </math>
      </region>
      <region left="36" top="2394" width="104" height="80" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">values</e>
            <e type="operand">a</e>
            <e type="operand">1</e>
            <e type="operator" args="2">≡</e>
            <e type="operand">b</e>
            <e type="operand">0</e>
            <e type="operator" args="2">≡</e>
            <e type="operand">c</e>
            <e type="operand">1</e>
            <e type="operator" args="2">≡</e>
            <e type="operand">d</e>
            <e type="operand">0</e>
            <e type="operator" args="2">≡</e>
            <e type="operand">4</e>
            <e type="operand">1</e>
            <e type="function" args="6">sys</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="189" top="2394" width="101" height="41" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">expr</e>
            <e type="operand">values</e>
            <e type="function" args="2">at</e>
          </input>
          <result action="numeric">
            <e type="operand">0</e>
          </result>
        </math>
      </region>
      <region left="333" top="2394" width="108" height="41" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">_expr</e>
            <e type="operand">values</e>
            <e type="function" args="2">at</e>
          </input>
          <result action="numeric">
            <e type="operand">1</e>
          </result>
        </math>
      </region>
      <region left="36" top="2493" width="373" height="27" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">a</e>
            <e type="operand">b</e>
            <e type="function" args="2">_and</e>
            <e type="operand">a</e>
            <e type="operand">b</e>
            <e type="function" args="2">_or</e>
            <e type="operand">a</e>
            <e type="operand">b</e>
            <e type="function" args="2">_xor</e>
            <e type="operand">a</e>
            <e type="function" args="1">_not</e>
            <e type="function" args="4">Clear</e>
          </input>
          <result action="numeric">
            <e type="operand">1</e>
          </result>
        </math>
      </region>
      <region left="783" top="2493" width="948" height="37" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">_expr</e>
          </input>
          <result action="symbolic">
            <e type="operand">a</e>
            <e type="operand">b</e>
            <e type="function" args="2">_and</e>
            <e type="operand">c</e>
            <e type="operand">a</e>
            <e type="function" args="2">_and</e>
            <e type="function" args="2">_or</e>
            <e type="operand">1</e>
            <e type="function" args="2">_or</e>
            <e type="operand">a</e>
            <e type="operand">1</e>
            <e type="function" args="2">_xor</e>
            <e type="operand">a</e>
            <e type="function" args="1">_not</e>
            <e type="function" args="2">_and</e>
            <e type="operand">b</e>
            <e type="function" args="2">_and</e>
            <e type="operand">a</e>
            <e type="function" args="2">_and</e>
            <e type="operand">b</e>
            <e type="operand">c</e>
            <e type="function" args="1">_not</e>
            <e type="function" args="2">_xor</e>
            <e type="function" args="2">_and</e>
            <e type="function" args="2">_or</e>
            <e type="operand">d</e>
            <e type="operand">0</e>
            <e type="function" args="2">_and</e>
            <e type="function" args="2">_or</e>
          </result>
        </math>
      </region>
      <region top="2547" color="#000000">
        <area terminator="true" />
      </region>
    </region>
    <region left="18" top="2592" width="414" height="31" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">3</e>
          <e type="operand">5</e>
          <e type="operand">t</e>
          <e type="operator" args="2">*</e>
          <e type="operand">2</e>
          <e type="operator" args="2">+</e>
          <e type="function" args="1">cos</e>
          <e type="operator" args="2">*</e>
          <e type="function" args="1">op2ex</e>
        </input>
        <result action="symbolic">
          <e type="operand">3</e>
          <e type="operand">2</e>
          <e type="operand">5</e>
          <e type="operand">t</e>
          <e type="function" args="2">_times</e>
          <e type="function" args="2">_plus</e>
          <e type="function" args="1">cos</e>
          <e type="function" args="2">_times</e>
        </result>
      </math>
    </region>
    <region left="18" top="2628" width="496" height="31" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">3</e>
          <e type="operand">5</e>
          <e type="operand">t</e>
          <e type="operator" args="2">*</e>
          <e type="operand">2</e>
          <e type="operator" args="2">-</e>
          <e type="function" args="1">cos</e>
          <e type="operator" args="2">*</e>
          <e type="function" args="1">op2ex</e>
        </input>
        <result action="symbolic">
          <e type="operand">3</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="operator" args="1">-</e>
          <e type="function" args="2">_times</e>
          <e type="operand">5</e>
          <e type="operand">t</e>
          <e type="function" args="2">_times</e>
          <e type="function" args="2">_plus</e>
          <e type="function" args="1">cos</e>
          <e type="function" args="2">_times</e>
        </result>
      </math>
    </region>
    <region left="18" top="2664" width="592" height="33" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">3</e>
          <e type="operand">5</e>
          <e type="operand">t</e>
          <e type="operator" args="2">*</e>
          <e type="operand">2</e>
          <e type="operator" args="2">-</e>
          <e type="function" args="1">cos</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="1">-</e>
          <e type="function" args="1">op2ex</e>
        </input>
        <result action="symbolic">
          <e type="operand">1</e>
          <e type="operator" args="1">-</e>
          <e type="operand">3</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="operator" args="1">-</e>
          <e type="function" args="2">_times</e>
          <e type="operand">5</e>
          <e type="operand">t</e>
          <e type="function" args="2">_times</e>
          <e type="function" args="2">_plus</e>
          <e type="function" args="1">cos</e>
          <e type="function" args="2">_times</e>
          <e type="function" args="2">_times</e>
        </result>
      </math>
    </region>
    <region left="18" top="2727" width="48" height="23" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">Alvaro</e>
        </input>
      </math>
    </region>
  </regions>
</worksheet>