﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="1.0.8206.25180"?>
<worksheet xmlns="http://smath.info/schemas/worksheet/1.0">
  <settings ppi="96">
    <identity>
      <id>fa49bde2-036e-4b9c-8ca1-4126b9a3f60d</id>
      <revision>3</revision>
    </identity>
    <calculation>
      <precision>2</precision>
      <exponentialThreshold>5</exponentialThreshold>
      <trailingZeros>true</trailingZeros>
      <significantDigitsMode>false</significantDigitsMode>
      <roundingMode>0</roundingMode>
      <approximateEqualAccuracy>1</approximateEqualAccuracy>
      <fractions>decimal</fractions>
    </calculation>
    <pageModel active="false" viewMode="2" printGrid="false" printAreas="true" simpleEqualsOnly="false" printBackgroundImages="true">
      <paper id="9" orientation="Portrait" width="827" height="1169" />
      <margins left="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="1.0.8206.25180" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="MathRegion" version="1.11.8206.25180" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="Custom Functions" version="1.1.8051.30522" guid="18dadffd-79a3-4cf9-aee1-d66deb0ea720" />
      <assembly name="SpecialFunctions" version="1.12.8206.25180" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
      <assembly name="Maple Tools" version="1.1.7809.39615" guid="32dfd679-8cfd-483a-b79a-19d5ea838750" />
      <assembly name="TextRegion" version="1.11.8206.25180" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
      <assembly name="X-Y Plot Region (JXCharts)" version="0.2.8037.8305" guid="c12231ec-4873-43c1-a7d0-a167ebd17066" />
    </dependencies>
  </settings>
  <regions type="content">
    <region left="0" top="27" width="358" height="23" color="#000000" fontSize="10" isBreakable="false">
      <text lang="eng" fontFamily="Courier New" fontSize="10">
        <content>
          <p style="font-weight: bold;">test 1 : with boolean and built-in function</p>
        </content>
      </text>
    </region>
    <region left="45" top="45" width="174" height="35" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">x</e>
          <e type="function" args="1">f</e>
          <e type="operand">1</e>
          <e type="operand">x</e>
          <e type="operator" args="2">+</e>
          <e type="bracket">(</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operand">x</e>
          <e type="operand">3</e>
          <e type="operator" args="2">&gt;</e>
          <e type="bracket">(</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="54" top="81" width="98" height="44" color="#000000" fontSize="10">
      <math error="64">
        <input>
          <e type="operand">x</e>
          <e type="function" args="1">f</e>
          <e type="operand">x</e>
          <e type="function" args="2">diff</e>
        </input>
        <result action="symbolic">
          <e type="operand">#</e>
        </result>
      </math>
    </region>
    <region left="54" top="126" width="326" height="69" color="#000000" fontSize="10">
      <math>
        <description active="true" position="Top" lang="eng">
          <content>
            <p>symbolic</p>
          </content>
        </description>
        <input>
          <e type="operand">x</e>
          <e type="function" args="1">g.1</e>
          <e type="operand">x</e>
          <e type="function" args="1">f</e>
          <e type="operand">x</e>
          <e type="function" args="2">diff</e>
          <e type="function" args="1">maple</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="symbolic">
          <e type="operand">3</e>
          <e type="operand">x</e>
          <e type="operator" args="2">&lt;</e>
          <e type="operand">1</e>
          <e type="operand">x</e>
          <e type="operator" args="2">+</e>
          <e type="bracket">(</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operand">x</e>
          <e type="function" args="3">diff</e>
        </result>
      </math>
    </region>
    <region left="423" top="171" width="270" height="23" color="#000000" bgColor="#80ff00" fontSize="10">
      <text lang="eng" fontFamily="Courier New" fontSize="10">
        <content>
          <p style="background-color: #80ff00;">some issue with diff definition?</p>
        </content>
      </text>
    </region>
    <region left="54" top="216" width="74" height="30" color="#000000" fontSize="10">
      <math error="84">
        <input>
          <e type="operand">2</e>
          <e type="function" args="1">g.1</e>
        </input>
        <result action="numeric">
          <e type="operand">#</e>
        </result>
      </math>
    </region>
    <region left="162" top="216" width="158" height="23" color="#000000" fontSize="10">
      <text lang="eng" fontFamily="Courier New" fontSize="10">
        <content>
          <p>function undefined</p>
        </content>
      </text>
    </region>
    <region left="0" top="243" width="388" height="23" color="#000000" fontSize="10" isBreakable="false">
      <text lang="eng" width="388" fontFamily="Courier New" fontSize="10">
        <content>
          <p style="font-weight: bold;">test 2: with cases and built-in function</p>
        </content>
      </text>
    </region>
    <region left="45" top="261" width="197" height="43" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">x</e>
          <e type="function" args="1">f</e>
          <e type="operand">0</e>
          <e type="operand">x</e>
          <e type="operand">3</e>
          <e type="operator" args="2">&lt;</e>
          <e type="operand">1</e>
          <e type="operand">x</e>
          <e type="operator" args="2">+</e>
          <e type="function" args="3">cases</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="45" top="324" width="312" height="44" color="#000000" fontSize="10">
      <math>
        <description active="true" position="Top" lang="eng">
          <content>
            <p>symbolic</p>
          </content>
        </description>
        <input>
          <e type="operand">y</e>
          <e type="function" args="1">g.1</e>
          <e type="operand">x</e>
          <e type="function" args="1">f</e>
          <e type="operand">x</e>
          <e type="function" args="2">diff</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="symbolic">
          <e type="operand">0</e>
          <e type="operand">x</e>
          <e type="operand">3</e>
          <e type="operator" args="2">&lt;</e>
          <e type="operand">1</e>
          <e type="operand">x</e>
          <e type="operator" args="2">+</e>
          <e type="function" args="3">cases</e>
          <e type="operand">x</e>
          <e type="function" args="2">diff</e>
        </result>
      </math>
    </region>
    <region left="99" top="405" width="110" height="30" color="#000000" fontSize="10">
      <math>
        <description active="true" position="Top" lang="eng">
          <content>
            <p>symbolic</p>
          </content>
        </description>
        <input>
          <e type="operand">x</e>
          <e type="function" args="1">g.3</e>
        </input>
        <result action="symbolic">
          <e type="operand">x</e>
          <e type="function" args="1">g.3</e>
        </result>
      </math>
    </region>
    <region left="243" top="405" width="74" height="30" color="#000000" fontSize="10">
      <math error="42" errorLocation="1">
        <description active="true" position="Top" lang="eng">
          <content>
            <p>numeric</p>
          </content>
        </description>
        <input>
          <e type="operand">2</e>
          <e type="function" args="1">g.3</e>
        </input>
        <result action="numeric">
          <e type="operand">#</e>
        </result>
      </math>
    </region>
    <region left="45" top="504" width="368" height="46" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">x</e>
          <e type="function" args="1">g.4</e>
          <e type="operand">x</e>
          <e type="function" args="1">f</e>
          <e type="operand">x</e>
          <e type="function" args="2">diff</e>
          <e type="function" args="1">maple</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="symbolic">
          <e type="operand">0</e>
          <e type="operand">x</e>
          <e type="operand">3</e>
          <e type="operator" args="2">&lt;</e>
          <e type="operand">1</e>
          <e type="operand">x</e>
          <e type="operator" args="2">+</e>
          <e type="function" args="3">cases</e>
          <e type="operand">x</e>
          <e type="function" args="2">diff</e>
        </result>
      </math>
    </region>
    <region left="423" top="513" width="293" height="24" color="#000000" bgColor="#80ff00" fontSize="10" isBreakable="false">
      <text lang="eng" width="281" fontFamily="Courier New" fontSize="10">
        <content>
          <p style="background-color: #80ff00;">\[REGION[d831012c3f704b62af6c1456345f018f]]\</p>
        </content>
        <regions>
          <region id="d831012c3f704b62af6c1456345f018f" left="2" top="0" width="286" height="23" color="#000000" bgColor="#80ff00" fontSize="10" isBreakable="false">
            <text lang="eng" fontFamily="Courier New" fontSize="10">
              <content>
                <p style="background-color: #80ff00;">Better definition, but no result ?</p>
              </content>
            </text>
          </region>
        </regions>
      </text>
    </region>
    <region left="90" top="549" width="230" height="44" color="#000000" fontSize="10">
      <math>
        <description active="true" position="Top" lang="eng">
          <content>
            <p>symbolic</p>
          </content>
        </description>
        <input>
          <e type="operand">x</e>
          <e type="function" args="1">g.4</e>
        </input>
        <result action="symbolic">
          <e type="operand">0</e>
          <e type="operand">x</e>
          <e type="operand">3</e>
          <e type="operator" args="2">&lt;</e>
          <e type="operand">1</e>
          <e type="operand">x</e>
          <e type="operator" args="2">+</e>
          <e type="function" args="3">cases</e>
          <e type="operand">x</e>
          <e type="function" args="2">diff</e>
        </result>
      </math>
    </region>
    <region left="531" top="558" width="117" height="48" color="#000000" fontSize="10">
      <math error="2">
        <description active="true" position="Top" lang="eng">
          <content>
            <p>numeric</p>
          </content>
        </description>
        <input>
          <e type="operand">x</e>
          <e type="function" args="1">g.4</e>
          <e type="operand">x</e>
          <e type="operand">2</e>
          <e type="operator" args="2">≡</e>
          <e type="function" args="2">at</e>
        </input>
        <result action="numeric">
          <e type="operand">#</e>
        </result>
      </math>
    </region>
    <region left="405" top="567" width="74" height="30" color="#000000" fontSize="10">
      <math error="2" errorLocation="1">
        <description active="true" position="Top" lang="eng">
          <content>
            <p>numeric</p>
          </content>
        </description>
        <input>
          <e type="operand">2</e>
          <e type="function" args="1">g.4</e>
        </input>
        <result action="numeric">
          <e type="operand">#</e>
        </result>
      </math>
    </region>
    <region left="9" top="639" width="62" height="23" color="#000000" fontSize="10">
      <text lang="eng" fontFamily="Courier New" fontSize="10">
        <content>
          <p>Test 3</p>
        </content>
      </text>
    </region>
    <region left="54" top="693" width="366" height="271" color="#000000" fontSize="8">
      <math optimize="2">
        <input>
          <e type="operand">x</e>
          <e type="function" args="1">f</e>
          <e type="operand">step</e>
          <e type="operand">max</e>
          <e type="function" args="3">numdif</e>
          <e type="operand">x</e>
          <e type="operand">1</e>
          <e type="operand">step</e>
          <e type="bracket">(</e>
          <e type="function" args="2">range</e>
          <e type="operand">max</e>
          <e type="operand">step</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="operand">x</e>
          <e type="function" args="1">rows</e>
          <e type="function" args="2">range</e>
          <e type="operand">u</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">x</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">:</e>
          <e type="operand">Fnct</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">u</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="function" args="1">f</e>
          <e type="function" args="1">eval</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="3">for</e>
          <e type="operand">data</e>
          <e type="operand">u</e>
          <e type="operand">Fnct</e>
          <e type="function" args="2">augment</e>
          <e type="bracket">(</e>
          <e type="operator" args="2">:</e>
          <e type="operand">vx</e>
          <e type="operand">data</e>
          <e type="operand">1</e>
          <e type="function" args="2">col</e>
          <e type="operator" args="2">:</e>
          <e type="operand">vy</e>
          <e type="operand">data</e>
          <e type="operand">2</e>
          <e type="function" args="2">col</e>
          <e type="operator" args="2">:</e>
          <e type="operand">Y</e>
          <e type="operand">1</e>
          <e type="function" args="2">el</e>
          <e type="operand">0</e>
          <e type="operator" args="2">:</e>
          <e type="operand">i</e>
          <e type="operand">2</e>
          <e type="operand">vx</e>
          <e type="function" args="1">rows</e>
          <e type="function" args="2">range</e>
          <e type="operand">Δx</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">vx</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">vx</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="operator" args="2">-</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">:</e>
          <e type="operand">Y</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">vy</e>
          <e type="operator" args="1">-</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="operator" args="2">-</e>
          <e type="function" args="2">el</e>
          <e type="operand">vy</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">+</e>
          <e type="operand">Δx</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">/</e>
          <e type="function" args="1">eval</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="3">for</e>
          <e type="operand">vx</e>
          <e type="operand">Y</e>
          <e type="function" args="2">augment</e>
          <e type="operand">8</e>
          <e type="operand">1</e>
          <e type="function" args="10">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="468" top="693" width="203" height="28" color="#000000" fontSize="10">
      <math optimize="2">
        <input>
          <e type="operand">M</e>
          <e type="operand">x</e>
          <e type="function" args="1">f</e>
          <e type="operand">100</e>
          <e type="operand">12</e>
          <e type="function" args="3">numdif</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="405" top="729" width="366" height="262" color="#000000" bgColor="#ffffff" fontSize="10">
      <xyplot width="356" height="254" points="100" name="XYPlot">
        <chartstyle backcolor="White" bordercolor="Black" />
        <propertiessource index="1" sourcetype="PropertyGrid" />
        <grid gridcolor="LightGray" gridpattern="Dash" gridthickness="1" isxgrid="true" isygrid="true" isy2grid="false" />
        <xaxes xmin="-43.48821" xmax="45.40532" xtick="20" visible="True" decimalplaces="3" numberformat="General" />
        <yaxes ymin="-4.444846" ymax="13.33382" ytick="5" visible="True" decimalplaces="3" numberformat="General" />
        <y2axes isy2axis="false" y2min="-1" y2max="1" y2tick="0.5" visible="True" decimalplaces="3" numberformat="General" />
        <title2d title="" titlefont="Arial, 10pt" titlefontcolor="Black" />
        <xylabel labelfont="Arial, 10pt" labelfontcolor="Black" tickfont="Arial, 8pt" tickfontcolor="Black" xlabel="x" ylabel="y" y2label="y2" />
        <legend isbordervisible="true" islegendvisible="false" legendbackcolor="White" legendbordercolor="Black" legendfont="Arial, 8pt" legendposition="NorthEast" textcolor="Black" />
        <traces>
          <trace seriesname="" isy2data="false" isvisible="true" plotmethod="Lines" lineantialias="true" linecolor="Blue" linethickness="1" linepattern="Solid" symbolantialias="true" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
        </traces>
        <input>
          <e type="operand">M</e>
        </input>
      </xyplot>
    </region>
    <region left="72" top="1008" width="517" height="24" color="#000000" bgColor="#80ff00" fontSize="10" isBreakable="false">
      <text lang="eng" width="281" fontFamily="Courier New" fontSize="10">
        <content>
          <p style="background-color: #80ff00;">\[REGION[d831012c3f704b62af6c1456345f018f]]\</p>
        </content>
        <regions>
          <region id="d831012c3f704b62af6c1456345f018f" left="2" top="0" width="510" height="23" color="#000000" bgColor="#80ff00" fontSize="10" isBreakable="false">
            <text lang="eng" fontFamily="Courier New" fontSize="10">
              <content>
                <p style="background-color: #80ff00;">can be used, with addition tu supress discontinuities issues ?</p>
              </content>
            </text>
          </region>
        </regions>
      </text>
    </region>
  </regions>
</worksheet>