﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="0.99.6884.37264"?>
<worksheet xmlns="http://smath.info/schemas/worksheet/1.0">
  <settings dpi="96">
    <identity>
      <id>8c08b14d-9824-4f36-b5af-6345c8bfcb88</id>
      <revision>14</revision>
    </identity>
    <calculation>
      <precision>4</precision>
      <exponentialThreshold>5</exponentialThreshold>
      <trailingZeros>false</trailingZeros>
      <significantDigitsMode>false</significantDigitsMode>
      <roundingMode>0</roundingMode>
      <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="0.99.6884.37264" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="Math Region" version="0.99.6884.37264" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="SpecialFunctions" version="1.12.6884.37264" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
      <assembly name="X-Y Plot Region (JXCharts)" version="0.2.6929.20623" guid="c12231ec-4873-43c1-a7d0-a167ebd17066" />
    </dependencies>
  </settings>
  <regions type="content">
    <region id="0" left="18" top="0" width="549" height="714" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">intervals</e>
          <e type="operand">values</e>
          <e type="function" args="2">hist</e>
          <e type="operand">binBounds</e>
          <e type="operand">intervals</e>
          <e type="function" args="1">sort</e>
          <e type="operator" args="2">:</e>
          <e type="operand">binMin</e>
          <e type="operand">binBounds</e>
          <e type="operand">1</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">:</e>
          <e type="operand">binCount</e>
          <e type="operand">intervals</e>
          <e type="function" args="1">length</e>
          <e type="operand">1</e>
          <e type="operator" args="2">-</e>
          <e type="operand">1</e>
          <e type="function" args="2">matrix</e>
          <e type="operator" args="2">:</e>
          <e type="operand">sortedValues</e>
          <e type="operand">values</e>
          <e type="function" args="1">sort</e>
          <e type="operator" args="2">:</e>
          <e type="operand">lastIndex</e>
          <e type="operand">1</e>
          <e type="operator" args="2">:</e>
          <e type="operand">j</e>
          <e type="operand">2</e>
          <e type="operand">intervals</e>
          <e type="function" args="1">length</e>
          <e type="function" args="2">range</e>
          <e type="operand">binMax</e>
          <e type="operand">binBounds</e>
          <e type="operand">j</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">:</e>
          <e type="operand">k</e>
          <e type="operand">lastIndex</e>
          <e type="operand">values</e>
          <e type="function" args="1">length</e>
          <e type="function" args="2">range</e>
          <e type="operand">v</e>
          <e type="operand">sortedValues</e>
          <e type="operand">k</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">:</e>
          <e type="operand">lastIndex</e>
          <e type="operand">k</e>
          <e type="operator" args="2">:</e>
          <e type="operand">v</e>
          <e type="operand">binMin</e>
          <e type="operator" args="2">&lt;</e>
          <e type="operand" style="string">value below the range</e>
          <e type="operand">continue</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">line</e>
          <e type="operand">v</e>
          <e type="operand">binMax</e>
          <e type="operator" args="2">≥</e>
          <e type="operand" style="string">value belong to next bins</e>
          <e type="operand">break</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">line</e>
          <e type="operand" style="string">found a value for this bin</e>
          <e type="operand">binCount</e>
          <e type="operand">j</e>
          <e type="operand">1</e>
          <e type="operator" args="2">-</e>
          <e type="function" args="2">el</e>
          <e type="operand">binCount</e>
          <e type="operand">j</e>
          <e type="operand">1</e>
          <e type="operator" args="2">-</e>
          <e type="function" args="2">el</e>
          <e type="operand">1</e>
          <e type="operator" args="2">+</e>
          <e type="operator" args="2">:</e>
          <e type="operand">continue</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="5">line</e>
          <e type="function" args="3">if</e>
          <e type="function" args="3">if</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">binMin</e>
          <e type="operand">binMax</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">hist</e>
          <e type="operand">binCount</e>
          <e type="function" args="1">length</e>
          <e type="operand">1</e>
          <e type="function" args="2">matrix</e>
          <e type="operator" args="2">:</e>
          <e type="operand">j</e>
          <e type="operand">1</e>
          <e type="operand">binCount</e>
          <e type="function" args="1">length</e>
          <e type="function" args="2">range</e>
          <e type="operand">hist</e>
          <e type="operand">j</e>
          <e type="function" args="2">el</e>
          <e type="operand" style="string">rect</e>
          <e type="operand">binBounds</e>
          <e type="operand">j</e>
          <e type="function" args="2">el</e>
          <e type="operand">0</e>
          <e type="operand">binBounds</e>
          <e type="operand">j</e>
          <e type="operand">1</e>
          <e type="operator" args="2">+</e>
          <e type="function" args="2">el</e>
          <e type="operand">binBounds</e>
          <e type="operand">j</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">-</e>
          <e type="operand">binCount</e>
          <e type="operand">j</e>
          <e type="function" args="2">el</e>
          <e type="operand">4</e>
          <e type="operand">1</e>
          <e type="function" args="6">mat</e>
          <e type="operand" style="string">#ff009900</e>
          <e type="operand" style="string">solid</e>
          <e type="operand">1</e>
          <e type="operand" style="string">#6600ff00</e>
          <e type="operand">6</e>
          <e type="operand">1</e>
          <e type="function" args="8">mat</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">hist</e>
          <e type="operand">9</e>
          <e type="operand">1</e>
          <e type="function" args="11">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="1" left="9" top="801" width="526" height="323" color="#000000" bgColor="#ffffff" fontSize="10">
      <xyplot width="516" height="315" points="100">
        <propertiessource index="1" sourcetype="PropertyGrid" />
        <grid gridcolor="LightGray" gridpattern="Dash" gridthickness="1" isxgrid="true" isygrid="true" />
        <xaxes xmin="-4.442309" xmax="10.39332" xtick="1" decimalplaces="3" numberformat="General" />
        <yaxes ymin="-0.4214006" ymax="2.545724" ytick="1" decimalplaces="3" numberformat="General" />
        <y2axes isy2axis="false" y2min="-1" y2max="1" y2tick="0.5" 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="Shapes" lineantialias="false" linecolor="Blue" linethickness="1" linepattern="Solid" symbolantialias="false" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
        </traces>
        <input>
          <e type="operand">0</e>
          <e type="operand">5</e>
          <e type="function" args="2">range</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="operand">0</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="operand">4</e>
          <e type="operand">5</e>
          <e type="operand">7</e>
          <e type="operand">1</e>
          <e type="function" args="9">mat</e>
          <e type="function" args="2">hist</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="3">mat</e>
        </input>
      </xyplot>
    </region>
    <region id="2" left="9" top="1287" width="523" height="36" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">data</e>
          <e type="operand">36</e>
          <e type="operand">25</e>
          <e type="operand">38</e>
          <e type="operand">46</e>
          <e type="operand">55</e>
          <e type="operand">68</e>
          <e type="operand">72</e>
          <e type="operand">55</e>
          <e type="operand">36</e>
          <e type="operand">38</e>
          <e type="operand">67</e>
          <e type="operand">45</e>
          <e type="operand">22</e>
          <e type="operand">48</e>
          <e type="operand">91</e>
          <e type="operand">46</e>
          <e type="operand">52</e>
          <e type="operand">61</e>
          <e type="operand">58</e>
          <e type="operand">55</e>
          <e type="operand">1</e>
          <e type="operand">20</e>
          <e type="function" args="22">mat</e>
          <e type="function" args="1">transpose</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="3" left="0" top="1332" width="318" height="238" color="#000000" bgColor="#ffffff" fontSize="10">
      <xyplot width="308" height="230" points="100">
        <propertiessource index="1" sourcetype="PropertyGrid" />
        <grid gridcolor="LightGray" gridpattern="Dash" gridthickness="1" isxgrid="true" isygrid="true" />
        <xaxes xmin="0" xmax="110" xtick="10" decimalplaces="3" numberformat="General" />
        <yaxes ymin="-0.3040901" ymax="5.228702" ytick="1" decimalplaces="3" numberformat="General" />
        <y2axes isy2axis="false" y2min="-1" y2max="1" y2tick="0.5" 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="Shapes" lineantialias="false" linecolor="Blue" linethickness="1" linepattern="Solid" symbolantialias="false" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
        </traces>
        <input>
          <e type="operand">20</e>
          <e type="operand">100</e>
          <e type="operand">30</e>
          <e type="function" args="3">range</e>
          <e type="operand">data</e>
          <e type="function" args="2">hist</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="3">mat</e>
        </input>
      </xyplot>
    </region>
    <region id="4" left="333" top="1332" width="318" height="238" color="#000000" bgColor="#ffffff" fontSize="10">
      <xyplot width="308" height="230" points="100">
        <propertiessource index="1" sourcetype="PropertyGrid" />
        <grid gridcolor="LightGray" gridpattern="Dash" gridthickness="1" isxgrid="true" isygrid="true" />
        <xaxes xmin="-5.224882" xmax="122.8671" xtick="10" decimalplaces="3" numberformat="General" />
        <yaxes ymin="-1.245343" ymax="11.16608" ytick="2" decimalplaces="3" numberformat="General" />
        <y2axes isy2axis="false" y2min="-1" y2max="1" y2tick="0.5" 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="Shapes" lineantialias="false" linecolor="Blue" linethickness="1" linepattern="Solid" symbolantialias="false" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
        </traces>
        <input>
          <e type="operand">20</e>
          <e type="operand">50</e>
          <e type="operand">80</e>
          <e type="operand">100</e>
          <e type="operand">4</e>
          <e type="operand">1</e>
          <e type="function" args="6">mat</e>
          <e type="operand">data</e>
          <e type="function" args="2">hist</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="3">mat</e>
        </input>
      </xyplot>
    </region>
  </regions>
</worksheet>