﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="1.2.9018.0"?>
<worksheet xmlns="http://smath.info/schemas/worksheet/1.0">
  <settings ppi="96">
    <identity>
      <id>6aeb1432-4eb7-4b88-8ae8-cdb040f163b3</id>
      <revision>60</revision>
    </identity>
    <calculation>
      <precision>8</precision>
      <exponentialThreshold>5</exponentialThreshold>
      <trailingZeros>false</trailingZeros>
      <significantDigitsMode>false</significantDigitsMode>
      <mixedNumbers>false</mixedNumbers>
      <roundingMode>0</roundingMode>
      <approximateEqualAccuracy>0</approximateEqualAccuracy>
      <fractions>decimal</fractions>
    </calculation>
    <pageModel active="false" viewMode="2" printGrid="false" printAreas="true" simpleEqualsOnly="false" printBackgroundImages="true" hideElementsHighlightings="false">
      <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.2.9018.0" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="MathRegion" version="1.11.9018.0" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="Custom Functions" version="1.1.8726.29023" guid="18dadffd-79a3-4cf9-aee1-d66deb0ea720" />
      <assembly name="SpecialFunctions" version="1.12.9018.0" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
      <assembly name="TextRegion" version="1.11.9018.0" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
      <assembly name="Statistical Tools" version="1.0.6824.32561" guid="76f6e9f5-ac86-4ffb-9e4d-284c8daecaf9" />
      <assembly name="X-Y Plot Region (JXCharts)" version="0.3.9043.20036" guid="c12231ec-4873-43c1-a7d0-a167ebd17066" />
    </dependencies>
  </settings>
  <regions type="content">
    <region left="27" top="27" width="152" height="23" color="#000000" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p>Matrix creation function</p>
        </content>
      </text>
    </region>
    <region left="27" top="54" width="361" height="138" color="#000000" fontSize="10">
      <math optimize="2">
        <input>
          <e type="operand">x</e>
          <e type="operand">y</e>
          <e type="function" args="2">Mfn</e>
          <e type="operand">x</e>
          <e type="operand">y</e>
          <e type="function" args="2">w</e>
          <e type="operand">x</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operand">2</e>
          <e type="operand">x</e>
          <e type="operator" args="2">*</e>
          <e type="operand">y</e>
          <e type="operator" args="2">*</e>
          <e type="operand">y</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operand">2</e>
          <e type="operand">x</e>
          <e type="operator" args="2">*</e>
          <e type="operand">2</e>
          <e type="operand">y</e>
          <e type="operator" args="2">*</e>
          <e type="operand">1</e>
          <e type="operand">5</e>
          <e type="function" args="7">mat</e>
          <e type="operator" args="2">:</e>
          <e type="operand">M</e>
          <e type="operand">x</e>
          <e type="operand">1</e>
          <e type="function" args="2">el</e>
          <e type="operand">y</e>
          <e type="operand">1</e>
          <e type="function" args="2">el</e>
          <e type="function" args="2">w</e>
          <e type="operator" args="2">:</e>
          <e type="operand">i</e>
          <e type="operand">2</e>
          <e type="operand">5</e>
          <e type="function" args="2">range</e>
          <e type="operand">M</e>
          <e type="operand">M</e>
          <e type="operand">x</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">y</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="function" args="2">w</e>
          <e type="function" args="2">stack</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="function" args="3">for</e>
          <e type="operand">M</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 left="432" top="72" width="106" height="26" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">K</e>
          <e type="operand">5</e>
          <e type="function" args="1">Ones</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="27" top="225" width="265" height="23" color="#000000" fontSize="10">
      <text lang="eng" width="259" fontFamily="Arial" fontSize="10">
        <content>
          <p>Five cartesian coordinate points, <span style="font-style: italic;">X</span> and<span style="font-style: italic;"> Y</span>  </p>
        </content>
      </text>
    </region>
    <region left="27" top="261" width="149" height="26" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">X</e>
          <e type="operand">2</e>
          <e type="operand">5</e>
          <e type="function" args="1">Random</e>
          <e type="operator" args="2">*</e>
          <e type="operand">1</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="234" top="261" width="149" height="26" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">Y</e>
          <e type="operand">2</e>
          <e type="operand">5</e>
          <e type="function" args="1">Random</e>
          <e type="operator" args="2">*</e>
          <e type="operand">1</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="27" top="297" width="144" height="100" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">X</e>
        </input>
        <result action="numeric">
          <e type="operand">0.52363874</e>
          <e type="operator" args="1">-</e>
          <e type="operand">0.61370871</e>
          <e type="operator" args="1">-</e>
          <e type="operand">0.17257839</e>
          <e type="operand">0.43554987</e>
          <e type="operand">0.66380873</e>
          <e type="operand">5</e>
          <e type="operand">1</e>
          <e type="function" args="7">mat</e>
        </result>
      </math>
    </region>
    <region left="234" top="297" width="144" height="100" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">Y</e>
        </input>
        <result action="numeric">
          <e type="operand">0.29010037</e>
          <e type="operand">0.15211975</e>
          <e type="operand">0.6764851</e>
          <e type="operand">0.4922764</e>
          <e type="operator" args="1">-</e>
          <e type="operand">0.96733774</e>
          <e type="operator" args="1">-</e>
          <e type="operand">5</e>
          <e type="operand">1</e>
          <e type="function" args="7">mat</e>
        </result>
      </math>
    </region>
    <region left="27" top="432" width="179" height="23" color="#000000" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p>Conic section coefficients, <span style="font-style: italic;">a</span></p>
        </content>
      </text>
    </region>
    <region left="216" top="450" width="89" height="33" color="#000000" fontSize="10">
      <math optimize="2">
        <input>
          <e type="operand">a</e>
          <e type="operand">M</e>
          <e type="operand">1</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operand">K</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="27" top="459" width="111" height="26" color="#000000" fontSize="10">
      <math optimize="2">
        <input>
          <e type="operand">M</e>
          <e type="operand">X</e>
          <e type="operand">Y</e>
          <e type="function" args="2">Mfn</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="27" top="504" width="139" height="23" color="#000000" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p>Type of conic section</p>
        </content>
      </text>
    </region>
    <region left="27" top="531" width="172" height="67" color="#000000" fontSize="10">
      <math optimize="2">
        <input>
          <e type="operand">ind</e>
          <e type="operand">a</e>
          <e type="operand">1</e>
          <e type="function" args="2">el</e>
          <e type="operand">a</e>
          <e type="operand">2</e>
          <e type="function" args="2">el</e>
          <e type="operand">a</e>
          <e type="operand">2</e>
          <e type="function" args="2">el</e>
          <e type="operand">a</e>
          <e type="operand">3</e>
          <e type="function" args="2">el</e>
          <e type="operand">2</e>
          <e type="operand">2</e>
          <e type="function" args="6">mat</e>
          <e type="function" args="1">det</e>
          <e type="function" args="1">sign</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="225" top="540" width="181" height="127" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">type</e>
          <e type="operand">ind</e>
          <e type="operand">1</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">≡</e>
          <e type="operand" style="string">hyperbola</e>
          <e type="operand">ind</e>
          <e type="operand">1</e>
          <e type="operator" args="2">≡</e>
          <e type="operand" style="string">ellipse</e>
          <e type="operand" style="string">parabola</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 left="441" top="594" width="148" height="24" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">type</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">hyperbola</e>
        </result>
      </math>
    </region>
    <region left="36" top="666" width="318" height="23" color="#000000" fontSize="10">
      <text lang="eng" width="318" fontFamily="Arial" fontSize="10">
        <content>
          <p>Conic section "central" point coordinates, <span style="font-style: italic;">xo , yo</span></p>
        </content>
      </text>
    </region>
    <region left="54" top="693" width="214" height="72" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">x.o</e>
          <e type="operand">y.o</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">mat</e>
          <e type="operand">a</e>
          <e type="operand">1</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="1">-</e>
          <e type="operand">a</e>
          <e type="operand">2</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="1">-</e>
          <e type="operand">a</e>
          <e type="operand">2</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="1">-</e>
          <e type="operand">a</e>
          <e type="operand">3</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="1">-</e>
          <e type="operand">2</e>
          <e type="operand">2</e>
          <e type="function" args="6">mat</e>
          <e type="operand">1</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operand">a</e>
          <e type="operand">4</e>
          <e type="function" args="2">el</e>
          <e type="operand">a</e>
          <e type="operand">5</e>
          <e type="function" args="2">el</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">mat</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="306" top="702" width="165" height="57" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">x.o</e>
          <e type="operand">y.o</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">mat</e>
        </input>
        <result action="numeric">
          <e type="operand">0.14443995</e>
          <e type="operator" args="1">-</e>
          <e type="operand">0.54365172</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">mat</e>
        </result>
      </math>
    </region>
    <region left="45" top="783" width="134" height="23" color="#000000" fontSize="10">
      <text lang="eng" width="134" fontFamily="Arial" fontSize="10">
        <content>
          <p>Angle, <span style="font-style: italic;">θ,</span>  to x-axis</p>
        </content>
      </text>
    </region>
    <region left="45" top="810" width="153" height="59" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">2</e>
          <e type="operand">θ</e>
          <e type="operator" args="2">*</e>
          <e type="function" args="1">tan</e>
          <e type="operand">2</e>
          <e type="operand">a</e>
          <e type="operand">2</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">*</e>
          <e type="operand">a</e>
          <e type="operand">1</e>
          <e type="function" args="2">el</e>
          <e type="operand">a</e>
          <e type="operand">3</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">≡</e>
        </input>
      </math>
    </region>
    <region left="261" top="810" width="167" height="61" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">θ</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="operator" args="2">/</e>
          <e type="operand">2</e>
          <e type="operand">a</e>
          <e type="operand">2</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">*</e>
          <e type="operand">a</e>
          <e type="operand">1</e>
          <e type="function" args="2">el</e>
          <e type="operand">a</e>
          <e type="operand">3</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">/</e>
          <e type="function" args="1">atan</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="459" top="828" width="141" height="24" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">θ</e>
        </input>
        <contract>
          <e type="operand" style="unit">°</e>
        </contract>
        <result action="numeric">
          <e type="operand">7.60461269</e>
          <e type="operator" args="1">-</e>
        </result>
      </math>
    </region>
    <region left="36" top="900" width="152" height="23" color="#000000" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p>Conic section  function </p>
        </content>
      </text>
    </region>
    <region left="36" top="918" width="462" height="42" color="#000000" fontSize="10">
      <math optimize="2">
        <input>
          <e type="operand">x</e>
          <e type="operand">y</e>
          <e type="function" args="2">f</e>
          <e type="operand">a</e>
          <e type="operand">1</e>
          <e type="function" args="2">el</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="operand">2</e>
          <e type="operand">a</e>
          <e type="operand">2</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">*</e>
          <e type="operand">x</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">a</e>
          <e type="operand">3</e>
          <e type="function" args="2">el</e>
          <e type="operand">y</e>
          <e type="operand">2</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">a</e>
          <e type="operand">4</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">*</e>
          <e type="operand">x</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">+</e>
          <e type="operand">2</e>
          <e type="operand">a</e>
          <e type="operand">5</e>
          <e type="function" args="2">el</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">1</e>
          <e type="operator" args="2">+</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="54" top="1080" width="212" height="23" color="#000000" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p>Graph of points and conic section</p>
        </content>
      </text>
    </region>
    <region left="27" top="1107" width="362" height="282" color="#000000" bgColor="#ffffff" fontSize="10">
      <xyplot width="352" height="274" points="100" name="XYPlot">
        <chartstyle backcolor="White" bordercolor="Black" />
        <grid gridcolor="LightGray" gridpattern="Dash" gridthickness="1" isxgrid="true" isygrid="true" isy2grid="false" />
        <xaxes xmin="-2" xmax="2" xtick="1" visible="True" decimalplaces="3" numberformat="General" />
        <yaxes ymin="-2" ymax="2" ytick="1" visible="True" decimalplaces="3" numberformat="General" />
        <y2axes isy2axis="false" y2min="-1.728" y2max="1.728" y2tick="1" 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="Transparent" linethickness="1" linepattern="Solid" symbolantialias="true" symbolsize="8" symboltype="Circle" symbolborderthickness="1" symbolbordercolor="Red" symbolfillcolor="White" />
          <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">X</e>
          <e type="operand">Y</e>
          <e type="function" args="2">augment</e>
          <e type="operand">x</e>
          <e type="operand">y</e>
          <e type="function" args="2">f</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">sys</e>
        </input>
      </xyplot>
    </region>
    <region left="27" top="1467" width="173" height="23" color="#000000" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p>Rotate and translate points</p>
        </content>
      </text>
    </region>
    <region left="216" top="1467" width="258" height="57" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">Xt</e>
          <e type="operand">Yt</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">mat</e>
          <e type="operand">θ</e>
          <e type="function" args="1">cos</e>
          <e type="operand">θ</e>
          <e type="function" args="1">sin</e>
          <e type="operand">θ</e>
          <e type="function" args="1">sin</e>
          <e type="operator" args="1">-</e>
          <e type="operand">θ</e>
          <e type="function" args="1">cos</e>
          <e type="operand">2</e>
          <e type="operand">2</e>
          <e type="function" args="6">mat</e>
          <e type="operand">X</e>
          <e type="operand">x.o</e>
          <e type="operator" args="2">-</e>
          <e type="operand">Y</e>
          <e type="operand">y.o</e>
          <e type="operator" args="2">-</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">mat</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="531" top="1548" width="105" height="33" color="#000000" fontSize="10">
      <math optimize="2">
        <input>
          <e type="operand">at</e>
          <e type="operand">Mt</e>
          <e type="operand">1</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operand">K</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="36" top="1557" width="304" height="23" color="#000000" fontSize="10">
      <text lang="eng" width="304" fontFamily="Arial" fontSize="10">
        <content>
          <p>Fit conic section to rotated and translated points</p>
        </content>
      </text>
    </region>
    <region left="360" top="1557" width="135" height="26" color="#000000" fontSize="10">
      <math optimize="2">
        <input>
          <e type="operand">Mt</e>
          <e type="operand">Xt</e>
          <e type="operand">Yt</e>
          <e type="function" args="2">Mfn</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="45" top="1593" width="510" height="42" color="#000000" fontSize="10">
      <math optimize="2">
        <input>
          <e type="operand">x</e>
          <e type="operand">y</e>
          <e type="function" args="2">ft</e>
          <e type="operand">at</e>
          <e type="operand">1</e>
          <e type="function" args="2">el</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="operand">2</e>
          <e type="operand">at</e>
          <e type="operand">2</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">*</e>
          <e type="operand">x</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">at</e>
          <e type="operand">3</e>
          <e type="function" args="2">el</e>
          <e type="operand">y</e>
          <e type="operand">2</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">at</e>
          <e type="operand">4</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">*</e>
          <e type="operand">x</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">+</e>
          <e type="operand">2</e>
          <e type="operand">at</e>
          <e type="operand">5</e>
          <e type="function" args="2">el</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">1</e>
          <e type="operator" args="2">+</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="45" top="1656" width="187" height="23" color="#000000" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p>Rotated and translated graph</p>
        </content>
      </text>
    </region>
    <region left="36" top="1674" width="348" height="292" color="#000000" bgColor="#ffffff" fontSize="10">
      <xyplot width="338" height="284" points="100" name="XYPlot">
        <chartstyle backcolor="White" bordercolor="Black" />
        <grid gridcolor="LightGray" gridpattern="Dash" gridthickness="1" isxgrid="true" isygrid="true" isy2grid="false" />
        <xaxes xmin="-2" xmax="2" xtick="1" visible="True" decimalplaces="3" numberformat="General" />
        <yaxes ymin="-2" ymax="2" ytick="1" visible="True" decimalplaces="3" numberformat="General" />
        <y2axes isy2axis="false" y2min="-1.728" y2max="1.728" y2tick="1" 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="Transparent" linethickness="1" linepattern="Solid" symbolantialias="true" symbolsize="8" symboltype="Circle" symbolborderthickness="1" symbolbordercolor="Red" symbolfillcolor="White" />
          <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">Xt</e>
          <e type="operand">Yt</e>
          <e type="function" args="2">augment</e>
          <e type="operand">x</e>
          <e type="operand">y</e>
          <e type="function" args="2">ft</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">sys</e>
        </input>
      </xyplot>
    </region>
    <region left="396" top="1692" width="264" height="23" color="#000000" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p>Is separator vertical (s2) or horizontal(s1)?</p>
        </content>
      </text>
    </region>
    <region left="396" top="1710" width="214" height="125" color="#000000" fontSize="10">
      <math optimize="2">
        <input>
          <e type="operand">s2</e>
          <e type="operand">0</e>
          <e type="operator" args="2">:</e>
          <e type="operand">s1</e>
          <e type="operand">0</e>
          <e type="operand">y</e>
          <e type="function" args="2">ft</e>
          <e type="operand">y</e>
          <e type="function" args="2">roots</e>
          <e type="operator" args="2">:</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">line</e>
          <e type="operand">s1</e>
          <e type="operand">0</e>
          <e type="operator" args="2">:</e>
          <e type="operand">s2</e>
          <e type="operand">x</e>
          <e type="operand">0</e>
          <e type="function" args="2">f</e>
          <e type="operand">x</e>
          <e type="function" args="2">roots</e>
          <e type="bracket">(</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">try</e>
        </input>
      </math>
    </region>
    <region left="612" top="1773" width="52" height="24" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">s1</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
        </result>
      </math>
    </region>
    <region left="612" top="1809" width="124" height="24" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">s2</e>
        </input>
        <result action="numeric">
          <e type="operand">0.22159193</e>
        </result>
      </math>
    </region>
    <region left="414" top="1863" width="248" height="23" color="#000000" fontSize="10" isBreakable="false">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p>Count number of points on each branch</p>
        </content>
      </text>
    </region>
    <region left="423" top="1899" width="149" height="108" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">s1</e>
          <e type="function" args="1">abs</e>
          <e type="operand">0</e>
          <e type="operator" args="2">&gt;</e>
          <e type="operand">n</e>
          <e type="operand">1</e>
          <e type="function" args="2">el</e>
          <e type="operand">Yt</e>
          <e type="operand">0</e>
          <e type="operator" args="2">&gt;</e>
          <e type="function" args="1">vectorize</e>
          <e type="bracket">(</e>
          <e type="function" args="1">sum</e>
          <e type="operator" args="2">:</e>
          <e type="operand">n</e>
          <e type="operand">1</e>
          <e type="function" args="2">el</e>
          <e type="operand">Xt</e>
          <e type="operand">0</e>
          <e type="operator" args="2">&gt;</e>
          <e type="function" args="1">vectorize</e>
          <e type="bracket">(</e>
          <e type="function" args="1">sum</e>
          <e type="operator" args="2">:</e>
          <e type="function" args="3">if</e>
        </input>
      </math>
    </region>
    <region left="594" top="1962" width="92" height="33" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">n</e>
          <e type="operand">2</e>
          <e type="function" args="2">el</e>
          <e type="operand">5</e>
          <e type="operand">n</e>
          <e type="operand">1</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="603" top="2043" width="59" height="45" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">n</e>
        </input>
        <result action="numeric">
          <e type="operand">3</e>
          <e type="operand">2</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">mat</e>
        </result>
      </math>
    </region>
    <region left="387" top="2052" width="205" height="23" color="#000000" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p style="font-weight: bold;">Split of points on each branch</p>
        </content>
      </text>
    </region>
  </regions>
</worksheet>