﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="0.97.5737.24521"?>
<regions>
  <settings>
    <identity>
      <id>f5a43e4b-c7a4-4e95-a8e8-2977729f53ec</id>
      <revision>241</revision>
    </identity>
    <calculation>
      <precision>5</precision>
      <exponentialThreshold>7</exponentialThreshold>
      <fractions>decimal</fractions>
    </calculation>
    <pageModel active="true" printAreas="true" simpleEqualsOnly="false" printBackgroundImages="true">
      <paper id="9" orientation="Portrait" width="827" height="1169" />
      <margins left="62" right="30" top="39" bottom="55" />
      <header alignment="Center" color="#a9a9a9" />
      <footer alignment="Center" color="#a9a9a9">Wilson Ex 6.11-R1 -  &amp;[PAGENUM] / &amp;[COUNT]</footer>
      <backgrounds />
    </pageModel>
    <dependencies>
      <assembly name="SMath Studio Desktop" version="0.97.5737.24521" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="Writer Region" version="0.3.5764.5150" guid="5922d677-323f-4327-8c68-be902d8339ad" />
      <assembly name="Math Region" version="0.97.5737.24521" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="Text Region" version="1.10.5737.24526" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
      <assembly name="Special Functions" version="1.11.5737.24524" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
      <assembly name="Custom Functions" version="1.0.5743.2967" guid="18dadffd-79a3-4cf9-aee1-d66deb0ea720" />
      <assembly name="Statistical Tools" version="1.0.5769.8307" guid="76f6e9f5-ac86-4ffb-9e4d-284c8daecaf9" />
      <assembly name="X-Y Plot Region (Chart2DLib)" version="0.1.5757.40556" guid="c12231ec-4873-43c1-a7d0-a167ebd17066" />
      <assembly name="Picture Region" version="1.10.5737.24525" guid="06b5df04-393e-4be7-9107-305196fcb861" />
    </dependencies>
  </settings>
  <region id="0" left="18" top="18" width="705" height="154" border="true" color="#000000" bgColor="#ffffff">
    <writer lang="eng" wrap="Custom" width="691"><![CDATA[<span style="font-family: 'Arial Unicode MS'; font-size: 10pt; font-weight: normal; font-style: normal; text-decoration: none; color: Black; background-color: Transparent; text-align: left; line-height: 0pt">
<div style="text-align: justify">Example 6.11 - E.M. Wilson - Engineering Hydrology - Fourth Edition - Solutions to Problems</div>
<div style="text-align: justify">&nbsp;</div>
<div style="text-align: justify">(a). Draw a flow duration curve from the tabulated data below - the mean monthly discharge (cumec) of a source of water. If a hydro-power plant is to be developed at the site to which the data refers and where the head available is 15 m, what would be a reasonable first estimate of the plant capacity and annual energy production on the basis of the data?  Justify your choice.</div>
<div style="text-align: justify">&nbsp;</div>
<div style="text-align: justify">(b). What is the mean monthly flow with a return period of once in 10 years? </div></span>]]></writer>
  </region>
  <region id="1" left="27" top="189" width="111" height="28" color="#000000" bgColor="#ffffff">
    <writer lang="eng"><![CDATA[<span style="font-family: 'Tw Cen MT Condensed Extra Bold'; font-size: 10pt; font-weight: normal; font-style: normal; color: Black; background-color: Yellow; text-align: left; line-height: 115%">
<div><span style="font-family: 'Arial Unicode MS'"><strong><span style="background-color: Transparent">1. Basic Data</span></strong></span></div></span>]]></writer>
  </region>
  <region id="2" left="585" top="207" width="73" height="41" border="true" color="#000000" bgColor="#ebebeb" fontSize="10">
    <math decimalPlaces="4">
      <description active="true" position="Top" lang="eng">
        <p>percent (#1)</p>
      </description>
      <input>
        <e type="operand" preserve="false" style="unit">％</e>
        <e type="operand">1</e>
        <e type="operand">100</e>
        <e type="operator" args="2">/</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="3" left="180" top="225" width="94" height="50" border="true" color="#000000" bgColor="#ebebeb" fontSize="10">
    <math decimalPlaces="6">
      <input>
        <e type="operand">cumec</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>
      </input>
    </math>
  </region>
  <region id="4" left="297" top="225" width="106" height="33" border="true" color="#000000" bgColor="#ebebeb" fontSize="10">
    <math decimalPlaces="6">
      <input>
        <e type="operand">MCM</e>
        <e type="operand">10</e>
        <e type="operand">6</e>
        <e type="operator" args="2">^</e>
        <e type="operand" style="unit">m</e>
        <e type="operand">3</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="5" left="441" top="225" width="100" height="24" border="true" color="#000000" bgColor="#ebebeb" fontSize="10">
    <math decimalPlaces="6">
      <input>
        <e type="operand">GWHr</e>
        <e type="operand" style="unit">GW</e>
        <e type="operand" style="unit">hr</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="6" left="27" top="234" width="143" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>Units definition</p>
    </text>
  </region>
  <region id="7" left="27" top="297" width="60" height="32" border="true" color="#000000" bgColor="#ffff00" fontSize="10">
    <math optimize="2" decimalPlaces="6">
      <description active="true" position="Left" lang="eng">
        <p>Assume 30% probability for  average flow</p>
      </description>
      <input>
        <e type="operand">P.s</e>
        <e type="operand">30</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="8" left="297" top="297" width="65" height="24" border="true" color="#000000" bgColor="#ffff00" fontSize="10">
    <math decimalPlaces="6">
      <description active="true" position="Top" lang="eng">
        <p>Head available</p>
      </description>
      <input>
        <e type="operand">h</e>
        <e type="operand">15</e>
        <e type="operand" style="unit">m</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="9" left="441" top="297" width="72" height="24" border="true" color="#000000" bgColor="#ffff00" fontSize="10">
    <math decimalPlaces="6">
      <description active="true" position="Top" lang="eng">
        <p>Assumed Plant efficiency </p>
      </description>
      <input>
        <e type="operand">η</e>
        <e type="operand">70</e>
        <e type="operand" preserve="false" style="unit">％</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="10" left="585" top="297" width="107" height="50" border="true" color="#000000" bgColor="#ffff00" fontSize="10">
    <math decimalPlaces="6">
      <description active="true" position="Top" lang="eng">
        <p>Density of water</p>
      </description>
      <input>
        <e type="operand">σ.w</e>
        <e type="operand">1000</e>
        <e type="operand" style="unit">kg</e>
        <e type="operand" style="unit">m</e>
        <e type="operand">3</e>
        <e type="operator" args="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="11" left="27" top="360" width="68" height="24" border="true" color="#000000" bgColor="#ffff00" fontSize="10">
    <math decimalPlaces="6">
      <description active="true" position="Left" lang="eng">
        <p>Return period =10 years (120 months) for part (b)</p>
      </description>
      <input>
        <e type="operand">T1</e>
        <e type="operand">120</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="12" left="27" top="423" width="105" height="28" color="#000000" bgColor="#ffffff">
    <writer lang="eng"><![CDATA[<span style="font-family: 'Tw Cen MT Condensed Extra Bold'; font-size: 10pt; font-weight: normal; font-style: normal; color: Black; background-color: Yellow; text-align: left; line-height: 115%">
<div><span style="font-family: 'Arial Unicode MS'"><strong><span style="background-color: Transparent">2. Flow Data</span></strong></span></div></span>]]></writer>
  </region>
  <region id="13" left="27" top="468" width="383" height="242" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">data</e>
        <e type="operand" style="string">FLOW DATA</e>
        <e type="operand" style="string">Year 1</e>
        <e type="operand" style="string">Year 2</e>
        <e type="operand" style="string">Year 3</e>
        <e type="operand" style="string">January</e>
        <e type="operand">110</e>
        <e type="operand">180</e>
        <e type="operand">193</e>
        <e type="operand" style="string">February</e>
        <e type="operand">102</e>
        <e type="operand">118</e>
        <e type="operand">109</e>
        <e type="operand" style="string">March</e>
        <e type="operand">97</e>
        <e type="operand">88</e>
        <e type="operand">99</e>
        <e type="operand" style="string">April</e>
        <e type="operand">84</e>
        <e type="operand">79</e>
        <e type="operand">91</e>
        <e type="operand" style="string">May</e>
        <e type="operand">70</e>
        <e type="operand">56</e>
        <e type="operand">82</e>
        <e type="operand" style="string">June</e>
        <e type="operand">62</e>
        <e type="operand">52</e>
        <e type="operand">74</e>
        <e type="operand" style="string">July</e>
        <e type="operand">45</e>
        <e type="operand">47</e>
        <e type="operand">68</e>
        <e type="operand" style="string">August</e>
        <e type="operand">67</e>
        <e type="operand">35</e>
        <e type="operand">43</e>
        <e type="operand" style="string">September</e>
        <e type="operand">82</e>
        <e type="operand">60</e>
        <e type="operand">30</e>
        <e type="operand" style="string">October</e>
        <e type="operand">134</e>
        <e type="operand">75</e>
        <e type="operand">48</e>
        <e type="operand" style="string">November</e>
        <e type="operand">205</e>
        <e type="operand">98</e>
        <e type="operand">49</e>
        <e type="operand" style="string">December</e>
        <e type="operand">142</e>
        <e type="operand">127</e>
        <e type="operand">63</e>
        <e type="operand">13</e>
        <e type="operand">4</e>
        <e type="function" preserve="true" args="54">mat</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="14" left="27" top="747" width="479" height="28" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2" decimalPlaces="6">
      <description active="true" position="Top" lang="eng">
        <p>extract numeric data columns from  above table &amp; insert units</p>
      </description>
      <input>
        <e type="operand">inflow</e>
        <e type="operand">data</e>
        <e type="operand">2</e>
        <e type="operand">data</e>
        <e type="function" preserve="true" args="1">rows</e>
        <e type="operand">2</e>
        <e type="operand">data</e>
        <e type="function" preserve="true" args="1">cols</e>
        <e type="function" preserve="true" args="5">submatrix</e>
        <e type="operand">cumec</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="15" left="27" top="819" width="224" height="28" border="true" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2" decimalPlaces="6">
      <description active="true" position="Left" lang="eng">
        <p>Stack into one colums;this is required for probability plotting</p>
      </description>
      <input>
        <e type="operand">I</e>
        <e type="operand">inflow</e>
        <e type="function" preserve="true" args="1">mat2sys</e>
        <e type="function" preserve="true" args="1">sys2mat</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="16" left="540" top="828" width="164" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math decimalPlaces="2">
      <input>
        <e type="operand">I</e>
        <e type="function" preserve="true" args="1">Mean</e>
      </input>
      <contract>
        <e type="operand">cumec</e>
      </contract>
      <result action="numeric">
        <e type="operand">87.89</e>
      </result>
    </math>
  </region>
  <region id="17" left="27" top="891" width="166" height="28" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2" decimalPlaces="6">
      <description active="true" position="Left" lang="eng">
        <p>Arrange data in ascending order</p>
      </description>
      <input>
        <e type="operand">II</e>
        <e type="operand">I</e>
        <e type="function" preserve="true" args="1">sort</e>
        <e type="function" preserve="true" args="1">reverse</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="18" left="540" top="891" width="172" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math decimalPlaces="2">
      <input>
        <e type="operand">II</e>
        <e type="function" preserve="true" args="1">Mean</e>
      </input>
      <contract>
        <e type="operand">cumec</e>
      </contract>
      <result action="numeric">
        <e type="operand">87.89</e>
      </result>
    </math>
  </region>
  <region id="19" left="540" top="945" width="139" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">II</e>
        <e type="function" preserve="true" args="1">Min</e>
      </input>
      <contract>
        <e type="operand">cumec</e>
      </contract>
      <result action="numeric">
        <e type="operand">30</e>
      </result>
    </math>
  </region>
  <region id="20" left="27" top="954" width="183" height="63" border="true" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2" decimalPlaces="6">
      <description active="true" position="Left" lang="eng">
        <p>Create probability vector</p>
      </description>
      <input>
        <e type="operand">j</e>
        <e type="operand">1</e>
        <e type="operand">II</e>
        <e type="function" preserve="true" args="1">length</e>
        <e type="function" preserve="true" args="2">range</e>
        <e type="operand">Pr</e>
        <e type="operand">j</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operand">100</e>
        <e type="operand">j</e>
        <e type="operator" args="2">*</e>
        <e type="operand">II</e>
        <e type="function" preserve="true" args="1">rows</e>
        <e type="operator" args="2">/</e>
        <e type="function" preserve="true" args="1">eval</e>
        <e type="operator" args="2">:</e>
        <e type="function" preserve="true" args="3">for</e>
      </input>
    </math>
  </region>
  <region id="21" left="792" top="963" width="129" height="656" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">Pr</e>
      </input>
      <result action="numeric">
        <e type="operand">2.77778</e>
        <e type="operand">5.55556</e>
        <e type="operand">8.33333</e>
        <e type="operand">11.11111</e>
        <e type="operand">13.88889</e>
        <e type="operand">16.66667</e>
        <e type="operand">19.44444</e>
        <e type="operand">22.22222</e>
        <e type="operand">25</e>
        <e type="operand">27.77778</e>
        <e type="operand">30.55556</e>
        <e type="operand">33.33333</e>
        <e type="operand">36.11111</e>
        <e type="operand">38.88889</e>
        <e type="operand">41.66667</e>
        <e type="operand">44.44444</e>
        <e type="operand">47.22222</e>
        <e type="operand">50</e>
        <e type="operand">52.77778</e>
        <e type="operand">55.55556</e>
        <e type="operand">58.33333</e>
        <e type="operand">61.11111</e>
        <e type="operand">63.88889</e>
        <e type="operand">66.66667</e>
        <e type="operand">69.44444</e>
        <e type="operand">72.22222</e>
        <e type="operand">75</e>
        <e type="operand">77.77778</e>
        <e type="operand">80.55556</e>
        <e type="operand">83.33333</e>
        <e type="operand">86.11111</e>
        <e type="operand">88.88889</e>
        <e type="operand">91.66667</e>
        <e type="operand">94.44444</e>
        <e type="operand">97.22222</e>
        <e type="operand">100</e>
        <e type="operand">36</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="38">mat</e>
      </result>
    </math>
  </region>
  <region id="22" left="27" top="1080" width="374" height="28" color="#000000" bgColor="#ffffff">
    <writer lang="eng"><![CDATA[<span style="font-family: 'Tw Cen MT Condensed Extra Bold'; font-size: 10pt; font-weight: normal; font-style: normal; text-decoration: none; color: Black; background-color: Yellow; text-align: left; line-height: 115%">
<div><span style="font-family: 'Arial Unicode MS'"><strong><span style="background-color: Transparent">3. Fitting function and Flow Duration Curve (FDC)</span></strong></span></div></span>]]></writer>
  </region>
  <region id="23" left="27" top="1125" width="262" height="26" border="true" color="#000000" bgColor="#e1e1e1" fontSize="10">
    <math optimize="2" decimalPlaces="6">
      <description active="true" position="Top" lang="eng">
        <p>Fitting function for data</p>
      </description>
      <input>
        <e type="operand">x</e>
        <e type="function" args="1">Fit</e>
        <e type="operand">Pr</e>
        <e type="operand">II</e>
        <e type="operand">x</e>
        <e type="function" preserve="true" args="3">ainterp</e>
        <e type="operand">cumec</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="24" left="342" top="1125" width="148" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math decimalPlaces="6">
      <description active="true" position="Top" lang="eng">
        <p>Example</p>
      </description>
      <input>
        <e type="operand">25</e>
        <e type="function" args="1">Fit</e>
      </input>
      <contract>
        <e type="operand">cumec</e>
      </contract>
      <result action="numeric">
        <e type="operand">109</e>
      </result>
    </math>
  </region>
  <region id="25" left="27" top="1206" width="197" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
    <math decimalPlaces="2">
      <description active="true" position="Top" lang="eng">
        <p>Mean Flow (at 30% probability)</p>
      </description>
      <input>
        <e type="operand">Q.s</e>
        <e type="operand">P.s</e>
        <e type="function" args="1">Fit</e>
        <e type="operator" args="2">:</e>
      </input>
      <contract>
        <e type="operand">cumec</e>
      </contract>
      <result action="numeric">
        <e type="operand">99.31</e>
      </result>
    </math>
  </region>
  <region id="26" left="342" top="1224" width="136" height="32" color="#000000" bgColor="#ffffff" fontSize="10">
    <math decimalPlaces="4">
      <input>
        <e type="operand">Q.s</e>
      </input>
      <contract>
        <e type="operand">cumec</e>
      </contract>
      <result action="numeric">
        <e type="operand">99.312</e>
      </result>
    </math>
  </region>
  <region id="27" left="513" top="1224" width="187" height="33" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">Q.min</e>
        <e type="operand">II</e>
        <e type="function" preserve="true" args="1">Min</e>
        <e type="operator" args="2">:</e>
      </input>
      <contract>
        <e type="operand">cumec</e>
      </contract>
      <result action="numeric">
        <e type="operand">30</e>
      </result>
    </math>
  </region>
  <region id="28" left="27" top="1296" width="140" height="60" color="#000000" bgColor="#ffffff" fontSize="10">
    <math decimalPlaces="6">
      <description active="true" position="Top" lang="eng">
        <p>Function to plot</p>
      </description>
      <input>
        <e type="operand">PP30</e>
        <e type="operand">P.s</e>
        <e type="operand">0</e>
        <e type="operand">P.s</e>
        <e type="operand">I</e>
        <e type="function" preserve="true" args="1">max</e>
        <e type="operand">2</e>
        <e type="operand">2</e>
        <e type="function" preserve="true" args="6">mat</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="29" left="369" top="1296" width="148" height="60" color="#000000" bgColor="#ffffff" fontSize="10">
    <math decimalPlaces="6">
      <description active="true" position="Top" lang="eng">
        <p>Function to plot</p>
      </description>
      <input>
        <e type="operand">QQ30</e>
        <e type="operand">0</e>
        <e type="operand">Q.s</e>
        <e type="operand">Pr</e>
        <e type="function" preserve="true" args="1">max</e>
        <e type="operand">Q.s</e>
        <e type="operand">2</e>
        <e type="operand">2</e>
        <e type="function" preserve="true" args="6">mat</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="30" left="531" top="1296" width="192" height="96" color="#000000" bgColor="#ffffff" fontSize="10">
    <math decimalPlaces="4">
      <input>
        <e type="operand">QQ30</e>
      </input>
      <result action="numeric">
        <e type="operand">0</e>
        <e type="operand">99.312</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="operand">100</e>
        <e type="operand">99.312</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="operand">2</e>
        <e type="operand">2</e>
        <e type="function" preserve="true" args="6">mat</e>
      </result>
    </math>
  </region>
  <region id="31" left="180" top="1314" width="159" height="70" color="#000000" bgColor="#ffffff" fontSize="10">
    <math decimalPlaces="4">
      <input>
        <e type="operand">PP30</e>
      </input>
      <result action="numeric">
        <e type="operand">30</e>
        <e type="operand">0</e>
        <e type="operand">30</e>
        <e type="operand">205</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="operand">2</e>
        <e type="operand">2</e>
        <e type="function" preserve="true" args="6">mat</e>
      </result>
    </math>
  </region>
  <region id="32" left="27" top="1431" width="286" height="96" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">QQ.min</e>
        <e type="operand">0</e>
        <e type="operand">Q.min</e>
        <e type="operand">Pr</e>
        <e type="function" preserve="true" args="1">max</e>
        <e type="operand">Q.min</e>
        <e type="operand">2</e>
        <e type="operand">2</e>
        <e type="function" preserve="true" args="6">mat</e>
        <e type="operator" args="2">:</e>
      </input>
      <result action="numeric">
        <e type="operand">0</e>
        <e type="operand">30</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="operand">100</e>
        <e type="operand">30</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="operand">2</e>
        <e type="operand">2</e>
        <e type="function" preserve="true" args="6">mat</e>
      </result>
    </math>
  </region>
  <region id="33" left="27" top="1557" width="489" height="272" border="true" color="#000000" bgColor="#e2e2e2" fontSize="10">
    <math optimize="2" decimalPlaces="4">
      <description active="true" position="Top" lang="ger">
        <p>Erzeugt eine Matrix für die Darstellung vertikaler Linien zwischen den Funktionen f(x) und g(x) im Bereich von x1 bis x2 mit 2*n Linien.</p>
      </description>
      <description active="true" position="Top" lang="eng">
        <p>Generates a matrix for 2*n vertical lines (hatching) between functions f(x) and g(x) in x-range from x1 to x2 DEVELOPED BY "MRASKA" FOR SMATH FORUM</p>
      </description>
      <input>
        <e type="operand">1</e>
        <e type="function" args="1">f</e>
        <e type="operand">1</e>
        <e type="function" args="1">g</e>
        <e type="operand">x.1</e>
        <e type="operand">x.2</e>
        <e type="operand">n</e>
        <e type="function" args="5">hatch</e>
        <e type="operand">dx</e>
        <e type="operand">x.2</e>
        <e type="operand">x.1</e>
        <e type="operator" args="2">-</e>
        <e type="operand">n</e>
        <e type="operator" args="2">/</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">:</e>
        <e type="operand">h</e>
        <e type="operand">x.1</e>
        <e type="operand">x.1</e>
        <e type="function" args="1">f</e>
        <e type="operand">x.1</e>
        <e type="operand">x.1</e>
        <e type="function" args="1">g</e>
        <e type="operand">2</e>
        <e type="operand">2</e>
        <e type="function" preserve="true" args="6">mat</e>
        <e type="operator" args="2">:</e>
        <e type="operand">x</e>
        <e type="operand">x.1</e>
        <e type="operand">x.2</e>
        <e type="operand">dx</e>
        <e type="operator" args="2">-</e>
        <e type="operand">x.1</e>
        <e type="operand">dx</e>
        <e type="operator" args="2">+</e>
        <e type="function" preserve="true" args="3">range</e>
        <e type="operand">h</e>
        <e type="operand">h</e>
        <e type="operand">x</e>
        <e type="operand">dx</e>
        <e type="operand">2</e>
        <e type="operator" args="2">/</e>
        <e type="operator" args="2">+</e>
        <e type="operand">x</e>
        <e type="operand">dx</e>
        <e type="operand">2</e>
        <e type="operator" args="2">/</e>
        <e type="operator" args="2">+</e>
        <e type="function" args="1">g</e>
        <e type="operand">x</e>
        <e type="operand">dx</e>
        <e type="operand">2</e>
        <e type="operator" args="2">/</e>
        <e type="operator" args="2">+</e>
        <e type="operand">x</e>
        <e type="operand">dx</e>
        <e type="operand">2</e>
        <e type="operator" args="2">/</e>
        <e type="operator" args="2">+</e>
        <e type="function" args="1">f</e>
        <e type="operand">x</e>
        <e type="operand">dx</e>
        <e type="operator" args="2">+</e>
        <e type="operand">x</e>
        <e type="operand">dx</e>
        <e type="operator" args="2">+</e>
        <e type="function" args="1">f</e>
        <e type="operand">x</e>
        <e type="operand">dx</e>
        <e type="operator" args="2">+</e>
        <e type="operand">x</e>
        <e type="operand">dx</e>
        <e type="operator" args="2">+</e>
        <e type="function" args="1">g</e>
        <e type="operand">4</e>
        <e type="operand">2</e>
        <e type="function" preserve="true" args="10">mat</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">h</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="34" left="27" top="1926" width="88" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2" decimalPlaces="6">
      <description active="true" position="Top" lang="eng">
        <p>Define</p>
      </description>
      <input>
        <e type="operand">x</e>
        <e type="function" args="1">Fit2</e>
        <e type="operand">0</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="35" left="180" top="1926" width="97" height="33" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2" decimalPlaces="6">
      <description active="true" position="Top" lang="eng">
        <p>Define</p>
      </description>
      <input>
        <e type="operand">x</e>
        <e type="function" args="1">Fit4</e>
        <e type="operand">Q.s</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="36" left="342" top="1926" width="88" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2" decimalPlaces="6">
      <description active="true" position="Top" lang="eng">
        <p>Define</p>
      </description>
      <input>
        <e type="operand">x</e>
        <e type="function" args="1">Fit6</e>
        <e type="operand">0</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="37" left="27" top="2025" width="402" height="37" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2" decimalPlaces="4">
      <input>
        <e type="operand">MyHatch1</e>
        <e type="operand">x</e>
        <e type="function" args="1">Fit4</e>
        <e type="operand">x</e>
        <e type="function" args="1">Fit6</e>
        <e type="operand">0</e>
        <e type="operand">P.s</e>
        <e type="operand">15</e>
        <e type="function" args="5">hatch</e>
        <e type="function" preserve="true" args="1">eval</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="38" left="27" top="2088" width="411" height="37" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2" decimalPlaces="4">
      <input>
        <e type="operand">MyHatch2</e>
        <e type="operand">x</e>
        <e type="function" args="1">Fit2</e>
        <e type="operand">x</e>
        <e type="function" args="1">Fit</e>
        <e type="operand">P.s</e>
        <e type="operand">100</e>
        <e type="operand">30</e>
        <e type="function" args="5">hatch</e>
        <e type="function" preserve="true" args="1">eval</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="39" left="36" top="2169" width="571" height="435" border="true" color="#000000" bgColor="#ffffff" fontSize="10">
    <xyplot width="561" height="427" smoothing="true" points="100">
      <propertiessource index="1" sourcetype="Sheet" />
      <grid gridcolor="LightGray" gridpattern="Solid" gridthickness="1" isxgrid="true" isygrid="true" />
      <xaxes xmin="0" xmax="100" xtick="10" numberformat="General" decimalplaces="3" />
      <yaxes ymin="0" ymax="240" ytick="20" numberformat="General" decimalplaces="3" />
      <y2axes isy2axis="false" y2min="-1" y2max="1" y2tick="0.5" numberformat="General" decimalplaces="3" />
      <title2d title="Flow Duration Curve (FDC)" titlefont="Calibri, 14.25pt, style=Bold" titlefontcolor="Black" />
      <xylabel labelfont="Arial, 10pt" labelfontcolor="Black" tickfont="Courier New, 10pt" tickfontcolor="Black" xlabel="% probability equalled or exceeded" ylabel="Flow (cumec)" 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" linecolor="Blue" linethickness="2" linepattern="Solid" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
        <trace seriesname="" isy2data="false" isvisible="true" plotmethod="Lines" linecolor="Red" linethickness="2" linepattern="Dash" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
        <trace seriesname="" isy2data="false" isvisible="true" plotmethod="Lines" linecolor="Green" linethickness="2" linepattern="Dash" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
        <trace seriesname="" isy2data="false" isvisible="true" plotmethod="Lines" linecolor="Fuchsia" linethickness="1" linepattern="Solid" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
        <trace seriesname="" isy2data="false" isvisible="true" plotmethod="Lines" linecolor="Black" linethickness="2" linepattern="Dash" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
        <trace seriesname="" isy2data="false" isvisible="true" plotmethod="Lines" linecolor="SaddleBrown" linethickness="2" linepattern="Dash" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
      </traces>
      <input>
        <e type="operand">x</e>
        <e type="function" args="1">Fit</e>
        <e type="operand">QQ30</e>
        <e type="operand">MyHatch1</e>
        <e type="operand">MyHatch2</e>
        <e type="operand">PP30</e>
        <e type="operand">QQ.min</e>
        <e type="operand">6</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="8">sys</e>
      </input>
    </xyplot>
  </region>
  <region id="40" left="243" top="2241" width="70" height="32" color="#000000" bgColor="#ffffff" fontSize="10">
    <math decimalPlaces="4">
      <input>
        <e type="operand">P.s</e>
      </input>
      <result action="numeric">
        <e type="operand">30</e>
      </result>
    </math>
  </region>
  <region id="41" left="441" top="2385" width="128" height="32" color="#000000" bgColor="#ffffff" fontSize="10">
    <math decimalPlaces="2">
      <input>
        <e type="operand">Q.s</e>
      </input>
      <contract>
        <e type="operand">cumec</e>
      </contract>
      <result action="numeric">
        <e type="operand">99.31</e>
      </result>
    </math>
  </region>
  <region id="42" left="189" top="2466" width="49" height="42" color="#000000" bgColor="#ffffff">
    <picture>
      <raw format="png" encoding="base64">iVBORw0KGgoAAAANSUhEUgAAACkAAAAiCAYAAADCp/A1AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADwSURBVFhH7ZXRCcQgDEAdwVH6nYGcx2lcxmFyVmPxirEcDbnekQcBW7V5GLVu2zZ0zj02yM/hkyFZk7yNSUphklKYpBT/L5lCnYwuJHrDkTFCG3s5dMINyYShzAOA8oFQnhhS6Elq6ErW5EUuRwQuOfVBzIesoiSVr2Yc2wvUJU+rl+NecsB9wVi0JZvUsA/HsnLoSlJ5IZZWpx2i93cnVCWZVWvX0aLkmpKt1HXSNNiS60nOSt1Z9RXUJC8S9VWe9mtJtn23+LvQfj3uzP48i9UhO0FzPjg4X8AkpTBJKUxSCpOU4nckvffd9pHhvccX1CUx0frVVi4AAAAASUVORK5CYII=</raw>
    </picture>
  </region>
  <region id="43" left="279" top="2475" width="119" height="32" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <description active="false" position="Top" lang="eng">
        <p />
      </description>
      <input>
        <e type="operand">Q.min</e>
      </input>
      <contract>
        <e type="operand">cumec</e>
      </contract>
      <result action="numeric">
        <e type="operand">30</e>
      </result>
    </math>
  </region>
  <region id="44" left="414" top="2475" width="49" height="42" color="#000000" bgColor="#ffffff">
    <picture>
      <raw format="png" encoding="base64">iVBORw0KGgoAAAANSUhEUgAAACkAAAAiCAYAAADCp/A1AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAEYSURBVFhH7ZTbDcMgDAAZgVHyzUDMwzQswzAuAVMlgAMmqE0rTrKUB4aLHRDbtoEQ4rGBfgKeDMouydssyVksyVksyVn8v6TVIRmEtvgkx4FROCYFOZYGc0ckLWifp5TyE2h/VxI+4ihl9ZDouGRY0Ms5A8rn964bq1//KIpBSWxjMDtet3GGrjzFmGRWvbiwAuPi/RUfq2RRDZRWLcvecRkDktheZfxVIm6i87OctNN5VdzhSxLViG2kW956fwVbMrY6JFWj1sqUwzx53uDcvZK1Vifq75Ig9z88wpPEw5iqSFExHH9HcGefw0efZPP4wP/1dH7GBcpg9B5zGBvnCyzJWSzJWSzJWSzJWfyOpJQy2T4ypJTwAnn+LQ+ZAlCsAAAAAElFTkSuQmCC</raw>
    </picture>
  </region>
  <region id="45" left="27" top="2763" width="644" height="32" color="#000000" bgColor="#ffffff">
    <writer lang="eng"><![CDATA[<span style="font-family: 'Tw Cen MT Condensed Extra Bold'; font-size: 10pt; font-weight: normal; font-style: normal; color: Black; background-color: Yellow; text-align: left; line-height: 115%">
<div><span style="font-family: 'Arial Unicode MS'"><strong><span style="background-color: Transparent">4(a). <span style="color: Red">Plant Capacity </span>and <span style="color: Red">Annual Energy</span> (assuming Turbine operates at rated flow Q<sub><span style="font-size: 12pt">s</span></sub> ) </span></strong></span></div></span>]]></writer>
  </region>
  <region id="46" left="522" top="2781" width="128" height="32" color="#000000" bgColor="#ffffff" fontSize="10">
    <math decimalPlaces="2">
      <input>
        <e type="operand">Q.s</e>
      </input>
      <contract>
        <e type="operand">cumec</e>
      </contract>
      <result action="numeric">
        <e type="operand">99.31</e>
      </result>
    </math>
  </region>
  <region id="47" left="27" top="2826" width="222" height="32" border="true" color="#000000" bgColor="#cdff9b" fontSize="10">
    <math decimalPlaces="2">
      <description active="true" position="Top" lang="eng">
        <p>Plant Capacity</p>
      </description>
      <input>
        <e type="operand">PW1</e>
        <e type="operand">Q.s</e>
        <e type="operand">h</e>
        <e type="operator" args="2">*</e>
        <e type="operand" style="unit">g.e</e>
        <e type="operator" args="2">*</e>
        <e type="operand">σ.w</e>
        <e type="operator" args="2">*</e>
        <e type="operand">η</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">:</e>
      </input>
      <contract>
        <e type="operand" style="unit">MW</e>
      </contract>
      <result action="numeric">
        <e type="operand">10.23</e>
      </result>
    </math>
  </region>
  <region id="48" left="27" top="2907" width="200" height="32" color="#000000" bgColor="#ffffff" fontSize="10">
    <math decimalPlaces="2">
      <description active="true" position="Left" lang="eng">
        <p>Area (A1) of Rectangle from 0 to Ps (30%)</p>
      </description>
      <input>
        <e type="operand">A1</e>
        <e type="operand">P.s</e>
        <e type="operand">Q.s</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">:</e>
      </input>
      <contract>
        <e type="operand">cumec</e>
      </contract>
      <result action="numeric">
        <e type="operand">2979.36</e>
      </result>
    </math>
  </region>
  <region id="49" left="27" top="2979" width="286" height="76" color="#000000" bgColor="#ffffff" fontSize="10">
    <math decimalPlaces="2">
      <description active="true" position="Left" lang="eng">
        <p>Area (A2) from 30% to the end</p>
      </description>
      <input>
        <e type="operand">A2</e>
        <e type="operand">x</e>
        <e type="function" args="1">Fit</e>
        <e type="operand">x</e>
        <e type="operand">P.s</e>
        <e type="operand">Pr</e>
        <e type="function" preserve="true" args="1">max</e>
        <e type="function" preserve="true" args="4">int</e>
        <e type="operator" args="2">:</e>
      </input>
      <contract>
        <e type="operand">cumec</e>
      </contract>
      <result action="numeric">
        <e type="operand">4720.93</e>
      </result>
    </math>
  </region>
  <region id="50" left="27" top="3060" width="204" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <math decimalPlaces="2">
      <description active="true" position="Top" lang="eng">
        <p>Total shaded area</p>
      </description>
      <input>
        <e type="operand">At</e>
        <e type="operand">A1</e>
        <e type="operand">A2</e>
        <e type="operator" args="2">+</e>
        <e type="operator" args="2">:</e>
      </input>
      <contract>
        <e type="operand">cumec</e>
      </contract>
      <result action="numeric">
        <e type="operand">7700.29</e>
      </result>
    </math>
  </region>
  <region id="51" left="27" top="3132" width="303" height="41" border="true" color="#000000" bgColor="#cdff9b" fontSize="10">
    <math decimalPlaces="2">
      <description active="true" position="Top" lang="eng">
        <p>Annual Energy is given by total shaded area</p>
      </description>
      <input>
        <e type="operand">E1</e>
        <e type="operand">At</e>
        <e type="operand">100</e>
        <e type="operator" args="2">/</e>
        <e type="operand">365</e>
        <e type="operator" args="2">*</e>
        <e type="operand" style="unit">day</e>
        <e type="operator" args="2">*</e>
        <e type="operand">h</e>
        <e type="operator" args="2">*</e>
        <e type="operand" style="unit">g.e</e>
        <e type="operator" args="2">*</e>
        <e type="operand">σ.w</e>
        <e type="operator" args="2">*</e>
        <e type="operand">η</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">:</e>
      </input>
      <contract>
        <e type="operand">GWHr</e>
      </contract>
      <result action="numeric">
        <e type="operand">69.46</e>
      </result>
    </math>
  </region>
  <region id="52" left="27" top="3240" width="420" height="28" color="#000000" bgColor="#ffffff">
    <writer lang="eng"><![CDATA[<span style="font-family: 'Tw Cen MT Condensed Extra Bold'; font-size: 10pt; font-weight: normal; font-style: normal; text-decoration: none; color: Black; background-color: Yellow; text-align: left; line-height: 115%">
<div><span style="font-family: 'Arial Unicode MS'"><strong><span style="background-color: Transparent">4(b). <span style="color: Red">Mean monthly flow </span>once in <span style="color: Red">10 years </span>(120 months)<span style="color: Red"> </span></span></strong></span></div></span>]]></writer>
  </region>
  <region id="53" left="27" top="3285" width="187" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math decimalPlaces="2">
      <description active="true" position="Left" lang="eng">
        <p>Mean value of series</p>
      </description>
      <input>
        <e type="operand">μ</e>
        <e type="operand">I</e>
        <e type="function" preserve="true" args="1">Mean</e>
        <e type="operator" args="2">:</e>
      </input>
      <contract>
        <e type="operand">cumec</e>
      </contract>
      <result action="numeric">
        <e type="operand">87.89</e>
      </result>
    </math>
  </region>
  <region id="54" left="351" top="3285" width="203" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math decimalPlaces="2">
      <description active="true" position="Left" lang="eng">
        <p>Std deviation of series</p>
      </description>
      <input>
        <e type="operand">σ</e>
        <e type="operand">I</e>
        <e type="function" preserve="true" args="1">StdDev</e>
        <e type="operator" args="2">:</e>
      </input>
      <contract>
        <e type="operand">cumec</e>
      </contract>
      <result action="numeric">
        <e type="operand">42.43</e>
      </result>
    </math>
  </region>
  <region id="55" left="27" top="3348" width="620" height="32" color="#000000" bgColor="#ffffff">
    <writer lang="eng"><![CDATA[<span style="font-family: 'Arial Unicode MS'; font-size: 10pt; font-weight: normal; font-style: normal; text-decoration: none; color: Black; background-color: Transparent; text-align: left; line-height: 115%">
<div><span style="background-color: #EAEAEA">Ref: Wilson - page-237, Gumbel equation:  Q<sub><span style="font-size: 12pt">t</span></sub> for an infinite sample is defined as follows:</span></div></span>]]></writer>
  </region>
  <region id="56" left="27" top="3402" width="127" height="26" color="#000000" bgColor="#e8e8e8" fontSize="10">
    <math decimalPlaces="6">
      <description active="true" position="Top" lang="eng">
        <p>Flow at 't' return period</p>
      </description>
      <input>
        <e type="operand">t</e>
        <e type="function" args="1">Q1</e>
        <e type="operand">μ</e>
        <e type="operand">t</e>
        <e type="function" args="1">K</e>
        <e type="operand">σ</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">+</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="57" left="495" top="3402" width="162" height="45" color="#000000" bgColor="#ffffff" fontSize="10">
    <math decimalPlaces="6">
      <description active="true" position="Top" lang="eng">
        <p>y for an infinite sample</p>
      </description>
      <input>
        <e type="operand">t</e>
        <e type="function" args="1">y</e>
        <e type="operand">1</e>
        <e type="operand">1</e>
        <e type="operand">t</e>
        <e type="operator" args="2">/</e>
        <e type="operator" args="2">-</e>
        <e type="function" preserve="true" args="1">ln</e>
        <e type="operator" args="1">-</e>
        <e type="function" preserve="true" args="1">ln</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="58" left="279" top="3420" width="169" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math decimalPlaces="6">
      <input>
        <e type="operand">t</e>
        <e type="function" args="1">K</e>
        <e type="operand">0.78</e>
        <e type="operand">t</e>
        <e type="function" args="1">y</e>
        <e type="operator" args="2">*</e>
        <e type="operand">0.45</e>
        <e type="operator" args="2">-</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="59" left="27" top="3474" width="408" height="28" color="#000000" bgColor="#ffffff">
    <writer lang="eng"><![CDATA[<span style="font-family: 'Arial Unicode MS'; font-size: 10pt; font-weight: normal; font-style: normal; text-decoration: none; color: Black; background-color: Transparent; text-align: left; line-height: 115%">
<div>In this case, the sample size=36 and assume it as infinite</div></span>]]></writer>
  </region>
  <region id="60" left="27" top="3528" width="78" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <math decimalPlaces="4">
      <description active="true" position="Right" lang="eng">
        <p>given: 10 yrs=120 months</p>
      </description>
      <input>
        <e type="operand">T1</e>
      </input>
      <result action="numeric">
        <e type="operand">120</e>
      </result>
    </math>
  </region>
  <region id="61" left="414" top="3528" width="130" height="41" color="#000000" bgColor="#ffffff" fontSize="10">
    <math decimalPlaces="2">
      <description active="true" position="Left" lang="eng">
        <p>Hence, probability</p>
      </description>
      <input>
        <e type="operand">P1</e>
        <e type="operand">100</e>
        <e type="operand">T1</e>
        <e type="operator" args="2">/</e>
        <e type="operator" args="2">:</e>
      </input>
      <result action="numeric">
        <e type="operand">0.83</e>
      </result>
    </math>
  </region>
  <region id="62" left="27" top="3582" width="106" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math decimalPlaces="2">
      <input>
        <e type="operand">T1</e>
        <e type="function" args="1">y</e>
      </input>
      <result action="numeric">
        <e type="operand">4.78</e>
      </result>
    </math>
  </region>
  <region id="63" left="414" top="3582" width="106" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math decimalPlaces="2">
      <input>
        <e type="operand">T1</e>
        <e type="function" args="1">K</e>
      </input>
      <result action="numeric">
        <e type="operand">3.28</e>
      </result>
    </math>
  </region>
  <region id="64" left="27" top="3627" width="163" height="26" border="true" color="#000000" bgColor="#cdff9b" fontSize="10">
    <math decimalPlaces="2">
      <description active="true" position="Top" lang="eng">
        <p>Mean monthly flow once in 10 years</p>
      </description>
      <input>
        <e type="operand">T1</e>
        <e type="function" args="1">Q1</e>
      </input>
      <contract>
        <e type="operand">cumec</e>
      </contract>
      <result action="numeric">
        <e type="operand">227.11</e>
      </result>
    </math>
  </region>
  <region id="65" left="414" top="3627" width="164" height="26" border="true" color="#000000" bgColor="#cdff9b" fontSize="10">
    <math decimalPlaces="2">
      <description active="true" position="Top" lang="eng">
        <p>Flow from Flow Duration Curve</p>
      </description>
      <input>
        <e type="operand">P1</e>
        <e type="function" args="1">Fit</e>
      </input>
      <contract>
        <e type="operand">cumec</e>
      </contract>
      <result action="numeric">
        <e type="operand">212.8</e>
      </result>
    </math>
  </region>
  <region id="66" left="27" top="3735" width="600" height="32" color="#000000" bgColor="#ffffff">
    <writer lang="eng"><![CDATA[<span style="font-family: 'Tw Cen MT Condensed Extra Bold'; font-size: 10pt; font-weight: normal; font-style: normal; text-decoration: none; color: Black; background-color: Yellow; text-align: left; line-height: 115%">
<div><span style="font-family: 'Arial Unicode MS'"><strong><span style="background-color: Transparent">5. Alternatively, assume Turbine operates from full rated flow (Q<sub><span style="font-size: 12pt">s</span></sub>) to 1/3rd of Q<sub><span style="font-size: 12pt">s</span></sub><span style="color: Red"> </span></span></strong></span></div></span>]]></writer>
  </region>
  <region id="67" left="27" top="3771" width="171" height="49" color="#000000" bgColor="#ffffff" fontSize="10">
    <math decimalPlaces="4">
      <description active="true" position="Left" lang="eng">
        <p>1/3rd Flow</p>
      </description>
      <input>
        <e type="operand">Q2</e>
        <e type="operand">Q.s</e>
        <e type="operand">3</e>
        <e type="operator" args="2">/</e>
        <e type="operator" args="2">:</e>
      </input>
      <contract>
        <e type="operand">cumec</e>
      </contract>
      <result action="numeric">
        <e type="operand">33.104</e>
      </result>
    </math>
  </region>
  <region id="68" left="432" top="3780" width="187" height="33" color="#000000" bgColor="#ffffff" fontSize="10">
    <math decimalPlaces="4">
      <description active="true" position="Left" lang="eng">
        <p>Minimum flow</p>
      </description>
      <input>
        <e type="operand">Q.low</e>
        <e type="operand">II</e>
        <e type="function" preserve="true" args="1">min</e>
        <e type="operator" args="2">:</e>
      </input>
      <contract>
        <e type="operand">cumec</e>
      </contract>
      <result action="numeric">
        <e type="operand">30</e>
      </result>
    </math>
  </region>
  <region id="69" left="27" top="3834" width="96" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2" decimalPlaces="4">
      <description active="true" position="Top" lang="eng">
        <p>Fitting function for Q2</p>
      </description>
      <input>
        <e type="operand">x</e>
        <e type="function" args="1">Fit3</e>
        <e type="operand">Q2</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="70" left="432" top="3834" width="180" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math decimalPlaces="4">
      <description active="true" position="Top" lang="eng">
        <p>Example</p>
      </description>
      <input>
        <e type="operand">20</e>
        <e type="function" args="1">Fit3</e>
      </input>
      <contract>
        <e type="operand">cumec</e>
      </contract>
      <result action="numeric">
        <e type="operand">33.104</e>
      </result>
    </math>
  </region>
  <region id="71" left="27" top="3897" width="362" height="30" color="#000000" bgColor="#ffffff" fontSize="10">
    <math decimalPlaces="2">
      <description active="true" position="Top" lang="eng">
        <p>To calculate probability of Q2 flow</p>
      </description>
      <input>
        <e type="operand">P2</e>
        <e type="operand">x</e>
        <e type="function" args="1">Fit</e>
        <e type="bracket">(</e>
        <e type="operand">x</e>
        <e type="function" args="1">Fit3</e>
        <e type="operator" args="2">-</e>
        <e type="operand">x</e>
        <e type="operand">0</e>
        <e type="operand">100</e>
        <e type="function" preserve="true" args="4">solve</e>
        <e type="operator" args="2">:</e>
      </input>
      <result action="numeric">
        <e type="operand">98.1</e>
      </result>
    </math>
  </region>
  <region id="72" left="432" top="3897" width="172" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math decimalPlaces="4">
      <description active="true" position="Top" lang="eng">
        <p>Example</p>
      </description>
      <input>
        <e type="operand">P2</e>
        <e type="function" args="1">Fit</e>
      </input>
      <contract>
        <e type="operand">cumec</e>
      </contract>
      <result action="numeric">
        <e type="operand">33.104</e>
      </result>
    </math>
  </region>
  <region id="73" left="27" top="3969" width="202" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2" decimalPlaces="4">
      <description active="true" position="Top" lang="eng">
        <p>Function for plotting</p>
      </description>
      <input>
        <e type="operand">Z4</e>
        <e type="operand">P.s</e>
        <e type="operand">P2</e>
        <e type="operand">n2</e>
        <e type="function" args="3">myHatch2</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="74" left="297" top="3978" width="110" height="44" color="#000000" bgColor="#ffffff" fontSize="10">
    <math decimalPlaces="4">
      <input>
        <e type="operand">QQ.s2</e>
        <e type="operand">0</e>
        <e type="operand">Q2</e>
        <e type="operand">P2</e>
        <e type="operand">Q2</e>
        <e type="operand">2</e>
        <e type="operand">2</e>
        <e type="function" preserve="true" args="6">mat</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="75" left="441" top="3978" width="139" height="46" color="#000000" bgColor="#ffffff" fontSize="10">
    <math decimalPlaces="4">
      <input>
        <e type="operand">PP2</e>
        <e type="operand">P2</e>
        <e type="operand">0</e>
        <e type="operand">P2</e>
        <e type="operand">II</e>
        <e type="function" preserve="true" args="1">max</e>
        <e type="operand">2</e>
        <e type="operand">2</e>
        <e type="function" preserve="true" args="6">mat</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="76" left="27" top="4041" width="259" height="74" color="#000000" bgColor="#ffffff" fontSize="10">
    <math decimalPlaces="2">
      <description active="true" position="Left" lang="eng">
        <p>Area (A22) from 30% to the 'tt'</p>
      </description>
      <input>
        <e type="operand">A22</e>
        <e type="operand">x</e>
        <e type="function" args="1">Fit</e>
        <e type="operand">x</e>
        <e type="operand">P.s</e>
        <e type="operand">P2</e>
        <e type="function" preserve="true" args="4">int</e>
        <e type="operator" args="2">:</e>
      </input>
      <contract>
        <e type="operand">cumec</e>
      </contract>
      <result action="numeric">
        <e type="operand">4661.07</e>
      </result>
    </math>
  </region>
  <region id="77" left="27" top="4131" width="340" height="43" border="true" color="#000000" bgColor="#cdff9b" fontSize="10">
    <math decimalPlaces="2">
      <description active="true" position="Top" lang="eng">
        <p>Annual Energy is given by shaded area</p>
      </description>
      <input>
        <e type="operand">E2</e>
        <e type="operand">A1</e>
        <e type="operand">A22</e>
        <e type="operator" args="2">+</e>
        <e type="bracket">(</e>
        <e type="operand">100</e>
        <e type="operator" args="2">/</e>
        <e type="operand">365</e>
        <e type="operator" args="2">*</e>
        <e type="operand" style="unit">day</e>
        <e type="operator" args="2">*</e>
        <e type="operand">h</e>
        <e type="operator" args="2">*</e>
        <e type="operand" style="unit">g.e</e>
        <e type="operator" args="2">*</e>
        <e type="operand">σ.w</e>
        <e type="operator" args="2">*</e>
        <e type="operand">η</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">:</e>
      </input>
      <contract>
        <e type="operand">GWHr</e>
      </contract>
      <result action="numeric">
        <e type="operand">68.92</e>
      </result>
    </math>
  </region>
  <region id="78" left="486" top="4149" width="119" height="24" border="true" color="#000000" bgColor="#ffff80" fontSize="10">
    <math decimalPlaces="2">
      <description active="true" position="Top" lang="eng">
        <p>Compare with</p>
      </description>
      <input>
        <e type="operand">E1</e>
      </input>
      <contract>
        <e type="operand">GWHr</e>
      </contract>
      <result action="numeric">
        <e type="operand">69.46</e>
      </result>
    </math>
  </region>
  <region id="79" left="18" top="4320" width="402" height="37" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2" decimalPlaces="4">
      <input>
        <e type="operand">MyHatch3</e>
        <e type="operand">x</e>
        <e type="function" args="1">Fit2</e>
        <e type="operand">x</e>
        <e type="function" args="1">Fit</e>
        <e type="operand">P.s</e>
        <e type="operand">P2</e>
        <e type="operand">30</e>
        <e type="function" args="5">hatch</e>
        <e type="function" preserve="true" args="1">eval</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="80" left="18" top="4365" width="402" height="37" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2" decimalPlaces="4">
      <input>
        <e type="operand">MyHatch4</e>
        <e type="operand">x</e>
        <e type="function" args="1">Fit4</e>
        <e type="operand">x</e>
        <e type="function" args="1">Fit6</e>
        <e type="operand">0</e>
        <e type="operand">P.s</e>
        <e type="operand">15</e>
        <e type="function" args="5">hatch</e>
        <e type="function" preserve="true" args="1">eval</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="81" left="18" top="4428" width="544" height="403" border="true" color="#000000" bgColor="#ffffff" fontSize="10">
    <xyplot width="534" height="395" smoothing="true" points="100">
      <propertiessource index="1" sourcetype="Sheet" />
      <grid gridcolor="LightGray" gridpattern="Solid" gridthickness="1" isxgrid="true" isygrid="true" />
      <xaxes xmin="0" xmax="100" xtick="10" numberformat="General" decimalplaces="3" />
      <yaxes ymin="0" ymax="240" ytick="20" numberformat="General" decimalplaces="3" />
      <y2axes isy2axis="false" y2min="-1" y2max="1" y2tick="0.5" numberformat="General" decimalplaces="3" />
      <title2d title="Flow Duration Curve (FDC)" titlefont="Calibri, 14.25pt, style=Bold" titlefontcolor="Black" />
      <xylabel labelfont="Arial, 10pt" labelfontcolor="Black" tickfont="Courier New, 10pt" tickfontcolor="Black" xlabel="% probability equalled or exceeded" ylabel="Flow (cumec)" 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" linecolor="Blue" linethickness="2" linepattern="Solid" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
        <trace seriesname="" isy2data="false" isvisible="true" plotmethod="Lines" linecolor="Red" linethickness="1" linepattern="Solid" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
        <trace seriesname="" isy2data="false" isvisible="true" plotmethod="Lines" linecolor="Green" linethickness="2" linepattern="Dash" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
        <trace seriesname="" isy2data="false" isvisible="true" plotmethod="Lines" linecolor="Fuchsia" linethickness="1" linepattern="Solid" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
        <trace seriesname="" isy2data="false" isvisible="true" plotmethod="Lines" linecolor="Black" linethickness="2" linepattern="Dash" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
        <trace seriesname="" isy2data="false" isvisible="true" plotmethod="Lines" linecolor="SaddleBrown" linethickness="2" linepattern="Dash" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
        <trace seriesname="" isy2data="false" isvisible="true" plotmethod="Lines" linecolor="Black" linethickness="2" linepattern="Dash" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
      </traces>
      <input>
        <e type="operand">x</e>
        <e type="function" args="1">Fit</e>
        <e type="operand">QQ30</e>
        <e type="operand">MyHatch4</e>
        <e type="operand">MyHatch3</e>
        <e type="operand">PP30</e>
        <e type="operand">PP2</e>
        <e type="operand">QQ.s2</e>
        <e type="operand">7</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="9">sys</e>
      </input>
    </xyplot>
  </region>
  <region id="82" left="234" top="4482" width="70" height="32" color="#000000" bgColor="#ffffff" fontSize="10">
    <math decimalPlaces="4">
      <description active="true" position="Top" lang="eng">
        <p>Assumed Probability</p>
      </description>
      <input>
        <e type="operand">P.s</e>
      </input>
      <result action="numeric">
        <e type="operand">30</e>
      </result>
    </math>
  </region>
  <region id="83" left="423" top="4482" width="86" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <math decimalPlaces="2">
      <description active="true" position="Top" lang="eng">
        <p>Prob at 1/3 rd flow</p>
      </description>
      <input>
        <e type="operand">P2</e>
      </input>
      <result action="numeric">
        <e type="operand">98.1</e>
      </result>
    </math>
  </region>
  <region id="84" left="396" top="4590" width="128" height="32" color="#000000" bgColor="#ffffff" fontSize="10">
    <math decimalPlaces="2">
      <description active="true" position="Top" lang="eng">
        <p>Mean flow at prob = Ps</p>
      </description>
      <input>
        <e type="operand">Q.s</e>
      </input>
      <contract>
        <e type="operand">cumec</e>
      </contract>
      <result action="numeric">
        <e type="operand">99.31</e>
      </result>
    </math>
  </region>
  <region id="85" left="567" top="4707" width="135" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <math decimalPlaces="4">
      <description active="true" position="Top" lang="eng">
        <p>1/3 rd Flow</p>
      </description>
      <input>
        <e type="operand">Q2</e>
      </input>
      <contract>
        <e type="operand">cumec</e>
      </contract>
      <result action="numeric">
        <e type="operand">33.104</e>
      </result>
    </math>
  </region>
  <region id="86" left="117" top="4716" width="37" height="34" border="true" color="#000000" bgColor="#ffffff">
    <writer lang="eng"><![CDATA[<span style="font-family: 'Tw Cen MT Condensed Extra Bold'; font-size: 10pt; font-weight: normal; font-style: normal; text-decoration: none; color: Black; background-color: Yellow; text-align: justify; line-height: 115%">
<div><span style="font-size: 16pt">A1</span></div></span>]]></writer>
  </region>
  <region id="87" left="306" top="4725" width="37" height="34" border="true" color="#000000" bgColor="#ffffff">
    <writer lang="eng"><![CDATA[<span style="font-family: 'Tw Cen MT Condensed Extra Bold'; font-size: 10pt; font-weight: normal; font-style: normal; text-decoration: none; color: Black; background-color: Yellow; text-align: justify; line-height: 115%">
<div><span style="font-size: 16pt">A3</span></div></span>]]></writer>
  </region>
</regions>