﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="0.99.6671.38791"?>
<regions xmlns="http://smath.info/schemas/worksheet/1.0">
  <settings dpi="96">
    <identity>
      <id>1eb02266-3e9c-40c1-9915-792a8da9b404</id>
      <revision>9</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="9" orientation="Portrait" width="827" height="1169" />
      <margins left="39" right="39" top="39" bottom="39" />
      <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.6671.38791" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="Math Region" version="0.99.6671.38791" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="Special Functions" version="1.11.6671.38793" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
      <assembly name="Writer Region" version="0.10.6651.13450" guid="5922d677-323f-4327-8c68-be902d8339ad" />
    </dependencies>
  </settings>
  <region id="0" left="72" top="9" width="100" height="33" border="true" color="#000000" bgColor="#ffff00" fontSize="10">
    <math>
      <input>
        <e type="operand">A</e>
        <e type="operand">36.6</e>
        <e type="operand" style="unit">km</e>
        <e type="operand">2</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="1" left="45" top="54" width="110" height="369" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">Q</e>
        <e type="operand">50</e>
        <e type="operand">50</e>
        <e type="operand">50</e>
        <e type="operand">153</e>
        <e type="operand">861</e>
        <e type="operand">1802</e>
        <e type="operand">2908</e>
        <e type="operand">4010</e>
        <e type="operand">4847</e>
        <e type="operand">5320</e>
        <e type="operand">5805</e>
        <e type="operand">6399</e>
        <e type="operand">7142</e>
        <e type="operand">7661</e>
        <e type="operand">7994</e>
        <e type="operand">8248</e>
        <e type="operand">8467</e>
        <e type="operand">8551</e>
        <e type="operand">8374</e>
        <e type="operand">7839</e>
        <e type="operand">20</e>
        <e type="operand">1</e>
        <e type="function" args="22">mat</e>
        <e type="operand" style="unit">m</e>
        <e type="operand">3</e>
        <e type="operator" args="2">^</e>
        <e type="operand" style="unit">s</e>
        <e type="operator" args="2">/</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="2" left="270" top="72" width="109" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math fractionType="auto">
      <input>
        <e type="operand">Q</e>
        <e type="function" args="1">rows</e>
      </input>
      <result action="numeric">
        <e type="operand">20</e>
      </result>
    </math>
  </region>
  <region id="3" left="270" top="108" width="350" height="32" color="#000000" bgColor="#ffffff">
    <writer lang="eng"><![CDATA[<span style="font-family: 'Times New Roman'; font-size: 11pt; font-weight: normal; font-style: normal; color: Blue; background-color: Transparent; text-align: left; line-height: 115%">
<div><span style="font-size: 14pt"><strong>Cumulative Flow Curve (Mass Flow Curve)</strong></span></div></span>]]></writer>
  </region>
  <region id="4" left="279" top="144" width="262" height="111" border="true" color="#000000" bgColor="#cdff9b" fontSize="10">
    <math exponentialThreshold="8">
      <description active="true" position="Top" lang="eng">
        <p>This works only if both A &amp; Q are unitless (ignore units</p>
      </description>
      <input>
        <e type="operand">q</e>
        <e type="function" args="1">M_Cuve</e>
        <e type="operand">j</e>
        <e type="operand">1</e>
        <e type="operand">q</e>
        <e type="function" args="1">rows</e>
        <e type="function" args="2">range</e>
        <e type="operand">A</e>
        <e type="operand">j</e>
        <e type="function" args="2">el</e>
        <e type="operand">q</e>
        <e type="operand">n</e>
        <e type="function" args="2">el</e>
        <e type="operand">n</e>
        <e type="operand">1</e>
        <e type="operand">j</e>
        <e type="function" args="4">sum</e>
        <e type="operator" args="2">:</e>
        <e type="function" args="3">for</e>
        <e type="operand">A</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="function" args="4">line</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="5" left="279" top="297" width="254" height="111" border="true" color="#000000" bgColor="#cdff9b" fontSize="10">
    <math evaluate="false" exponentialThreshold="8">
      <description active="true" position="Top" lang="eng">
        <p>This works even with units</p>
      </description>
      <input>
        <e type="operand">q</e>
        <e type="function" args="1">M_Cuve</e>
        <e type="operand">j</e>
        <e type="operand">1</e>
        <e type="operand">q</e>
        <e type="function" args="1">rows</e>
        <e type="function" args="2">range</e>
        <e type="operand">AA</e>
        <e type="operand">j</e>
        <e type="function" args="2">el</e>
        <e type="operand">q</e>
        <e type="operand">n</e>
        <e type="function" args="2">el</e>
        <e type="operand">n</e>
        <e type="operand">1</e>
        <e type="operand">j</e>
        <e type="function" args="4">sum</e>
        <e type="operator" args="2">:</e>
        <e type="function" args="3">for</e>
        <e type="operand">AA</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="function" args="4">line</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="6" left="45" top="450" width="163" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math error="64" fractionType="auto" decimalPlaces="0" exponentialThreshold="15" matrixOptions="0,0,1,23">
      <input>
        <e type="operand">SMQ</e>
        <e type="operand">Q</e>
        <e type="function" args="1">M_Cuve</e>
        <e type="operator" args="2">:</e>
      </input>
      <result action="numeric">
        <e type="operand">#</e>
      </result>
    </math>
  </region>
  <region id="7" left="279" top="450" width="98" height="33" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">A</e>
      </input>
      <contract>
        <e type="operand" style="unit">km</e>
        <e type="operand">2</e>
        <e type="operator" args="2">^</e>
      </contract>
      <result action="numeric">
        <e type="operand">36.6</e>
      </result>
    </math>
  </region>
</regions>