﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="0.97.5346.24640"?>
<regions>
  <settings>
    <identity>
      <id>e5739826-81f2-4be8-886b-62ce767400b5</id>
      <revision>39</revision>
    </identity>
    <calculation>
      <precision>6</precision>
      <exponentialThreshold>9</exponentialThreshold>
      <fractions>decimal</fractions>
    </calculation>
    <pageModel active="true" printAreas="true" simpleEqualsOnly="false" printBackgroundImages="true">
      <paper id="1" orientation="Portrait" width="850" height="1100" />
      <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>
    <dependences>
      <assembly name="SMath Studio Desktop" version="0.97.5346.24640" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="Text Region" version="1.10.5346.31409" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
      <assembly name="Math Region" version="0.97.5346.24640" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="Special Functions" version="1.11.5346.31403" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
      <assembly name="Plot Region" version="1.9.5346.32570" guid="c451c2b5-798b-4f08-b9ec-b90963d1ddaa" />
      <assembly name="Picture Region" version="1.10.5346.31387" guid="06b5df04-393e-4be7-9107-305196fcb861" />
    </dependences>
  </settings>
  <region id="0" left="18" top="9" width="330" height="31" color="#000000" bgColor="#80ffff" fontSize="14">
    <text lang="eng">
      <p bold="true">Filling the segment project </p>
    </text>
  </region>
  <region id="1" left="18" top="45" width="267" height="31" color="#804040" bgColor="#ffffff" fontSize="14">
    <text lang="eng">
      <p bold="true">1. Prepare the project</p>
    </text>
  </region>
  <region id="2" left="396" top="45" width="291" height="31" color="#804040" bgColor="#ffffff" fontSize="14">
    <text lang="eng">
      <p bold="true">2. Construct the project</p>
    </text>
  </region>
  <region id="3" left="18" top="81" width="60" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <math fractionType="fraction">
      <input>
        <e type="operand">N</e>
        <e type="operand">500</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="4" left="90" top="81" width="151" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>Density of random</p>
    </text>
  </region>
  <region id="5" left="396" top="81" width="324" height="162" border="true" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="0" fractionType="fraction">
      <input>
        <e type="operand">data</e>
        <e type="operand">spec</e>
        <e type="function" args="2">pts</e>
        <e type="operand">i</e>
        <e type="operand">1</e>
        <e type="operand">data</e>
        <e type="function" preserve="true" args="1">rows</e>
        <e type="function" preserve="true" args="2">range</e>
        <e type="operand">p</e>
        <e type="operand">i</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operand">a</e>
        <e type="operand">b</e>
        <e type="operand">c</e>
        <e type="function" args="3">spec</e>
        <e type="operator" args="2">:</e>
        <e type="function" preserve="true" args="3">for</e>
        <e type="operand" style="string">Unest 'p' </e>
        <e type="operand">v</e>
        <e type="operand">p</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operator" args="2">:</e>
        <e type="operand">j</e>
        <e type="operand">2</e>
        <e type="operand">p</e>
        <e type="function" preserve="true" args="1">rows</e>
        <e type="function" preserve="true" args="2">range</e>
        <e type="operand">v</e>
        <e type="operand">v</e>
        <e type="operand">p</e>
        <e type="operand">j</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="function" preserve="true" args="2">stack</e>
        <e type="operator" args="2">:</e>
        <e type="function" preserve="true" args="3">for</e>
        <e type="operand">data</e>
        <e type="operand">v</e>
        <e type="function" preserve="true" args="2">augment</e>
        <e type="operand">5</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="7">line</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="6" left="18" top="99" width="43" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <math fractionType="fraction">
      <input>
        <e type="operand">r</e>
        <e type="operand">1</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="7" left="90" top="99" width="102" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>Unit circle</p>
    </text>
  </region>
  <region id="8" left="18" top="126" width="60" height="24" color="#000000" bgColor="#ffff80" fontSize="10">
    <math fractionType="fraction">
      <input>
        <e type="operand">h</e>
        <e type="operand">0.5</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="9" left="90" top="126" width="178" height="28" color="#000000" bgColor="#ffff80" fontSize="10">
    <math fractionType="fraction">
      <input>
        <e type="operand" style="string">level</e>
        <e type="operand">0</e>
        <e type="operand">h</e>
        <e type="operator" args="2">≤</e>
        <e type="bracket">(</e>
        <e type="operand">h</e>
        <e type="operand">2</e>
        <e type="operator" args="2">≤</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">&amp;</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">≡</e>
      </input>
    </math>
  </region>
  <region id="10" left="18" top="162" width="88" height="44" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">xmax</e>
        <e type="operand">1</e>
        <e type="operator" args="2">:</e>
        <e type="operand">xmin</e>
        <e type="operand">1</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">:</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="4">line</e>
      </input>
    </math>
  </region>
  <region id="11" left="135" top="162" width="117" height="46" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">ymax</e>
        <e type="operand">1</e>
        <e type="operator" args="1">-</e>
        <e type="operand">h</e>
        <e type="operator" args="2">+</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">:</e>
        <e type="operand">ymin</e>
        <e type="operand">1</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">:</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="4">line</e>
      </input>
    </math>
  </region>
  <region id="12" left="18" top="207" width="183" height="48" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">space_x</e>
        <e type="operand">xmax</e>
        <e type="operand">xmin</e>
        <e type="operator" args="2">-</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">:</e>
        <e type="operand">space_y</e>
        <e type="operand">ymax</e>
        <e type="operand">ymin</e>
        <e type="operator" args="2">-</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">:</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="4">line</e>
      </input>
    </math>
  </region>
  <region id="13" left="18" top="261" width="213" height="52" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">x</e>
        <e type="function" args="1">y1</e>
        <e type="operand">x</e>
        <e type="operand">1</e>
        <e type="operator" args="2">+</e>
        <e type="bracket">(</e>
        <e type="operand">2</e>
        <e type="operand">r</e>
        <e type="operator" args="2">*</e>
        <e type="operand">x</e>
        <e type="operand">1</e>
        <e type="operator" args="2">+</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">-</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">*</e>
        <e type="function" preserve="true" args="1">sqrt</e>
        <e type="operator" args="2">:</e>
        <e type="operand">x</e>
        <e type="function" args="1">y2</e>
        <e type="operand">x</e>
        <e type="function" args="1">y1</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">:</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="4">line</e>
      </input>
    </math>
  </region>
  <region id="14" left="396" top="261" width="348" height="56" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>On large number of points, pts(data,spec)plots about 12 times faster than SmathplotG(,,,,,). This module is clean/short.</p>
    </text>
  </region>
  <region id="15" left="18" top="324" width="283" height="28" color="#000000" bgColor="#ebebeb" fontSize="10">
    <math fractionType="fraction">
      <description active="true" position="Top" lang="eng">
        <p>A function that tests an arbitrary point for its membership in the critical region.</p>
      </description>
      <input>
        <e type="operand">x</e>
        <e type="operand">y</e>
        <e type="function" args="2">Test</e>
        <e type="operand">y</e>
        <e type="operand">x</e>
        <e type="function" args="1">y1</e>
        <e type="operator" args="2">+</e>
        <e type="operand">0</e>
        <e type="operator" args="2">≥</e>
        <e type="bracket">(</e>
        <e type="operand">y</e>
        <e type="operand">x</e>
        <e type="function" args="1">y1</e>
        <e type="operator" args="2">-</e>
        <e type="operand">0</e>
        <e type="operator" args="2">≤</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="16" left="603" top="360" width="96" height="26" color="#000000" bgColor="#ebebeb" fontSize="10">
    <math fractionType="fraction">
      <input>
        <e type="operand">t0</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="1">time</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="17" left="18" top="396" width="334" height="282" border="true" color="#000000" bgColor="#ebebeb" fontSize="10">
    <math fractionType="fraction">
      <description active="true" position="Top" lang="eng">
        <p>A routine that finds an array of N random pairs in the critical region.</p>
      </description>
      <input>
        <e type="operand">Pts</e>
        <e type="operand" style="string">the routine is a compressor</e>
        <e type="operand" style="string">it maintains density 'N' </e>
        <e type="operand" style="string">within the variable region</e>
        <e type="operand">i</e>
        <e type="operand">1</e>
        <e type="operand">N</e>
        <e type="function" preserve="true" args="2">range</e>
        <e type="operand">x</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="1">Random</e>
        <e type="operand">space_x</e>
        <e type="operator" args="2">*</e>
        <e type="operand">xmin</e>
        <e type="operator" args="2">+</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operator" args="2">:</e>
        <e type="operand">y</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="1">Random</e>
        <e type="operand">space_y</e>
        <e type="operator" args="2">*</e>
        <e type="operand">ymin</e>
        <e type="operator" args="2">+</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operator" args="2">:</e>
        <e type="operand">1</e>
        <e type="operand">x</e>
        <e type="operand">y</e>
        <e type="function" args="2">Test</e>
        <e type="operator" args="2">-</e>
        <e type="operand">x</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="1">Random</e>
        <e type="operand">space_x</e>
        <e type="operator" args="2">*</e>
        <e type="operand">xmin</e>
        <e type="operator" args="2">+</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operator" args="2">:</e>
        <e type="operand">y</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="1">Random</e>
        <e type="operand">space_y</e>
        <e type="operator" args="2">*</e>
        <e type="operand">ymin</e>
        <e type="operator" args="2">+</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operator" args="2">:</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="4">line</e>
        <e type="function" preserve="true" args="2">while</e>
        <e type="operand">P</e>
        <e type="operand">i</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="3">el</e>
        <e type="operand">x</e>
        <e type="operator" args="2">:</e>
        <e type="operand">P</e>
        <e type="operand">i</e>
        <e type="operand">2</e>
        <e type="function" preserve="true" args="3">el</e>
        <e type="operand">y</e>
        <e type="operator" args="2">:</e>
        <e type="operand">5</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="7">line</e>
        <e type="function" preserve="true" args="3">for</e>
        <e type="operand">P</e>
        <e type="operand">5</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="7">line</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="18" left="396" top="396" width="261" height="26" color="#000000" bgColor="#fff5ff" fontSize="10">
    <math optimize="0" fractionType="fraction">
      <input>
        <e type="operand">a</e>
        <e type="operand">b</e>
        <e type="operand">c</e>
        <e type="function" args="3">spec</e>
        <e type="operand" style="string">.</e>
        <e type="operand">6</e>
        <e type="operand" style="string">#A0A0A0</e>
        <e type="operand">1</e>
        <e type="operand">3</e>
        <e type="function" preserve="true" args="5">mat</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="19" left="396" top="423" width="231" height="28" color="#000000" bgColor="#fff5ff" fontSize="10">
    <math fractionType="fraction">
      <input>
        <e type="operand">pts</e>
        <e type="operand">Pts</e>
        <e type="operand">a</e>
        <e type="operand">b</e>
        <e type="operand">c</e>
        <e type="function" args="3">spec</e>
        <e type="function" args="2">pts</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="20" left="396" top="459" width="145" height="28" color="#000000" bgColor="#ffff80" fontSize="10">
    <math optimize="2" decimalPlaces="4">
      <input>
        <e type="operand">u</e>
        <e type="function" args="1">f</e>
        <e type="operand">0</e>
        <e type="operand">u</e>
        <e type="operator" args="2">*</e>
        <e type="operand">1</e>
        <e type="operator" args="1">-</e>
        <e type="operand">h</e>
        <e type="operator" args="2">+</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">+</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="21" left="603" top="459" width="166" height="26" color="#000000" bgColor="#ebebeb" fontSize="10">
    <math decimalPlaces="0">
      <input>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="1">time</e>
        <e type="operand">t0</e>
        <e type="operator" args="2">-</e>
      </input>
      <result action="numeric">
        <e type="operand">11</e>
        <e type="operand" style="unit">sec</e>
        <e type="operator" args="2">*</e>
      </result>
    </math>
  </region>
  <region id="22" left="396" top="495" width="198" height="151" border="true" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="0" decimalPlaces="4">
      <description active="true" position="Top" lang="eng">
        <p>Mesh the datum level</p>
      </description>
      <input>
        <e type="operand">U</e>
        <e type="operand">x</e>
        <e type="operand">1</e>
        <e type="operand">1</e>
        <e type="operator" args="1">-</e>
        <e type="operand">h</e>
        <e type="operator" args="2">+</e>
        <e type="bracket">(</e>
        <e type="operand">2</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">-</e>
        <e type="function" preserve="true" args="1">sqrt</e>
        <e type="operator" args="2">:</e>
        <e type="operand">u</e>
        <e type="operand">x</e>
        <e type="operator" args="1">-</e>
        <e type="operand">x</e>
        <e type="operand">0.95</e>
        <e type="operand">x</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="1">-</e>
        <e type="function" preserve="true" args="3">range</e>
        <e type="operator" args="2">:</e>
        <e type="operand">i</e>
        <e type="operand">1</e>
        <e type="operand">u</e>
        <e type="function" preserve="true" args="1">rows</e>
        <e type="function" preserve="true" args="2">range</e>
        <e type="operand">datum</e>
        <e type="operand">i</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operand">u</e>
        <e type="operand">i</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="function" args="1">f</e>
        <e type="operator" args="2">:</e>
        <e type="operand">idx</e>
        <e type="operand">i</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operand">u</e>
        <e type="operand">i</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operator" args="2">:</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="4">line</e>
        <e type="function" preserve="true" args="3">for</e>
        <e type="operand">idx</e>
        <e type="operand">datum</e>
        <e type="function" preserve="true" args="2">augment</e>
        <e type="operand">4</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="6">line</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="23" left="396" top="675" width="233" height="31" color="#804040" bgColor="#ffffff" fontSize="14">
    <text lang="eng">
      <p bold="true">3. View the project</p>
    </text>
  </region>
  <region id="24" left="396" top="702" width="245" height="26" color="#000000" bgColor="#fff5ff" fontSize="10">
    <math fractionType="fraction">
      <input>
        <e type="operand">a</e>
        <e type="operand">b</e>
        <e type="operand">c</e>
        <e type="function" args="3">spec</e>
        <e type="operand" style="string">.</e>
        <e type="operand">8</e>
        <e type="operand" style="string">black</e>
        <e type="operand">1</e>
        <e type="operand">3</e>
        <e type="function" preserve="true" args="5">mat</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="25" left="18" top="729" width="245" height="31" color="#804040" bgColor="#ffffff" fontSize="14">
    <text lang="eng">
      <p bold="true">4. Technical end use</p>
    </text>
  </region>
  <region id="26" left="396" top="729" width="197" height="28" color="#000000" bgColor="#fff5ff" fontSize="10">
    <math fractionType="fraction">
      <input>
        <e type="operand">λ</e>
        <e type="operand">U</e>
        <e type="operand">a</e>
        <e type="operand">b</e>
        <e type="operand">c</e>
        <e type="function" args="3">spec</e>
        <e type="function" args="2">pts</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="27" left="18" top="756" width="324" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>The project runs on the UnitCircle ...</p>
    </text>
  </region>
  <region id="28" left="396" top="756" width="200" height="178" color="#000000" bgColor="#ffffff" fontSize="10" showInputData="False">
    <plot type="2d" render="lines" scale_x="10.1444147150152" scale_y="10.6155276490764" scale_z="107.688314890942" rotate_x="0" rotate_y="0" rotate_z="0" transpose_x="-3" transpose_y="0" transpose_z="0">
      <description active="true" position="Top" lang="eng">
        <p>Partially filled</p>
      </description>
      <input>
        <e type="operand">x</e>
        <e type="function" args="1">y1</e>
        <e type="operand">x</e>
        <e type="function" args="1">y2</e>
        <e type="operand">pts</e>
        <e type="operand">λ</e>
        <e type="operand">4</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="6">sys</e>
      </input>
    </plot>
  </region>
  <region id="29" left="18" top="783" width="178" height="28" color="#000000" bgColor="#ffff80" fontSize="10">
    <math fractionType="fraction">
      <input>
        <e type="operand" style="string">level</e>
        <e type="operand">0</e>
        <e type="operand">h</e>
        <e type="operator" args="2">≤</e>
        <e type="bracket">(</e>
        <e type="operand">h</e>
        <e type="operand">2</e>
        <e type="operator" args="2">≤</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">&amp;</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">≡</e>
      </input>
    </math>
  </region>
  <region id="30" left="18" top="810" width="278" height="56" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>... it must be converted wrt XTR [level transmitter 0..100%] and the C(x) function [0 .. 1]</p>
    </text>
  </region>
  <region id="31" left="27" top="873" width="114" height="114" color="#000000" bgColor="#ffffff">
    <picture>
      <raw format="png" encoding="base64">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</raw>
    </picture>
  </region>
  <region id="32" left="621" top="873" width="61" height="84" color="#000000" bgColor="#ebebeb" fontSize="10">
    <math fractionType="fraction">
      <input>
        <e type="operand">x</e>
        <e type="function" args="1">y1</e>
        <e type="operand">x</e>
        <e type="function" args="1">y2</e>
        <e type="operand">pts</e>
        <e type="operand">λ</e>
        <e type="operand">4</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="6">sys</e>
      </input>
    </math>
  </region>
  <region id="33" left="171" top="882" width="119" height="24" color="#000000" bgColor="#80ff00" fontSize="10">
    <text lang="eng">
      <p bold="true">Technical 'h'</p>
    </text>
  </region>
  <region id="34" left="189" top="909" width="75" height="24" color="#000000" bgColor="#80ff00" fontSize="10">
    <math fractionType="fraction">
      <input>
        <e type="operand">h</e>
        <e type="operand">0.5</e>
        <e type="operand">h</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="35" left="18" top="1035" width="336" height="46" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2" fractionType="fraction">
      <input>
        <e type="operand">x</e>
        <e type="function" args="1">C</e>
        <e type="operand">1</e>
        <e type="operand">π</e>
        <e type="operator" args="2">/</e>
        <e type="operand">1</e>
        <e type="operand">2</e>
        <e type="operand">x</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">-</e>
        <e type="function" preserve="true" args="1">acos</e>
        <e type="operand">1</e>
        <e type="operand">2</e>
        <e type="operand">x</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">-</e>
        <e type="bracket">(</e>
        <e type="operand">4</e>
        <e type="operand">x</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="bracket">(</e>
        <e type="operand">2</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">-</e>
        <e type="function" preserve="true" args="1">sqrt</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">-</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="36" left="18" top="1089" width="197" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math fractionType="fraction">
      <input>
        <e type="operand">x</e>
        <e type="function" args="1">cπ</e>
        <e type="operand">2</e>
        <e type="operand">0.5</e>
        <e type="operand">x</e>
        <e type="operator" args="2">*</e>
        <e type="operand">0.5</e>
        <e type="operator" args="2">+</e>
        <e type="function" args="1">C</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 id="37" left="252" top="1089" width="106" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math decimalPlaces="3">
      <input>
        <e type="operand">h</e>
        <e type="function" args="1">C</e>
      </input>
      <result action="numeric">
        <e type="operand">0.196</e>
      </result>
    </math>
  </region>
  <region id="38" left="18" top="1143" width="196" height="120" border="true" color="#000000" bgColor="#ffffff" fontSize="10">
    <math fractionType="fraction">
      <input>
        <e type="operand">cπ</e>
        <e type="operand">x</e>
        <e type="operand">1</e>
        <e type="operator" args="1">-</e>
        <e type="operand">1</e>
        <e type="operand">0.995</e>
        <e type="operator" args="1">-</e>
        <e type="function" preserve="true" args="3">range</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" preserve="true" args="1">rows</e>
        <e type="function" preserve="true" args="2">range</e>
        <e type="operand">idx</e>
        <e type="operand">i</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operand">x</e>
        <e type="operand">i</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operator" args="2">:</e>
        <e type="operand">c</e>
        <e type="operand">i</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operand">x</e>
        <e type="operand">i</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="function" args="1">cπ</e>
        <e type="operator" args="2">:</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="4">line</e>
        <e type="function" preserve="true" args="3">for</e>
        <e type="operand">idx</e>
        <e type="operand">c</e>
        <e type="function" preserve="true" args="2">augment</e>
        <e type="operand">3</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="5">line</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="39" left="234" top="1143" width="505" height="72" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>References: the C(x) formula is the one used to tabuulate 'C' in:1. Chemical Engineer's Handbook [Perry, Chilton, Kirkpatrik]2. TEMA [Tubular Exchanger Manufacturers Association] </p>
    </text>
  </region>
  <region id="40" left="234" top="1260" width="140" height="31" color="#000000" bgColor="#80ffff" fontSize="14">
    <text lang="eng">
      <p bold="true">Explain ...</p>
    </text>
  </region>
  <region id="41" left="18" top="1269" width="200" height="178" color="#000000" bgColor="#ffffff" fontSize="10" showInputData="False">
    <plot type="2d" render="lines" scale_x="10.1444147150152" scale_y="10.6155276490764" scale_z="107.688314890942" rotate_x="0" rotate_y="0" rotate_z="0" transpose_x="-2" transpose_y="0" transpose_z="0">
      <description active="true" position="Top" lang="eng">
        <p>Figure:: Partially filled</p>
      </description>
      <input>
        <e type="operand">x</e>
        <e type="function" args="1">y1</e>
        <e type="operand">x</e>
        <e type="function" args="1">y2</e>
        <e type="operand">pts</e>
        <e type="operand">λ</e>
        <e type="operand">cπ</e>
        <e type="operand">5</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="7">sys</e>
      </input>
    </plot>
  </region>
  <region id="42" left="234" top="1296" width="476" height="184" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>To compute the area of the segment, "solving" is not an option. The C(x) is pretty old, accurate to 5 decimals.It is a factor to 'π' in formulas involving the measure of 'h', for instance: the sole possible measurement inpartially filled pipe, horizontal tank, spherical tankas well as partially filled elliptical bassin ... In the "Figure", we have superposed this curve over thepartially filled circle. For experimental 'h', the areaof the segment will be: C(h)*π*(D^2)/4. Observe that in the figure, the graph of C(x) has been shifted left/down to ease the  pictorial understanding of the project. </p>
    </text>
  </region>
  <region id="43" left="18" top="1521" width="184" height="76" border="true" color="#000000" bgColor="#ffffff" fontSize="10">
    <math fractionType="fraction">
      <description active="true" position="Top" lang="eng">
        <p>Recast the C(x) function</p>
      </description>
      <input>
        <e type="operand">x</e>
        <e type="function" args="1">Cπ</e>
        <e type="operand">1</e>
        <e type="operator" args="1">-</e>
        <e type="operand">x</e>
        <e type="operator" args="2">≤</e>
        <e type="bracket">(</e>
        <e type="operand">x</e>
        <e type="operand">1</e>
        <e type="operator" args="2">≤</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">&amp;</e>
        <e type="operand">x</e>
        <e type="function" args="1">C</e>
        <e type="operand" style="string">invalid </e>
        <e type="function" preserve="true" args="3">if</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="44" left="18" top="1638" width="240" height="158" color="#000000" bgColor="#ffffff" fontSize="10" showInputData="False">
    <plot type="2d" render="lines" scale_x="11.79899477235" scale_y="18.8123750801092" scale_z="221.967115225695" rotate_x="0" rotate_y="0" rotate_z="0" transpose_x="-70" transpose_y="-48" transpose_z="0">
      <description active="true" position="Top" lang="eng">
        <p>C(x) graph and Cπ coefficient</p>
      </description>
      <input>
        <e type="operand">x</e>
        <e type="function" args="1">Cπ</e>
        <e type="operand">0</e>
        <e type="operand">h</e>
        <e type="operand">h</e>
        <e type="function" args="1">Cπ</e>
        <e type="operand" style="string">+</e>
        <e type="operand">20</e>
        <e type="operand" style="string">red</e>
        <e type="operand">1</e>
        <e type="operand">5</e>
        <e type="function" preserve="true" args="7">mat</e>
        <e type="operand">3</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="5">sys</e>
      </input>
    </plot>
  </region>
  <region id="45" left="576" top="1674" width="80" height="80" color="#000000" bgColor="#ffffff">
    <picture>
      <raw format="png" encoding="base64">iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAA+lJREFUeF7tnM1x8yAQhpUCvz5SREpIBV8DqcLn1OBjjrn5kpncFCMJGdDC/hKIjWc8E1k/LA/vvguS46f56zJP45Un4ACNd57BNOCUBTIAIRl0AHRNRudJVd/z9VW7Den104wagBIxDEBIdgxAA5DOP00UNE/OZde3xAzv2qRDODukGy9o9/pZIO3HA4RNC0KA12MHoBIwDwuD2mi/zoO2zmk9aLewRhBKvikHZDjyS4oZXk9SKHLn6AAZjXjkQZ2BkgEy7sTBpI2vr1GUHJCRelzwYBXrZAHbLyA3AB1A6h9QY0h8QBX8oThR/JOADP0n60FhGw0h9a+gxl7EB1QhYDTFKIvfSpPN/gBBMDiDkjtfaAtdAApuJ+VLu7Q4KJXVDlAQOPl2h8ashaDkgKTBAoH+CiCfYkwlygBxPCEt1wBYFiDpwBDigNZsvwMIGTUyIOnAQAZNVJIOEGU0CYE0AeRhI32QA6KMJgEOaSZdc1ZdHRDUAADG3zOU3Jt5fZ3mz8/bZOB8nubnZ93zrj0OLP2TLzPwn82nDRBVQwX18rKCcVDcOf/n87LtgFGvgR5XUJEuxcLSieR0qKDgDvSmjH978f/+nmb3fntbATgw7ngHaukoxfcYs2bsgYMNIILhQYBOpzVV/L739xWE275cViAOltuOUoIBoPjE4jCFPz4ZRgG5CkN5+bbSY32AECBo32raNyjx30u9i/Z7k6fEeDgGAHQ4Ru1BoewL/iMFBClIY/jRI28LBZEMLvSFDCQpIO9BrpJ5D7ICtKgP+eIFmmJFQDnFIGU+7WBpO61ip/l0SDF0EEueVbXMYxUlaFyqINf5dB708XGrcio4hKooVxB1vrMdF1YmVaewQeFUOEIfdICowSylISnX1HPT46wAEeAsHiWuYoxAo9IMnLfgowAjdgq9FuM6MkDEBqIS4Sd74Uxmg8ICRAGpMOUUrhyQVaDbzAwddYKhkiouVa1+8EQpxmwE7Xyoqty1iao9tAUoFo0nGPx2CgqDCKGksPw+6qDkzhcqvj9AUNWCOl36TAgDUhYfkFTqhaBRk6aqxxDMvpBme1CFYO8PkDGkIiDjtjgGLZ8oGgedBVQhne8PUAVf4UDim7R2wgZ0GFSQsUo5UKKbamyTJtx/5gZzANRBasmrmFeA4QhHgDqCIzdpYxUtgDoDo1dQAAm7r4umXKdwdAryq13CkwHSKrtxtcrFKKti4UJTAihJKXQm3RBeHUCUxWVuNd8Qhs1iFZrHjH/qNfwmBXWi2ImS1CmGVihCR+/agwYgggK0kIaCEMh/GlBqUo++PX6BivsLVI+uGLTMD0CX6AsMP06T0z731+rUAAAAAElFTkSuQmCC</raw>
    </picture>
  </region>
  <region id="46" left="351" top="1683" width="140" height="102" border="true" color="#000000" bgColor="#ffffff" fontSize="10">
    <math fractionType="fraction">
      <input>
        <e type="operand" style="string">Figure</e>
        <e type="operand">x</e>
        <e type="function" args="1">y1</e>
        <e type="operand">x</e>
        <e type="function" args="1">y2</e>
        <e type="operand">pts</e>
        <e type="operand">λ</e>
        <e type="operand">cπ</e>
        <e type="operand">5</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="7">sys</e>
        <e type="operator" args="2">≡</e>
      </input>
    </math>
  </region>
  <region id="47" left="198" top="1737" width="134" height="46" color="#000000" bgColor="#ffff80" fontSize="10">
    <math decimalPlaces="3">
      <input>
        <e type="operand">h</e>
        <e type="operand">h</e>
        <e type="function" args="1">Cπ</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="4">mat</e>
      </input>
      <result action="numeric">
        <e type="operand">0.25</e>
        <e type="operand">0.196</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="4">mat</e>
      </result>
    </math>
  </region>
  <region id="48" left="531" top="1755" width="176" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>jmGiraud: 2015_12_29</p>
    </text>
  </region>
</regions>