﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="1.0.8348.30405"?>
<worksheet xmlns="http://smath.info/schemas/worksheet/1.0">
  <settings ppi="96">
    <identity>
      <id>33db128e-c654-4575-ab1e-2cfc0ef8fb08</id>
      <revision>4</revision>
    </identity>
    <metadata lang="eng">
      <author>Alvaro Diaz Falconi</author>
    </metadata>
    <calculation>
      <precision>4</precision>
      <exponentialThreshold>5</exponentialThreshold>
      <trailingZeros>false</trailingZeros>
      <significantDigitsMode>false</significantDigitsMode>
      <roundingMode>0</roundingMode>
      <approximateEqualAccuracy>0</approximateEqualAccuracy>
      <fractions>decimal</fractions>
    </calculation>
    <pageModel active="true" viewMode="0" 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" />
      <footer alignment="Center" color="#a9a9a9">&amp;[PAGENUM] / &amp;[COUNT]</footer>
      <backgrounds />
    </pageModel>
    <dependencies>
      <assembly name="SMath Studio Desktop" version="1.0.8348.30405" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="MathRegion" version="1.11.8348.30405" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="SpecialFunctions" version="1.12.8348.30405" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
      <assembly name="Maple Tools" version="1.1.8517.16356" guid="32dfd679-8cfd-483a-b79a-19d5ea838750" />
      <assembly name="TextRegion" version="1.11.8348.30405" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
      <assembly name="PlotRegion" version="1.11.8348.30405" guid="c451c2b5-798b-4f08-b9ec-b90963d1ddaa" />
    </dependencies>
  </settings>
  <regions type="content">
    <region left="0" top="36" width="139" height="24" color="#000000" fontSize="10" isBreakable="false">
      <text lang="eng" fontFamily="Consolas" fontSize="10">
        <content>
          <p>Linear regression</p>
        </content>
      </text>
    </region>
    <region left="162" top="36" width="397" height="54" color="#000000">
      <maple width="397" height="54" border="true" linenumbers="true" backcolor="Window">
        <text>QwA6AD0AUwB1AG0AKAAoAGUAbAAoAFkALABrACkALQAoAGEAKwBiACoAZQBsACgAWAAsAGsAKQApACkAXgAyACwAawApADoADQAKAGEAbgBzADoAPQBzAG8AbAB2AGUAKAB7AGQAaQBmAGYAKABDACwAYQApACwAZABpAGYAZgAoAEMALABiACkAfQAsAHsAYgAsAGEAfQApADoA</text>
        <input>
          <e type="operand">#</e>
        </input>
      </maple>
    </region>
    <region left="162" top="108" width="546" height="151" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">b</e>
          <e type="operand">a</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">mat</e>
          <e type="operand">ans</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="none">
          <e type="operand">X</e>
          <e type="operand">k</e>
          <e type="function" args="2">el</e>
          <e type="operand">k</e>
          <e type="function" args="2">Sum</e>
          <e type="operand">Y</e>
          <e type="operand">k</e>
          <e type="function" args="2">el</e>
          <e type="operand">k</e>
          <e type="function" args="2">Sum</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="1">-</e>
          <e type="operand">1</e>
          <e type="operand">k</e>
          <e type="function" args="2">Sum</e>
          <e type="operand">X</e>
          <e type="operand">k</e>
          <e type="function" args="2">el</e>
          <e type="operand">Y</e>
          <e type="operand">k</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">*</e>
          <e type="operand">k</e>
          <e type="function" args="2">Sum</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">+</e>
          <e type="operand">X</e>
          <e type="operand">k</e>
          <e type="function" args="2">el</e>
          <e type="operand">k</e>
          <e type="function" args="2">Sum</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="1">-</e>
          <e type="operand">1</e>
          <e type="operand">k</e>
          <e type="function" args="2">Sum</e>
          <e type="operand">X</e>
          <e type="operand">k</e>
          <e type="function" args="2">el</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operand">k</e>
          <e type="function" args="2">Sum</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">+</e>
          <e type="operator" args="2">/</e>
          <e type="operand">X</e>
          <e type="operand">k</e>
          <e type="function" args="2">el</e>
          <e type="operand">Y</e>
          <e type="operand">k</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">*</e>
          <e type="operand">k</e>
          <e type="function" args="2">Sum</e>
          <e type="operand">X</e>
          <e type="operand">k</e>
          <e type="function" args="2">el</e>
          <e type="operand">k</e>
          <e type="function" args="2">Sum</e>
          <e type="operator" args="2">*</e>
          <e type="operand">X</e>
          <e type="operand">k</e>
          <e type="function" args="2">el</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operand">k</e>
          <e type="function" args="2">Sum</e>
          <e type="operand">Y</e>
          <e type="operand">k</e>
          <e type="function" args="2">el</e>
          <e type="operand">k</e>
          <e type="function" args="2">Sum</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">-</e>
          <e type="operand">X</e>
          <e type="operand">k</e>
          <e type="function" args="2">el</e>
          <e type="operand">k</e>
          <e type="function" args="2">Sum</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="1">-</e>
          <e type="operand">1</e>
          <e type="operand">k</e>
          <e type="function" args="2">Sum</e>
          <e type="operand">X</e>
          <e type="operand">k</e>
          <e type="function" args="2">el</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operand">k</e>
          <e type="function" args="2">Sum</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">+</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="1">-</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">mat</e>
        </result>
      </math>
    </region>
    <region left="0" top="270" width="147" height="40" color="#000000" fontSize="10" isBreakable="false">
      <text lang="eng" width="147" fontFamily="Consolas" fontSize="10">
        <content>
          <p>For showing the formula</p>
        </content>
      </text>
    </region>
    <region left="162" top="270" width="282" height="92" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">x</e>
          <e type="operand">k</e>
          <e type="function" args="2">Sum</e>
          <e type="operand">x</e>
          <e type="function" args="1">num2str</e>
          <e type="operand" style="string">1</e>
          <e type="operator" args="2">≡</e>
          <e type="operand">n</e>
          <e type="operand">x</e>
          <e type="operand">a</e>
          <e type="operand">k</e>
          <e type="function" args="2">el</e>
          <e type="operand">a</e>
          <e type="function" args="3">equrep</e>
          <e type="function" args="1">Σ</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="468" top="270" width="270" height="63" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">a</e>
        </input>
        <result action="symbolic">
          <e type="operand">Y</e>
          <e type="function" args="1">Σ</e>
          <e type="operand">X</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="function" args="1">Σ</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="1">-</e>
          <e type="operand">X</e>
          <e type="function" args="1">Σ</e>
          <e type="operand">X</e>
          <e type="operand">Y</e>
          <e type="operator" args="2">*</e>
          <e type="function" args="1">Σ</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">+</e>
          <e type="operand">n</e>
          <e type="operand">X</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="function" args="1">Σ</e>
          <e type="operator" args="2">*</e>
          <e type="operand">X</e>
          <e type="function" args="1">Σ</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="operator" args="1">-</e>
        </result>
      </math>
    </region>
    <region left="468" top="342" width="207" height="54" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">b</e>
        </input>
        <result action="symbolic">
          <e type="operand">n</e>
          <e type="operand">X</e>
          <e type="operand">Y</e>
          <e type="operator" args="2">*</e>
          <e type="function" args="1">Σ</e>
          <e type="operator" args="2">*</e>
          <e type="operand">X</e>
          <e type="function" args="1">Σ</e>
          <e type="operand">Y</e>
          <e type="function" args="1">Σ</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">-</e>
          <e type="operand">n</e>
          <e type="operand">X</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="function" args="1">Σ</e>
          <e type="operator" args="2">*</e>
          <e type="operand">X</e>
          <e type="function" args="1">Σ</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">/</e>
        </result>
      </math>
    </region>
    <region left="0" top="414" width="149" height="40" color="#000000" fontSize="10" isBreakable="false">
      <text lang="eng" width="149" fontFamily="Consolas" fontSize="10">
        <content>
          <p>For a numerical application</p>
        </content>
      </text>
    </region>
    <region left="162" top="414" width="154" height="73" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">x</e>
          <e type="operand">k</e>
          <e type="function" args="2">Sum</e>
          <e type="operand">x</e>
          <e type="operand">k</e>
          <e type="operand">1</e>
          <e type="operand">n</e>
          <e type="function" args="4">sum</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="342" top="414" width="197" height="26" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">X</e>
          <e type="operand">2</e>
          <e type="operand">7</e>
          <e type="operand">9</e>
          <e type="operand">12</e>
          <e type="operand">20</e>
          <e type="function" args="5">stack</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="612" top="414" width="111" height="26" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">n</e>
          <e type="operand">X</e>
          <e type="function" args="1">length</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="342" top="441" width="213" height="26" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">Y</e>
          <e type="operand">5</e>
          <e type="operand">10</e>
          <e type="operand">17</e>
          <e type="operand">25</e>
          <e type="operand">44</e>
          <e type="function" args="5">stack</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="162" top="504" width="127" height="45" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">a</e>
          <e type="operand">b</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">mat</e>
        </input>
        <result action="numeric">
          <e type="operand">2.4404</e>
          <e type="operator" args="1">-</e>
          <e type="operand">2.264</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">mat</e>
        </result>
      </math>
    </region>
    <region left="306" top="504" width="181" height="50" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">a</e>
        </input>
        <result action="none">
          <e type="operand">1413</e>
          <e type="operand">50</e>
          <e type="operator" args="2">*</e>
          <e type="operand">678</e>
          <e type="operand">101</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">-</e>
          <e type="operand">50</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="1">-</e>
          <e type="operand">5</e>
          <e type="operand">678</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">+</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="1">-</e>
        </result>
      </math>
    </region>
    <region left="504" top="504" width="240" height="158" color="#000000" fontSize="8">
      <plot type="2d" render="lines" scale_x="0.282429536481" scale_y="0.6561" scale_z="0.185302018885184" rotate_x="0" rotate_y="0" rotate_z="0" transpose_x="-79" transpose_y="-54" transpose_z="0">
        <input>
          <e type="operand">a</e>
          <e type="operand">b</e>
          <e type="operand">x</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">+</e>
          <e type="operand">X</e>
          <e type="operand">Y</e>
          <e type="operand" style="string">o</e>
          <e type="function" args="3">augment</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">sys</e>
        </input>
      </plot>
    </region>
    <region left="306" top="558" width="166" height="50" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">b</e>
        </input>
        <result action="none">
          <e type="operand">50</e>
          <e type="operand">101</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="1">-</e>
          <e type="operand">5</e>
          <e type="operand">1413</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">+</e>
          <e type="operand">50</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="1">-</e>
          <e type="operand">5</e>
          <e type="operand">678</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">+</e>
          <e type="operator" args="2">/</e>
        </result>
      </math>
    </region>
    <region left="54" top="702" width="60" height="24" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">Alvaro</e>
        </input>
      </math>
    </region>
    <region left="180" top="702" width="257" height="26" 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">1.0.8348.30405</e>
        </result>
      </math>
    </region>
  </regions>
</worksheet>