﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="0.99.7109.29964"?>
<worksheet xmlns="http://smath.info/schemas/worksheet/1.0">
  <settings ppi="144">
    <identity>
      <id>6e86d5dd-f02b-4c87-959a-bf073e653bbc</id>
      <revision>809</revision>
    </identity>
    <calculation>
      <precision>4</precision>
      <exponentialThreshold>5</exponentialThreshold>
      <trailingZeros>false</trailingZeros>
      <significantDigitsMode>false</significantDigitsMode>
      <roundingMode>0</roundingMode>
      <fractions>decimal</fractions>
    </calculation>
    <pageModel active="true" viewMode="0" printGrid="false" printAreas="true" simpleEqualsOnly="false" printBackgroundImages="true">
      <paper id="9" orientation="Portrait" width="827" height="1169" />
      <margins left="55" right="35" top="49" bottom="49" />
      <header alignment="Center" color="#a9a9a9">&amp;[FILENAME]</header>
      <footer alignment="Center" color="#a9a9a9">Page &amp;[PAGENUM] / &amp;[COUNT]</footer>
      <backgrounds />
    </pageModel>
    <dependencies>
      <assembly name="SMath Studio Desktop" version="0.99.7109.29964" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="Mathcad File Access Functions" version="1.0.6983.32721" guid="02a1c2c5-590e-46bb-bcf6-c87856a8b14b" />
      <assembly name="Math Region" version="0.99.7109.29964" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="PictureRegion" version="1.10.7109.29964" guid="06b5df04-393e-4be7-9107-305196fcb861" />
      <assembly name="Custom Functions" version="1.1.7097.23285" guid="18dadffd-79a3-4cf9-aee1-d66deb0ea720" />
      <assembly name="SpecialFunctions" version="1.12.7109.29964" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
      <assembly name="TextRegion" version="1.11.7109.29964" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
      <assembly name="Hyperlink Region" version="1.0.7105.20106" guid="4938d1a8-ad11-4de8-afbf-d76d069cfbf8" />
      <assembly name="Table Region" version="0.2.7097.29803" guid="51fec712-ec75-4551-a13e-478d375ae8d6" />
      <assembly name="Writer Region" version="0.22.7125.19280" guid="5922d677-323f-4327-8c68-be902d8339ad" />
      <assembly name="XlsxImportExport" version="1.3.6996.39330" guid="621b8a62-bd79-47fc-948b-d4c4ab3b8588" />
      <assembly name="Statistical Tools" version="1.0.6824.32561" guid="76f6e9f5-ac86-4ffb-9e4d-284c8daecaf9" />
      <assembly name="ComboBoxList Region" version="1.0.7097.29780" guid="fae04ec0-301f-11d3-bf4b-00c04f79efbc" />
    </dependencies>
  </settings>
  <regions type="content">
    <region id="0" left="27" top="9" width="461" height="32" color="#000000" bgColor="#ffffff">
      <writer lang="eng"><![CDATA[<span style="font-family: 'Times New Roman'; font-size: 11pt; font-weight: normal; font-style: normal; color: Blue; background-color: Transparent; vertical-align: baseline; text-align: left; margin-left: 0pt; text-indent: 0pt; line-height: 115%">
<div><span style="font-size: 14pt"><strong>RAIN FALL ANALYSIS - Standardized Precipitation Index (<span style="color: Red">SPI</span>)</strong></span></div></span>]]></writer>
    </region>
    <region id="1" left="27" top="45" width="293" height="132" border="true" color="#000000" bgColor="#ffffa4">
      <writer lang="eng"><![CDATA[<span style="font-family: 'Calibri'; font-size: 12pt; font-weight: normal; font-style: normal; color: Blue; background-color: Transparent; vertical-align: baseline; text-align: left; margin-left: 0pt; text-indent: 0pt; line-height: 115%">
<div><span style="font-size: 13pt"><strong>Station Name:   <span style="color: Black">Angoda Mental Hospital </span></strong></span></div>
<div><span style="font-size: 13pt"><strong>Type:                       <span style="color: Black">Precipitatiom</span> </strong></span></div>
<div><span style="font-size: 13pt"><strong>Data Interval:    <span style="color: Black">Daily </span></strong></span></div>
<div><span style="font-size: 13pt"><strong>Unit:                       <span style="color: Black">Millimeters</span> </strong></span></div>
<div><span style="font-size: 13pt"><strong>Period                   <span style="color: Black">1960/01/01 to 2016/12/31</span> </strong></span></div></span>]]></writer>
    </region>
    <region id="2" left="369" top="90" width="277" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math decimalPlaces="2">
        <input>
          <e type="operand">4</e>
          <e type="function" args="1">appVersion</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">0.99.7109.29964</e>
        </result>
      </math>
    </region>
    <region id="3" left="369" top="162" width="371" height="35" color="#000000" bgColor="#ffffff" fontSize="10" showInputData="False">
      <hyperlink dl="Climate Data Guide SPI.pdf" flags="" sd="true" width="361" height="27">
        <input>
          <e type="operand" style="string">Climate\0020\Data\0020\Guide\0020\SPI\002E\pdf</e>
        </input>
      </hyperlink>
    </region>
    <region id="4" left="369" top="207" width="148" height="35" color="#000000" bgColor="#ffffff" fontSize="10" showInputData="False">
      <hyperlink dl="SPEI.pdf" flags="" sd="true" width="138" height="27">
        <input>
          <e type="operand" style="string">SPEI.pdf</e>
        </input>
      </hyperlink>
    </region>
    <region id="5" left="27" top="216" width="114" height="33" color="#000000" bgColor="#ffffff">
      <writer lang="eng"><![CDATA[<span style="font-family: 'Calibri'; font-size: 12pt; font-weight: normal; font-style: normal; color: Blue; background-color: Transparent; vertical-align: baseline; text-align: left; margin-left: 0pt; text-indent: 0pt; line-height: 115%">
<div><span style="font-size: 14pt"><strong><span style="color: Black">1. Select period</span></strong></span></div></span>]]></writer>
    </region>
    <region id="6" left="27" top="261" width="209" height="225" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <description active="true" position="Top" lang="ita">
          <p>Assume 30 day months</p>
        </description>
        <input>
          <e type="operand">input.1</e>
          <e type="operand" style="string">1 Month</e>
          <e type="operand">30</e>
          <e type="operand" style="string">2 Months</e>
          <e type="operand">60</e>
          <e type="operand" style="string">3 Months</e>
          <e type="operand">90</e>
          <e type="operand" style="string">4 Months</e>
          <e type="operand">120</e>
          <e type="operand" style="string">5 Months</e>
          <e type="operand">150</e>
          <e type="operand" style="string">6 Months</e>
          <e type="operand">180</e>
          <e type="operand" style="string">7 Months</e>
          <e type="operand">210</e>
          <e type="operand" style="string">8 Months</e>
          <e type="operand">240</e>
          <e type="operand" style="string">9 Months</e>
          <e type="operand">270</e>
          <e type="operand" style="string">10 Months</e>
          <e type="operand">300</e>
          <e type="operand" style="string">11 Months</e>
          <e type="operand">330</e>
          <e type="operand" style="string">12 Months</e>
          <e type="operand">360</e>
          <e type="operand">12</e>
          <e type="operand">2</e>
          <e type="function" args="26">mat</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="7" left="279" top="297" width="210" height="38" color="#000000" bgColor="#b3ffc6" fontSize="10">
      <comboboxlist input="input.1" inputColumn="1" selected="1" output="Element" outputColumn="2" layout="DropDownList" items="5" firstItem="0" font="Verdana, 9.75pt, style=Bold" optimization="numeric" decimalPlaces="15" exponentialThreshold="15" significantFigures="0" fractions="decimal" trailingZeros="false" overrideDP="true">
        <ul>
          <li>"1 Month"</li>
          <li>"2 Months"</li>
          <li>"3 Months"</li>
          <li>"4 Months"</li>
          <li>"5 Months"</li>
          <li>"6 Months"</li>
          <li>"7 Months"</li>
          <li>"8 Months"</li>
          <li>"9 Months"</li>
          <li>"10 Months"</li>
          <li>"11 Months"</li>
          <li>"12 Months"</li>
        </ul>
        <description active="true" position="Top" lang="eng">
          <p>Select how many Months</p>
        </description>
        <input>
          <e type="operand">n_day</e>
        </input>
      </comboboxlist>
    </region>
    <region id="8" left="567" top="324" width="99" height="31" color="#000000" bgColor="#ffffff" fontSize="10">
      <math decimalPlaces="2">
        <description active="true" position="Top" lang="eng">
          <p>Starting time</p>
        </description>
        <input>
          <e type="operand">t.0</e>
          <e type="operand">0</e>
          <e type="function" args="1">time</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="9" left="279" top="405" width="96" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">n_day</e>
        </input>
        <result action="numeric">
          <e type="operand">30</e>
        </result>
      </math>
    </region>
    <region id="10" left="27" top="531" width="257" height="33" color="#000000" bgColor="#ffffff">
      <writer lang="eng"><![CDATA[<span style="font-family: 'Calibri'; font-size: 12pt; font-weight: normal; font-style: normal; color: Blue; background-color: Transparent; vertical-align: baseline; text-align: left; margin-left: 0pt; text-indent: 0pt; line-height: 115%">
<div><span style="font-size: 14pt"><strong><span style="color: Black">2. Import rainfall data from EXCEL file</span></strong></span></div></span>]]></writer>
    </region>
    <region id="11" left="306" top="531" width="401" height="53" border="true" color="#000000" bgColor="#ffffc1">
      <writer lang="eng"><![CDATA[<span style="font-family: 'Times New Roman'; font-size: 11pt; font-weight: normal; font-style: normal; color: Blue; background-color: Transparent; vertical-align: baseline; text-align: left; margin-left: 0pt; text-indent: 0pt; line-height: 115%">
<div style="text-align: justify"><span style="font-family: 'Calibri'"><span style="font-size: 12pt"><strong><span style="color: Black">NOTE :  SMATH  treats blanks in EXCEL as zeros. Hence, in case of </span></strong></span></span></div>
<div style="text-align: justify"><span style="font-family: 'Calibri'"><span style="font-size: 12pt"><strong><span style="color: Red">missing data</span><span style="color: Black">, first use a suitable  method to fill in such data.</span></strong></span></span></div></span>]]></writer>
    </region>
    <region id="12" left="27" top="612" width="793" height="24" color="#000000" bgColor="#ffffff" fontSize="9">
      <math exponentialThreshold="8">
        <description active="false" position="Top" lang="eng">
          <p></p>
        </description>
        <input>
          <e type="operand">MyDirectory</e>
          <e type="operand" style="string"></e>
          <e type="function" args="1">DocumentDirectory</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">E:\All Smath Files in ASUS\0001. Training ID\0001. IRESH Irrig. Dept\</e>
        </result>
      </math>
    </region>
    <region id="13" left="27" top="657" width="357" height="24" color="#000000" bgColor="#ffffff" fontSize="9">
      <math exponentialThreshold="8">
        <input>
          <e type="operand">MyFile</e>
          <e type="operand">MyDirectory</e>
          <e type="operand" style="string">Rainfal_Data.xlsx</e>
          <e type="function" args="2">concat</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="14" left="513" top="675" width="213" height="71" border="true" color="#000000" bgColor="#ffffff">
      <writer lang="eng" wrap="Custom" width="199"><![CDATA[<span style="font-family: 'Arial Unicode MS'; font-size: 10pt; font-weight: normal; font-style: normal; color: Black; background-color: Transparent; vertical-align: baseline; text-align: left; margin-left: 0pt; text-indent: 0pt; line-height: 115%">
<div style="text-align: justify"><span style="font-family: 'Times New Roman'"><span style="font-size: 12pt"><span style="color: Maroon"><span style="background-color: White">Read daily rainfall data file. Define correct cell range (in this case B7:B20826</span></span></span></span></div></span>]]></writer>
    </region>
    <region id="15" left="27" top="702" width="408" height="28" color="#000000" bgColor="#ffffff" fontSize="9">
      <math decimalPlaces="6" exponentialThreshold="8">
        <input>
          <e type="operand">RF_DATA</e>
          <e type="operand">MyFile</e>
          <e type="operand" style="string">Sheet1</e>
          <e type="operand" style="string">B7</e>
          <e type="operand" style="string">B20826</e>
          <e type="function" args="4">importData.XLSX</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="16" left="432" top="702" width="67" height="29" color="#000000" bgColor="#ffffff">
      <picture>
        <raw format="png" encoding="base64">iVBORw0KGgoAAAANSUhEUgAAADsAAAAVCAYAAAD4g5b1AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAC5SURBVFhH5ZRRCoQwDAUX8f4nlu2iEJDHGND2hcUOzI+amgHx0ybiiN2+W5nrsuJ1h0pZ7B4Z0n2Hij32HPnaWIoM6XmHyvBYilNpzqEyLJairqR5h0p3LMW4pPdnKo9jaRm3tEemcjuWlqiS9slUjlg6+A0qjz5jOrhC2iVT6fpB0UJOaYdMpSs2pMUy6QyHypDYkMJImnWoDI0NKfAszThULLEhhe7G/WqsseFUseFfxM7CRLGt/QDEBged7UtWcwAAAABJRU5ErkJggg==</raw>
      </picture>
    </region>
    <region id="17" left="27" top="774" width="183" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math exponentialThreshold="8">
        <input>
          <e type="operand">RF_DATA</e>
          <e type="function" args="1">rows</e>
        </input>
        <result action="numeric">
          <e type="operand">20820</e>
        </result>
      </math>
    </region>
    <region id="18" left="225" top="774" width="151" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math exponentialThreshold="8">
        <input>
          <e type="operand">RF_DATA</e>
          <e type="function" args="1">cols</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="19" left="423" top="774" width="252" height="31" color="#000000" bgColor="#ffff80" fontSize="10">
      <math>
        <input>
          <e type="operand">n.DATA</e>
          <e type="operand">RF_DATA</e>
          <e type="function" args="1">length</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">20820</e>
        </result>
      </math>
    </region>
    <region id="20" left="27" top="846" width="225" 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; vertical-align: baseline; text-align: left; margin-left: 0pt; text-indent: 0pt; line-height: 115%">
<div><span style="font-family: 'Arial Unicode MS'"><strong><span style="background-color: Transparent">Find &#39;p&#39; day Total of rainfall series</span></strong></span></div></span>]]></writer>
    </region>
    <region id="21" left="27" top="873" width="437" height="123" border="true" color="#000000" bgColor="#e1ffc4" fontSize="10">
      <math optimize="2" exponentialThreshold="8">
        <description active="true" position="Top" lang="eng">
          <p>Program 1: To find 'p' day totals of vector 'A'</p>
        </description>
        <input>
          <e type="operand">A</e>
          <e type="operand">p</e>
          <e type="function" args="2">n_day_total</e>
          <e type="operand" style="string">Find 'p' day total of raw data</e>
          <e type="operand">r</e>
          <e type="operand">1</e>
          <e type="operand">A</e>
          <e type="function" args="1">rows</e>
          <e type="operand">p</e>
          <e type="operator" args="2">/</e>
          <e type="function" args="1">trunc</e>
          <e type="function" args="2">range</e>
          <e type="operand">C</e>
          <e type="operand">r</e>
          <e type="function" args="2">el</e>
          <e type="operand">A</e>
          <e type="operand">1</e>
          <e type="operand">r</e>
          <e type="operand">1</e>
          <e type="operator" args="2">-</e>
          <e type="bracket">(</e>
          <e type="operand">p</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">+</e>
          <e type="bracket">(</e>
          <e type="operand">r</e>
          <e type="operand">p</e>
          <e type="operator" args="2">*</e>
          <e type="bracket">(</e>
          <e type="function" args="2">range</e>
          <e type="function" args="2">el</e>
          <e type="function" args="1">sum</e>
          <e type="operator" args="2">:</e>
          <e type="function" args="3">for</e>
          <e type="operand">C</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="5">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="22" left="513" top="873" width="156" height="47" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">period.tot</e>
          <e type="operand">n.DATA</e>
          <e type="operand">360</e>
          <e type="operator" args="2">/</e>
          <e type="operand" style="unit">yr</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="23" left="513" top="927" width="131" height="30" color="#000000" bgColor="#ffffff" fontSize="10">
      <math decimalPlaces="0">
        <input>
          <e type="operand">period.tot</e>
        </input>
        <contract>
          <e type="operand" style="unit">yr</e>
        </contract>
        <result action="numeric">
          <e type="operand">58</e>
        </result>
      </math>
    </region>
    <region id="24" left="495" top="1008" width="179" height="31" color="#000000" bgColor="#ffff00" fontSize="10">
      <math decimalPlaces="1">
        <input>
          <e type="operand">ΔT</e>
          <e type="operand">0</e>
          <e type="function" args="1">time</e>
          <e type="operand">t.0</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
          <e type="operand" style="unit">s</e>
          <e type="operator" args="2">*</e>
        </result>
      </math>
    </region>
    <region id="25" left="27" top="1089" width="338" height="221" color="#000000" bgColor="#ffff80" fontSize="10">
      <math matrixOptions="0,0,1,11">
        <description active="true" position="Top" lang="eng">
          <p>Apply Program 1 with appropriate variables</p>
        </description>
        <input>
          <e type="operand">X</e>
          <e type="operand">RF_DATA</e>
          <e type="operand">n_day</e>
          <e type="function" args="2">n_day_total</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">30.4</e>
          <e type="operand">278.7</e>
          <e type="operand">63.9</e>
          <e type="operand">387.1</e>
          <e type="operand">330</e>
          <e type="operand">187.3</e>
          <e type="operand">495.9</e>
          <e type="operand">18</e>
          <e type="operand">163.3</e>
          <e type="operand">128.8</e>
          <e type="operand">795.3</e>
          <e type="operand">11</e>
          <e type="operand">1</e>
          <e type="function" args="13">mat</e>
        </result>
      </math>
    </region>
    <region id="26" left="432" top="1098" width="151" height="26" color="#000000" bgColor="#ffb0ff" fontSize="10">
      <math>
        <input>
          <e type="operand">X</e>
          <e type="function" args="1">max</e>
        </input>
        <result action="numeric">
          <e type="operand">983.6239</e>
        </result>
      </math>
    </region>
    <region id="27" left="432" top="1134" width="95" height="26" color="#000000" bgColor="#ffb0ff" fontSize="10">
      <math>
        <input>
          <e type="operand">X</e>
          <e type="function" args="1">min</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
        </result>
      </math>
    </region>
    <region id="28" left="432" top="1170" width="147" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">n</e>
          <e type="operand">X</e>
          <e type="function" args="1">rows</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">694</e>
        </result>
      </math>
    </region>
    <region id="29" left="432" top="1206" width="171" height="43" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">RF_DATA</e>
          <e type="function" args="1">rows</e>
          <e type="operand">n_day</e>
          <e type="operator" args="2">/</e>
        </input>
        <result action="numeric">
          <e type="operand">694</e>
        </result>
      </math>
    </region>
    <region id="30" left="432" top="1260" width="288" height="45" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">n.bal</e>
          <e type="operand">RF_DATA</e>
          <e type="function" args="1">rows</e>
          <e type="operand">n_day</e>
          <e type="operator" args="2">/</e>
          <e type="operand">n</e>
          <e type="operator" args="2">-</e>
          <e type="bracket">(</e>
          <e type="operand">n_day</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
        </result>
      </math>
    </region>
    <region id="31" left="432" top="1314" width="183" height="30" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">n</e>
          <e type="operand">n_day</e>
          <e type="operator" args="2">*</e>
          <e type="operand">n.bal</e>
          <e type="operator" args="2">+</e>
        </input>
        <result action="numeric">
          <e type="operand">20820</e>
        </result>
      </math>
    </region>
    <region id="32" left="27" top="1350" width="696" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="eng">
        <p>-----------------------------------------------------------------------------------</p>
      </text>
    </region>
    <region id="33" left="27" top="1368" width="188" height="33" color="#000000" bgColor="#ffffff">
      <writer lang="eng"><![CDATA[<span style="font-family: 'Calibri'; font-size: 12pt; font-weight: normal; font-style: normal; color: Blue; background-color: Transparent; vertical-align: baseline; text-align: left; margin-left: 0pt; text-indent: 0pt; line-height: 115%">
<div><span style="font-size: 14pt"><strong><span style="color: Black">3. Dealing with zero values</span></strong></span></div></span>]]></writer>
    </region>
    <region id="34" left="486" top="1368" width="179" height="31" color="#000000" bgColor="#ffff00" fontSize="10">
      <math decimalPlaces="1">
        <input>
          <e type="operand">ΔT</e>
          <e type="operand">0</e>
          <e type="function" args="1">time</e>
          <e type="operand">t.0</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">6</e>
          <e type="operand" style="unit">s</e>
          <e type="operator" args="2">*</e>
        </result>
      </math>
    </region>
    <region id="35" left="27" top="1404" width="174" height="280" color="#000000" bgColor="#e1ffc4" fontSize="10">
      <math>
        <description active="true" position="Top" lang="eng">
          <p>Program 2: To deal 
with ln(0)</p>
        </description>
        <input>
          <e type="operand">n.zero</e>
          <e type="operand">0</e>
          <e type="operator" args="2">:</e>
          <e type="operand">j</e>
          <e type="operand">1</e>
          <e type="operand">X</e>
          <e type="function" args="1">rows</e>
          <e type="function" args="2">range</e>
          <e type="operand">X</e>
          <e type="operand">j</e>
          <e type="function" args="2">el</e>
          <e type="operand">0</e>
          <e type="operator" args="2">≤</e>
          <e type="operand">LNX</e>
          <e type="operand">j</e>
          <e type="function" args="2">el</e>
          <e type="operand">0</e>
          <e type="operator" args="2">:</e>
          <e type="operand">n.zero</e>
          <e type="operand">n.zero</e>
          <e type="operand">1</e>
          <e type="operator" args="2">+</e>
          <e type="operator" args="2">:</e>
          <e type="operand">pos</e>
          <e type="operand">n.zero</e>
          <e type="function" args="2">el</e>
          <e type="operand">j</e>
          <e type="operator" args="2">:</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="5">line</e>
          <e type="operand">LNX</e>
          <e type="operand">j</e>
          <e type="function" args="2">el</e>
          <e type="operand">X</e>
          <e type="operand">j</e>
          <e type="function" args="2">el</e>
          <e type="function" args="1">ln</e>
          <e type="operator" args="2">:</e>
          <e type="function" args="3">if</e>
          <e type="function" args="3">for</e>
          <e type="operand">n.zero</e>
          <e type="operand">0</e>
          <e type="operator" args="2">≡</e>
          <e type="operand">pos</e>
          <e type="operand" style="string">Undefined</e>
          <e type="operator" args="2">:</e>
          <e type="operand">pos</e>
          <e type="operand">pos</e>
          <e type="operator" args="2">:</e>
          <e type="function" args="3">if</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="5">line</e>
        </input>
      </math>
    </region>
    <region id="36" left="252" top="1431" width="111" height="275" color="#000000" bgColor="#ffffff" fontSize="10">
      <math decimalPlaces="2" matrixOptions="0,0,1,14">
        <description active="true" position="Top" lang="eng">
          <p>ln(x) values</p>
        </description>
        <input>
          <e type="operand">LNX</e>
        </input>
        <result action="numeric">
          <e type="operand">3.41</e>
          <e type="operand">5.63</e>
          <e type="operand">4.16</e>
          <e type="operand">5.96</e>
          <e type="operand">5.8</e>
          <e type="operand">5.23</e>
          <e type="operand">6.21</e>
          <e type="operand">2.89</e>
          <e type="operand">5.1</e>
          <e type="operand">4.86</e>
          <e type="operand">6.68</e>
          <e type="operand">4.14</e>
          <e type="operand">3.8</e>
          <e type="operand">3.88</e>
          <e type="operand">14</e>
          <e type="operand">1</e>
          <e type="function" args="16">mat</e>
        </result>
      </math>
    </region>
    <region id="37" left="531" top="1431" width="103" height="257" color="#000000" bgColor="#ffffff" fontSize="10">
      <math decimalPlaces="2" matrixOptions="0,0,1,13">
        <description active="true" position="Top" lang="eng">
          <p>Index of the LNX 
array where LNX = 0</p>
        </description>
        <input>
          <e type="operand">pos</e>
        </input>
        <result action="numeric">
          <e type="operand">99</e>
          <e type="operand">148</e>
          <e type="operand">172</e>
          <e type="operand">196</e>
          <e type="operand">197</e>
          <e type="operand">221</e>
          <e type="operand">245</e>
          <e type="operand">269</e>
          <e type="operand">300</e>
          <e type="operand">301</e>
          <e type="operand">320</e>
          <e type="operand">328</e>
          <e type="operand">331</e>
          <e type="operand">13</e>
          <e type="operand">1</e>
          <e type="function" args="15">mat</e>
        </result>
      </math>
    </region>
    <region id="38" left="369" top="1494" width="131" height="33" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">LNX</e>
          <e type="operand">28</e>
          <e type="function" args="2">el</e>
        </input>
        <result action="numeric">
          <e type="operand">5.0907</e>
        </result>
      </math>
    </region>
    <region id="39" left="441" top="1647" width="72" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math decimalPlaces="2">
        <input>
          <e type="operand">j</e>
        </input>
        <result action="numeric">
          <e type="operand">694</e>
        </result>
      </math>
    </region>
    <region id="40" left="27" top="1746" width="111" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math decimalPlaces="2">
        <description active="true" position="Left" lang="eng">
          <p>Clear j from memory</p>
        </description>
        <input>
          <e type="operand">j</e>
          <e type="function" args="1">Clear</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="41" left="27" top="1791" width="200" height="53" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">X.mean</e>
          <e type="operand">X</e>
          <e type="function" args="1">sum</e>
          <e type="operand">n</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">202.7543</e>
        </result>
      </math>
    </region>
    <region id="42" left="279" top="1791" width="208" height="53" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">LNX.mean</e>
          <e type="operand">LNX</e>
          <e type="function" args="1">sum</e>
          <e type="operand">n</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">4.768</e>
        </result>
      </math>
    </region>
    <region id="43" left="522" top="1809" width="195" height="31" color="#000000" bgColor="#ffff00" fontSize="10">
      <math decimalPlaces="1">
        <input>
          <e type="operand">ΔT</e>
          <e type="operand">0</e>
          <e type="function" args="1">time</e>
          <e type="operand">t.0</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">6.2</e>
          <e type="operand" style="unit">s</e>
          <e type="operator" args="2">*</e>
        </result>
      </math>
    </region>
    <region id="44" left="27" top="1854" width="696" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="eng">
        <p>-----------------------------------------------------------------------------------</p>
      </text>
    </region>
    <region id="45" left="27" top="1881" width="173" height="33" color="#000000" bgColor="#ffffff">
      <writer lang="eng"><![CDATA[<span style="font-family: 'Calibri'; font-size: 12pt; font-weight: normal; font-style: normal; color: Blue; background-color: Transparent; vertical-align: baseline; text-align: left; margin-left: 0pt; text-indent: 0pt; line-height: 115%">
<div><span style="font-size: 14pt"><strong><span style="color: Black">4. Gamma PDF and CDF</span></strong></span></div></span>]]></writer>
    </region>
    <region id="46" left="27" top="1917" width="89" height="30" color="#000000" bgColor="#e9e9e9" fontSize="10">
      <math>
        <description active="true" position="Top" lang="eng">
          <p>Number of 
zero values</p>
        </description>
        <input>
          <e type="operand">n.zero</e>
        </input>
        <result action="numeric">
          <e type="operand">29</e>
        </result>
      </math>
    </region>
    <region id="47" left="360" top="1917" width="186" height="47" color="#000000" bgColor="#e9e9e9" fontSize="10">
      <math>
        <description active="true" position="Top" lang="eng">
          <p>Prob of zero values</p>
        </description>
        <input>
          <e type="operand">Pr.zero</e>
          <e type="operand">n.zero</e>
          <e type="operand">n</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">0.0418</e>
        </result>
      </math>
    </region>
    <region id="48" left="27" top="2016" width="237" height="32" color="#000000" bgColor="#e1ffc4" fontSize="10">
      <math matrixOptions="0,0,1,22">
        <input>
          <e type="operand">A</e>
          <e type="operand">X.mean</e>
          <e type="function" args="1">ln</e>
          <e type="operand">LNX.mean</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">0.544</e>
        </result>
      </math>
    </region>
    <region id="49" left="27" top="2070" width="256" height="45" color="#000000" bgColor="#e1ffc4" fontSize="10">
      <math>
        <input>
          <e type="operand">α</e>
          <e type="operand">1</e>
          <e type="operand">4</e>
          <e type="operand">A</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="operand">4</e>
          <e type="operand">A</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="function" args="1">sqrt</e>
          <e type="operator" args="2">+</e>
          <e type="bracket">(</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">1.0633</e>
        </result>
      </math>
    </region>
    <region id="50" left="360" top="2070" width="169" height="47" color="#000000" bgColor="#e1ffc4" fontSize="10">
      <math>
        <input>
          <e type="operand">β</e>
          <e type="operand">X.mean</e>
          <e type="operand">α</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">190.6882</e>
        </result>
      </math>
    </region>
    <region id="51" left="27" top="2151" width="258" height="69" color="#000000" bgColor="#e1ffc4" fontSize="10">
      <math>
        <description active="true" position="Top" lang="eng">
          <p>Eqn for Gamma function PDF</p>
        </description>
        <input>
          <e type="operand">x</e>
          <e type="function" args="1">g</e>
          <e type="operand">1</e>
          <e type="operand">β</e>
          <e type="operand">α</e>
          <e type="operator" args="2">^</e>
          <e type="operand">α</e>
          <e type="function" args="1">Gamma</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
          <e type="operand">x</e>
          <e type="operand">α</e>
          <e type="operand">1</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operand">e</e>
          <e type="operand">x</e>
          <e type="operand">β</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="52" left="450" top="2160" width="151" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">α</e>
          <e type="function" args="1">Gamma</e>
        </input>
        <result action="numeric">
          <e type="operand">0.9672</e>
        </result>
      </math>
    </region>
    <region id="53" left="621" top="2160" width="117" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math roundingMode="1">
        <input>
          <e type="operand">5</e>
          <e type="function" args="1">Gamma</e>
        </input>
        <result action="numeric">
          <e type="operand">24</e>
        </result>
      </math>
    </region>
    <region id="54" left="333" top="2205" width="57" height="32" border="true" color="#000000" bgColor="#ffffff">
      <writer lang="eng"><![CDATA[<span style="font-family: 'Cambria'; font-size: 11pt; font-weight: normal; font-style: normal; color: Blue; background-color: Transparent; vertical-align: baseline; text-align: left; margin-left: 0pt; text-indent: 0pt; line-height: 115%">
<div><span style="font-size: 14pt">Eqn. 1</span></div></span>]]></writer>
    </region>
    <region id="55" left="450" top="2205" width="153" height="43" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="operator" args="2">/</e>
          <e type="function" args="1">Gamma</e>
        </input>
        <result action="numeric">
          <e type="operand">1.7725</e>
        </result>
      </math>
    </region>
    <region id="56" left="621" top="2214" width="108" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">π</e>
          <e type="function" args="1">sqrt</e>
        </input>
        <result action="numeric">
          <e type="operand">1.7725</e>
        </result>
      </math>
    </region>
    <region id="57" left="27" top="2259" width="359" height="72" color="#000000" bgColor="#e1ffc4" fontSize="10">
      <math>
        <description active="true" position="Top" lang="eng">
          <p>Eqn for Gamma function CDF</p>
        </description>
        <input>
          <e type="operand">x_val</e>
          <e type="function" args="1">G</e>
          <e type="operand">1</e>
          <e type="operand">β</e>
          <e type="operand">α</e>
          <e type="operator" args="2">^</e>
          <e type="operand">α</e>
          <e type="function" args="1">Gamma</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
          <e type="operand">x</e>
          <e type="operand">α</e>
          <e type="operand">1</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">^</e>
          <e type="operand">e</e>
          <e type="operand">x</e>
          <e type="operand">β</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operand">x</e>
          <e type="operand">0</e>
          <e type="operand">x_val</e>
          <e type="function" args="4">int</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="58" left="549" top="2295" width="79" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math decimalPlaces="6" roundingMode="1">
        <input>
          <e type="operand">0</e>
          <e type="function" args="1">G</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
        </result>
      </math>
    </region>
    <region id="59" left="396" top="2304" width="57" height="32" border="true" color="#000000" bgColor="#ffffff">
      <writer lang="eng"><![CDATA[<span style="font-family: 'Cambria'; font-size: 11pt; font-weight: normal; font-style: normal; color: Blue; background-color: Transparent; vertical-align: baseline; text-align: left; margin-left: 0pt; text-indent: 0pt; line-height: 115%">
<div><span style="font-size: 14pt">Eqn. 2</span></div></span>]]></writer>
    </region>
    <region id="60" left="549" top="2331" width="79" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math decimalPlaces="2">
        <input>
          <e type="operand">0</e>
          <e type="function" args="1">g</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
        </result>
      </math>
    </region>
    <region id="61" left="540" top="2358" width="195" height="31" color="#000000" bgColor="#ffff00" fontSize="10">
      <math decimalPlaces="1">
        <input>
          <e type="operand">ΔT</e>
          <e type="operand">0</e>
          <e type="function" args="1">time</e>
          <e type="operand">t.0</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">6.2</e>
          <e type="operand" style="unit">s</e>
          <e type="operator" args="2">*</e>
        </result>
      </math>
    </region>
    <region id="62" left="27" top="2385" width="172" height="221" color="#000000" bgColor="#d1d1d1" fontSize="10">
      <math exponentialThreshold="10" matrixOptions="0,0,1,11">
        <description active="true" position="Top" lang="eng">
          <p>PDF of Gamma function. See 
how vectorize function works.</p>
        </description>
        <input>
          <e type="operand">g1</e>
          <e type="operand">X</e>
          <e type="function" args="1">g</e>
          <e type="function" args="1">vectorize</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">0.0041</e>
          <e type="operand">0.0013</e>
          <e type="operand">0.0036</e>
          <e type="operand">0.0007</e>
          <e type="operand">0.001</e>
          <e type="operand">0.002</e>
          <e type="operand">0.0004</e>
          <e type="operand">0.0042</e>
          <e type="operand">0.0023</e>
          <e type="operand">0.0027</e>
          <e type="operand">0.0001</e>
          <e type="operand">11</e>
          <e type="operand">1</e>
          <e type="function" args="13">mat</e>
        </result>
      </math>
    </region>
    <region id="63" left="396" top="2385" width="172" height="221" color="#000000" bgColor="#d1d1d1" fontSize="10">
      <math matrixOptions="0,0,1,11">
        <description active="true" position="Top" lang="eng">
          <p>CDF of Gamma function,
using vectorize function </p>
        </description>
        <input>
          <e type="operand">G1</e>
          <e type="operand">X</e>
          <e type="function" args="1">G</e>
          <e type="function" args="1">vectorize</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">0.1271</e>
          <e type="operand">0.7456</e>
          <e type="operand">0.2567</e>
          <e type="operand">0.8525</e>
          <e type="operand">0.8035</e>
          <e type="operand">0.597</e>
          <e type="operand">0.914</e>
          <e type="operand">0.0752</e>
          <e type="operand">0.5455</e>
          <e type="operand">0.4601</e>
          <e type="operand">0.9775</e>
          <e type="operand">11</e>
          <e type="operand">1</e>
          <e type="function" args="13">mat</e>
        </result>
      </math>
    </region>
    <region id="64" left="585" top="2448" width="132" height="35" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">X</e>
          <e type="operand">4</e>
          <e type="function" args="2">el</e>
          <e type="function" args="1">G</e>
        </input>
        <result action="numeric">
          <e type="operand">0.8525</e>
        </result>
      </math>
    </region>
    <region id="65" left="585" top="2475" width="78" height="39" color="#000000" bgColor="#ffffff">
      <picture>
        <raw format="png" encoding="base64">iVBORw0KGgoAAAANSUhEUgAAAEYAAAAfCAYAAABar7u7AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAQGSURBVGhD7ZhfaBRXGMUXWtNYdKX4pAZEoQQUlVDRhyhi3KhtjVkMKFZIHyquoBJkEcEHkaalVESjJYo2YI0PGhB9KsWCRsHSNo1IDWpUkihKgn+rJSa7szNzPHf+kN2dO5vJ7mbIw5zhl93Nzv2+7565c+feDSGQVIExLgqMcZEvxmg8ZPrtzh0cO38eqvV5IslhjM5D0RSktFTBKAaMxSNdzSR2uhW758/DsrIyvHj71vi/LEYxUcdwCRzGqJqKpJqEqjNMHiT0hEFSHWa0zJHycedtNJeWoHvGTPwZYmpysrISb6zvRTtZzGKgqObF9iqHMZqmQdEVafBcpEiSyXW2z9aC1lYsDYdRbpmRTuO6dXhqnfdOHzJiJfWkJ8ZSp2GM7qMxRkKOMI41MwDVOfg/TrW3Y/nWrfiutBR/SAyxufjVZqtVftJEDR7q9c0YkSihcujz1dZ9cpyE6upwc1IJOiVGZPPZNzEsYZsaUu2BCKknp3Wdf00lWYema9I6bQo2Rswxw6lhJDTOFa5w/lAzb5nbpCS6Afc4mXZIDHDjAemZVYZH08LomzJlVHqnTsXTjyZhHtuduPWvkXtYeWfObdJaLWieeBB4FatzSjyZch22npOj5JPYduxkoZetzvrBXfL7S1GBkFlTeo2yYyxilvx1reMftDQ3Y9vixcYoeZNW+HjTx5Hzl1XHeIhZRtTT04Pa2lpULqvE2shaVEeqHURWRfDF6s+xsiaKXyUF+8UAWVH/NaJ1m1BdtVJaq2BNZA2qVlVh0YJFaGtrs3o6uphlRNevXWfOkGc2Tp+O43zlB9/pIqHwNL511uVGPB63ejq6mCV/9ZKFDQ34kUn/JszuG72k67/XZiHjIGYpXE/I/pu38NMvLQh/8KGjE7nYW1GBw6dacJJzVVNTE47mQHx/jPx88CB2HjqELvkWrChidZkSj2uxjvGCSriQsVqa2sGNYcu5c6goL8dDiRHZNMVixtOtEIk1iqy+dMTj2tctgVEUV76aOpL0Fdl/vxtf7mpA7ezZeCExxOaH9evxzGwGnXF0xhkVdlATG0Oen22AK4Uu8PLdKwmEQdkLv/iVq9i4ZQvqJ092mCJorKlBv3VuKsXOjhXFG0mFG+Os0Z1LRTZGtOP2nlfVVmd/Py53dODTaBQnaMSZLGO+TzNG5zJ/PBF986qiGmNj3l6Zy++riQS6b9zAnMYDiKcZcySyGgPWORNJDmPE5CsmKvt3lUIY0ocYS/wuMzKEH5F9fY9Rf+BbtNOYPXPnYmBw0PxyAslhDAedYY7GuaIQhBf2e11lzFTm/S0e8WcvXMAlTtLe73z/5DAmkKnAGBcFxrgoMMZFgTEuCoxxUWCMiwJjpALeA30L14MkE4mbAAAAAElFTkSuQmCC</raw>
      </picture>
    </region>
    <region id="66" left="207" top="2484" width="78" height="39" color="#000000" bgColor="#ffffff">
      <picture>
        <raw format="png" encoding="base64">iVBORw0KGgoAAAANSUhEUgAAAEYAAAAfCAYAAABar7u7AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAQGSURBVGhD7ZhfaBRXGMUXWtNYdKX4pAZEoQQUlVDRhyhi3KhtjVkMKFZIHyquoBJkEcEHkaalVESjJYo2YI0PGhB9KsWCRsHSNo1IDWpUkihKgn+rJSa7szNzPHf+kN2dO5vJ7mbIw5zhl93Nzv2+7565c+feDSGQVIExLgqMcZEvxmg8ZPrtzh0cO38eqvV5IslhjM5D0RSktFTBKAaMxSNdzSR2uhW758/DsrIyvHj71vi/LEYxUcdwCRzGqJqKpJqEqjNMHiT0hEFSHWa0zJHycedtNJeWoHvGTPwZYmpysrISb6zvRTtZzGKgqObF9iqHMZqmQdEVafBcpEiSyXW2z9aC1lYsDYdRbpmRTuO6dXhqnfdOHzJiJfWkJ8ZSp2GM7qMxRkKOMI41MwDVOfg/TrW3Y/nWrfiutBR/SAyxufjVZqtVftJEDR7q9c0YkSihcujz1dZ9cpyE6upwc1IJOiVGZPPZNzEsYZsaUu2BCKknp3Wdf00lWYema9I6bQo2Rswxw6lhJDTOFa5w/lAzb5nbpCS6Afc4mXZIDHDjAemZVYZH08LomzJlVHqnTsXTjyZhHtuduPWvkXtYeWfObdJaLWieeBB4FatzSjyZch22npOj5JPYduxkoZetzvrBXfL7S1GBkFlTeo2yYyxilvx1reMftDQ3Y9vixcYoeZNW+HjTx5Hzl1XHeIhZRtTT04Pa2lpULqvE2shaVEeqHURWRfDF6s+xsiaKXyUF+8UAWVH/NaJ1m1BdtVJaq2BNZA2qVlVh0YJFaGtrs3o6uphlRNevXWfOkGc2Tp+O43zlB9/pIqHwNL511uVGPB63ejq6mCV/9ZKFDQ34kUn/JszuG72k67/XZiHjIGYpXE/I/pu38NMvLQh/8KGjE7nYW1GBw6dacJJzVVNTE47mQHx/jPx88CB2HjqELvkWrChidZkSj2uxjvGCSriQsVqa2sGNYcu5c6goL8dDiRHZNMVixtOtEIk1iqy+dMTj2tctgVEUV76aOpL0Fdl/vxtf7mpA7ezZeCExxOaH9evxzGwGnXF0xhkVdlATG0Oen22AK4Uu8PLdKwmEQdkLv/iVq9i4ZQvqJ092mCJorKlBv3VuKsXOjhXFG0mFG+Os0Z1LRTZGtOP2nlfVVmd/Py53dODTaBQnaMSZLGO+TzNG5zJ/PBF986qiGmNj3l6Zy++riQS6b9zAnMYDiKcZcySyGgPWORNJDmPE5CsmKvt3lUIY0ocYS/wuMzKEH5F9fY9Rf+BbtNOYPXPnYmBw0PxyAslhDAedYY7GuaIQhBf2e11lzFTm/S0e8WcvXMAlTtLe73z/5DAmkKnAGBcFxrgoMMZFgTEuCoxxUWCMiwJjpALeA30L14MkE4mbAAAAAElFTkSuQmCC</raw>
      </picture>
    </region>
    <region id="67" left="270" top="2484" width="132" height="35" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">X</e>
          <e type="operand">4</e>
          <e type="function" args="2">el</e>
          <e type="function" args="1">g</e>
        </input>
        <result action="numeric">
          <e type="operand">0.0007</e>
        </result>
      </math>
    </region>
    <region id="68" left="270" top="2583" width="99" height="33" color="#000000" bgColor="#ffffff" fontSize="10">
      <math decimalPlaces="2" roundingMode="1">
        <input>
          <e type="operand">X</e>
          <e type="operand">4</e>
          <e type="function" args="2">el</e>
        </input>
        <result action="numeric">
          <e type="operand">387.1</e>
        </result>
      </math>
    </region>
    <region id="69" left="504" top="2646" width="203" height="31" color="#000000" bgColor="#ffbfbf" fontSize="10">
      <math decimalPlaces="1">
        <input>
          <e type="operand">ΔT</e>
          <e type="operand">0</e>
          <e type="function" args="1">time</e>
          <e type="operand">t.0</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">25.9</e>
          <e type="operand" style="unit">s</e>
          <e type="operator" args="2">*</e>
        </result>
      </math>
    </region>
    <region id="70" left="27" top="2682" width="208" height="32" color="#000000" bgColor="#e1ffc4" fontSize="10">
      <math decimalPlaces="2">
        <description active="true" position="Top" lang="eng">
          <p>Method to deal with 
zero probabilites</p>
        </description>
        <input>
          <e type="operand">G1</e>
          <e type="operand">Pr.zero</e>
          <e type="operand">1</e>
          <e type="operand">Pr.zero</e>
          <e type="operator" args="2">-</e>
          <e type="bracket">(</e>
          <e type="operand">G1</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">+</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="71" left="333" top="2700" width="137" height="30" color="#000000" bgColor="#ffffff" fontSize="10">
      <math decimalPlaces="5">
        <description active="true" position="Top" lang="eng">
          <p>where</p>
        </description>
        <input>
          <e type="operand">Pr.zero</e>
        </input>
        <result action="numeric">
          <e type="operand">0.04179</e>
        </result>
      </math>
    </region>
    <region id="72" left="252" top="2727" width="78" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="eng">
        <p>&lt;-------</p>
      </text>
    </region>
    <region id="73" left="216" top="2772" width="205" height="31" color="#000000" bgColor="#ffffff" fontSize="10">
      <math decimalPlaces="2">
        <description active="true" position="Top" lang="eng">
          <p>Returns Inv. Cumulative 
Normal Distribution values</p>
        </description>
        <input>
          <e type="operand">F.inv.normal</e>
          <e type="operand">G1</e>
          <e type="function" args="1">ICDF.Normal</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="74" left="36" top="2862" width="127" height="329" color="#000000" bgColor="#eaeaea" fontSize="10">
      <math decimalPlaces="5" matrixOptions="0,0,1,17">
        <input>
          <e type="operand">G1</e>
        </input>
        <result action="numeric">
          <e type="operand">0.16358</e>
          <e type="operand">0.75623</e>
          <e type="operand">0.28774</e>
          <e type="operand">0.85864</e>
          <e type="operand">0.81174</e>
          <e type="operand">0.61389</e>
          <e type="operand">0.9176</e>
          <e type="operand">0.11388</e>
          <e type="operand">0.56452</e>
          <e type="operand">0.4827</e>
          <e type="operand">0.97846</e>
          <e type="operand">0.28288</e>
          <e type="operand">0.2193</e>
          <e type="operand">0.2323</e>
          <e type="operand">0.59786</e>
          <e type="operand">0.85857</e>
          <e type="operand">0.9152</e>
          <e type="operand">17</e>
          <e type="operand">1</e>
          <e type="function" args="19">mat</e>
        </result>
      </math>
    </region>
    <region id="75" left="216" top="2862" width="257" height="329" border="true" color="#000000" bgColor="#eaeaea" fontSize="10">
      <math decimalPlaces="5" matrixOptions="0,0,2,17">
        <input>
          <e type="operand">F.inv.normal</e>
        </input>
        <result action="numeric">
          <e type="operand">0.16358</e>
          <e type="operand">0.97983</e>
          <e type="operator" args="1">-</e>
          <e type="operand">0.75623</e>
          <e type="operand">0.69423</e>
          <e type="operand">0.28774</e>
          <e type="operand">0.56</e>
          <e type="operator" args="1">-</e>
          <e type="operand">0.85864</e>
          <e type="operand">1.07424</e>
          <e type="operand">0.81174</e>
          <e type="operand">0.88434</e>
          <e type="operand">0.61389</e>
          <e type="operand">0.28947</e>
          <e type="operand">0.9176</e>
          <e type="operand">1.3891</e>
          <e type="operand">0.11388</e>
          <e type="operand">1.20613</e>
          <e type="operator" args="1">-</e>
          <e type="operand">0.56452</e>
          <e type="operand">0.16243</e>
          <e type="operand">0.4827</e>
          <e type="operand">0.04337</e>
          <e type="operator" args="1">-</e>
          <e type="operand">0.97846</e>
          <e type="operand">2.02285</e>
          <e type="operand">0.28288</e>
          <e type="operand">0.5743</e>
          <e type="operator" args="1">-</e>
          <e type="operand">0.2193</e>
          <e type="operand">0.77457</e>
          <e type="operator" args="1">-</e>
          <e type="operand">0.2323</e>
          <e type="operand">0.73129</e>
          <e type="operator" args="1">-</e>
          <e type="operand">0.59786</e>
          <e type="operand">0.24781</e>
          <e type="operand">0.85857</e>
          <e type="operand">1.07393</e>
          <e type="operand">0.9152</e>
          <e type="operand">1.37349</e>
          <e type="operand">17</e>
          <e type="operand">2</e>
          <e type="function" args="36">mat</e>
        </result>
      </math>
    </region>
    <region id="76" left="531" top="2862" width="127" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">G1</e>
          <e type="function" args="1">rows</e>
        </input>
        <result action="numeric">
          <e type="operand">694</e>
        </result>
      </math>
    </region>
    <region id="77" left="531" top="2907" width="159" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math decimalPlaces="6">
        <input>
          <e type="operand">G1</e>
          <e type="function" args="1">Max</e>
        </input>
        <result action="numeric">
          <e type="operand">0.987886</e>
        </result>
      </math>
    </region>
    <region id="78" left="531" top="2952" width="151" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math decimalPlaces="5">
        <input>
          <e type="operand">G1</e>
          <e type="function" args="1">Min</e>
        </input>
        <result action="numeric">
          <e type="operand">0.04179</e>
        </result>
      </math>
    </region>
    <region id="79" left="495" top="3168" width="203" height="31" color="#000000" bgColor="#ffff00" fontSize="10">
      <math decimalPlaces="1">
        <input>
          <e type="operand">ΔT</e>
          <e type="operand">0</e>
          <e type="function" args="1">time</e>
          <e type="operand">t.0</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">28.1</e>
          <e type="operand" style="unit">s</e>
          <e type="operator" args="2">*</e>
        </result>
      </math>
    </region>
    <region id="80" left="36" top="3222" width="303" height="33" color="#000000" bgColor="#ffffff">
      <writer lang="eng"><![CDATA[<span style="font-family: 'Calibri'; font-size: 12pt; font-weight: normal; font-style: normal; color: Blue; background-color: Transparent; vertical-align: baseline; text-align: left; margin-left: 0pt; text-indent: 0pt; line-height: 115%">
<div><span style="font-size: 14pt"><strong><span style="color: Black">5. Calculation of SPI  values and Probabilities</span></strong></span></div></span>]]></writer>
    </region>
    <region id="81" left="36" top="3276" width="282" height="239" color="#000000" bgColor="#eaeaea" fontSize="10">
      <math decimalPlaces="5" matrixOptions="0,0,1,12">
        <description active="true" position="Top" lang="eng">
          <p>SPI Values in Column 2 of F.inv.normal </p>
        </description>
        <input>
          <e type="operand">Z</e>
          <e type="operand">F.inv.normal</e>
          <e type="operand">2</e>
          <e type="function" args="2">col</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">0.97983</e>
          <e type="operator" args="1">-</e>
          <e type="operand">0.69423</e>
          <e type="operand">0.56</e>
          <e type="operator" args="1">-</e>
          <e type="operand">1.07424</e>
          <e type="operand">0.88434</e>
          <e type="operand">0.28947</e>
          <e type="operand">1.3891</e>
          <e type="operand">1.20613</e>
          <e type="operator" args="1">-</e>
          <e type="operand">0.16243</e>
          <e type="operand">0.04337</e>
          <e type="operator" args="1">-</e>
          <e type="operand">2.02285</e>
          <e type="operand">0.5743</e>
          <e type="operator" args="1">-</e>
          <e type="operand">12</e>
          <e type="operand">1</e>
          <e type="function" args="14">mat</e>
        </result>
      </math>
    </region>
    <region id="82" left="558" top="3276" width="171" height="70" border="true" color="#000000" bgColor="#ffffff">
      <writer lang="eng" wrap="Custom" width="157"><![CDATA[<span style="font-family: 'Calibri'; font-size: 12pt; font-weight: normal; font-style: normal; color: Blue; background-color: Transparent; vertical-align: baseline; text-align: left; margin-left: 0pt; text-indent: 0pt; line-height: 115%">
<div style="text-align: justify"><span style="font-size: 11pt">This gives a <strong><span style="color: Red">guide </span></strong>to determine upper and lower limits for condition statement</span></div></span>]]></writer>
    </region>
    <region id="83" left="360" top="3285" width="135" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">Z</e>
          <e type="function" args="1">Max</e>
        </input>
        <result action="numeric">
          <e type="operand">2.2535</e>
        </result>
      </math>
    </region>
    <region id="84" left="504" top="3303" width="49" height="24" color="#000000" bgColor="#ffffff">
      <picture>
        <raw format="png" encoding="base64">iVBORw0KGgoAAAANSUhEUgAAAEYAAAAfCAYAAABar7u7AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAQGSURBVGhD7ZhfaBRXGMUXWtNYdKX4pAZEoQQUlVDRhyhi3KhtjVkMKFZIHyquoBJkEcEHkaalVESjJYo2YI0PGhB9KsWCRsHSNo1IDWpUkihKgn+rJSa7szNzPHf+kN2dO5vJ7mbIw5zhl93Nzv2+7565c+feDSGQVIExLgqMcZEvxmg8ZPrtzh0cO38eqvV5IslhjM5D0RSktFTBKAaMxSNdzSR2uhW758/DsrIyvHj71vi/LEYxUcdwCRzGqJqKpJqEqjNMHiT0hEFSHWa0zJHycedtNJeWoHvGTPwZYmpysrISb6zvRTtZzGKgqObF9iqHMZqmQdEVafBcpEiSyXW2z9aC1lYsDYdRbpmRTuO6dXhqnfdOHzJiJfWkJ8ZSp2GM7qMxRkKOMI41MwDVOfg/TrW3Y/nWrfiutBR/SAyxufjVZqtVftJEDR7q9c0YkSihcujz1dZ9cpyE6upwc1IJOiVGZPPZNzEsYZsaUu2BCKknp3Wdf00lWYema9I6bQo2Rswxw6lhJDTOFa5w/lAzb5nbpCS6Afc4mXZIDHDjAemZVYZH08LomzJlVHqnTsXTjyZhHtuduPWvkXtYeWfObdJaLWieeBB4FatzSjyZch22npOj5JPYduxkoZetzvrBXfL7S1GBkFlTeo2yYyxilvx1reMftDQ3Y9vixcYoeZNW+HjTx5Hzl1XHeIhZRtTT04Pa2lpULqvE2shaVEeqHURWRfDF6s+xsiaKXyUF+8UAWVH/NaJ1m1BdtVJaq2BNZA2qVlVh0YJFaGtrs3o6uphlRNevXWfOkGc2Tp+O43zlB9/pIqHwNL511uVGPB63ejq6mCV/9ZKFDQ34kUn/JszuG72k67/XZiHjIGYpXE/I/pu38NMvLQh/8KGjE7nYW1GBw6dacJJzVVNTE47mQHx/jPx88CB2HjqELvkWrChidZkSj2uxjvGCSriQsVqa2sGNYcu5c6goL8dDiRHZNMVixtOtEIk1iqy+dMTj2tctgVEUV76aOpL0Fdl/vxtf7mpA7ezZeCExxOaH9evxzGwGnXF0xhkVdlATG0Oen22AK4Uu8PLdKwmEQdkLv/iVq9i4ZQvqJ092mCJorKlBv3VuKsXOjhXFG0mFG+Os0Z1LRTZGtOP2nlfVVmd/Py53dODTaBQnaMSZLGO+TzNG5zJ/PBF986qiGmNj3l6Zy++riQS6b9zAnMYDiKcZcySyGgPWORNJDmPE5CsmKvt3lUIY0ocYS/wuMzKEH5F9fY9Rf+BbtNOYPXPnYmBw0PxyAslhDAedYY7GuaIQhBf2e11lzFTm/S0e8WcvXMAlTtLe73z/5DAmkKnAGBcFxrgoMMZFgTEuCoxxUWCMiwJjpALeA30L14MkE4mbAAAAAElFTkSuQmCC</raw>
      </picture>
    </region>
    <region id="85" left="360" top="3312" width="147" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">Z</e>
          <e type="function" args="1">Min</e>
        </input>
        <result action="numeric">
          <e type="operand">1.7303</e>
          <e type="operator" args="1">-</e>
        </result>
      </math>
    </region>
    <region id="86" left="351" top="3357" width="379" height="50" color="#000000" bgColor="#ffffff">
      <writer lang="eng" wrap="Custom" width="365"><![CDATA[<span style="font-family: 'Cambria'; font-size: 11pt; font-weight: normal; font-style: normal; color: Blue; background-color: Transparent; vertical-align: baseline; text-align: justify; margin-left: 0pt; text-indent: 0pt; line-height: 115%">
<div style="text-align: left"><span style="font-size: 12pt">To extract values satisfying  above <strong><span style="color: Black">condition statements</span></strong>, it is necessary to <strong><span style="color: Black">round off  Z values to  2 decimals.</span></strong></span></div></span>]]></writer>
    </region>
    <region id="87" left="351" top="3420" width="123" height="32" color="#000000" bgColor="#ffff00" fontSize="10">
      <math optimize="2" decimalPlaces="2">
        <input>
          <e type="operand">Z</e>
          <e type="operand">Z</e>
          <e type="operand">2</e>
          <e type="function" args="2">round</e>
          <e type="function" args="1">vectorize</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="88" left="612" top="3420" width="29" height="73" color="#000000" bgColor="#ffe1e1">
      <picture>
        <raw format="png" encoding="base64">iVBORw0KGgoAAAANSUhEUgAAABUAAABBCAYAAAA+CO93AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAACjSURBVFhH7cxbDoQgEERR9r9QtsGEBIyD1VSJjx/rJJ202t5URCnJp8VRjaNt4xzVONo27v1oDaFhHI2hYB3G0RgK1mEcjaFgHea5KPpxZbptQ0dnp7stuvf3hI7V2bslOjq8QT+xGV2OIvAt+jka5FI0En5BkXEiy9GZ6VcU6zOzFGXoxStRhXT1aFQlXzraNs5RjaNt4xzVfDCac27bGaX8AAmY5b62nplJAAAAAElFTkSuQmCC</raw>
      </picture>
    </region>
    <region id="89" left="351" top="3456" width="166" height="31" color="#000000" bgColor="#ffffff" fontSize="10">
      <math decimalPlaces="2">
        <input>
          <e type="operand">n.tot</e>
          <e type="operand">Z</e>
          <e type="function" args="1">rows</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">694</e>
        </result>
      </math>
    </region>
    <region id="90" left="351" top="3501" width="127" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math decimalPlaces="3" trailingZeros="true">
        <input>
          <e type="operand">Z</e>
          <e type="function" args="1">Max</e>
        </input>
        <result action="numeric">
          <e type="operand">2.250</e>
        </result>
      </math>
    </region>
    <region id="91" left="351" top="3528" width="139" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math decimalPlaces="3" trailingZeros="true">
        <input>
          <e type="operand">Z</e>
          <e type="function" args="1">Min</e>
        </input>
        <result action="numeric">
          <e type="operand">1.730</e>
          <e type="operator" args="1">-</e>
        </result>
      </math>
    </region>
    <region id="92" left="522" top="3528" width="203" height="31" color="#000000" bgColor="#ffff00" fontSize="10">
      <math decimalPlaces="1">
        <input>
          <e type="operand">ΔT</e>
          <e type="operand">0</e>
          <e type="function" args="1">time</e>
          <e type="operand">t.0</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">28.1</e>
          <e type="operand" style="unit">s</e>
          <e type="operator" args="2">*</e>
        </result>
      </math>
    </region>
    <region id="93" left="18" top="3573" width="214" height="149" color="#000000" bgColor="#e1ffff" fontSize="10">
      <math optimize="2" decimalPlaces="2">
        <description active="true" position="Top" lang="eng">
          <p>Condition statements</p>
        </description>
        <input>
          <e type="operand">x</e>
          <e type="function" args="1">cond1</e>
          <e type="operand">x</e>
          <e type="operand">2.0</e>
          <e type="operator" args="2">≥</e>
          <e type="operator" args="2">:</e>
          <e type="operand">x</e>
          <e type="function" args="1">cond2</e>
          <e type="operand">x</e>
          <e type="operand">1.5</e>
          <e type="operand">1.99</e>
          <e type="function" args="3">lele</e>
          <e type="operator" args="2">:</e>
          <e type="operand">x</e>
          <e type="function" args="1">cond3</e>
          <e type="operand">x</e>
          <e type="operand">1.0</e>
          <e type="operand">1.49</e>
          <e type="function" args="3">lele</e>
          <e type="operator" args="2">:</e>
          <e type="operand">x</e>
          <e type="function" args="1">cond4</e>
          <e type="operand">x</e>
          <e type="operand">0.99</e>
          <e type="operator" args="1">-</e>
          <e type="operand">0.99</e>
          <e type="function" args="3">lele</e>
          <e type="operator" args="2">:</e>
          <e type="operand">x</e>
          <e type="function" args="1">cond5</e>
          <e type="operand">x</e>
          <e type="operand">1.49</e>
          <e type="operator" args="1">-</e>
          <e type="operand">1.0</e>
          <e type="operator" args="1">-</e>
          <e type="function" args="3">lele</e>
          <e type="operator" args="2">:</e>
          <e type="operand">x</e>
          <e type="function" args="1">cond6</e>
          <e type="operand">x</e>
          <e type="operand">1.99</e>
          <e type="operator" args="1">-</e>
          <e type="operand">1.5</e>
          <e type="operator" args="1">-</e>
          <e type="function" args="3">lele</e>
          <e type="operator" args="2">:</e>
          <e type="operand">x</e>
          <e type="function" args="1">cond7</e>
          <e type="operand">x</e>
          <e type="operand">2.0</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">≤</e>
          <e type="operator" args="2">:</e>
          <e type="operand">7</e>
          <e type="operand">1</e>
          <e type="function" args="9">line</e>
        </input>
      </math>
    </region>
    <region id="94" left="342" top="3573" width="128" height="167" color="#000000" bgColor="#ffffff" fontSize="10">
      <math matrixOptions="0,0,1,8">
        <description active="true" position="Top" lang="eng">
          <p>Example: Vector 
satisfying "cond4"</p>
        </description>
        <input>
          <e type="operand">Z</e>
          <e type="function" args="1">cond4</e>
          <e type="function" args="1">vectorize</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="operand">0</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="operand">0</e>
          <e type="operand">0</e>
          <e type="operand">8</e>
          <e type="operand">1</e>
          <e type="function" args="10">mat</e>
        </result>
      </math>
    </region>
    <region id="95" left="576" top="3582" width="115" height="221" color="#000000" bgColor="#e9e9e9" fontSize="10">
      <math decimalPlaces="3" trailingZeros="true" matrixOptions="0,0,1,11">
        <input>
          <e type="operand">Z</e>
        </input>
        <result action="numeric">
          <e type="operand">0.980</e>
          <e type="operator" args="1">-</e>
          <e type="operand">0.690</e>
          <e type="operand">0.560</e>
          <e type="operator" args="1">-</e>
          <e type="operand">1.070</e>
          <e type="operand">0.880</e>
          <e type="operand">0.290</e>
          <e type="operand">1.390</e>
          <e type="operand">1.210</e>
          <e type="operator" args="1">-</e>
          <e type="operand">0.160</e>
          <e type="operand">0.040</e>
          <e type="operator" args="1">-</e>
          <e type="operand">2.020</e>
          <e type="operand">11</e>
          <e type="operand">1</e>
          <e type="function" args="13">mat</e>
        </result>
      </math>
    </region>
    <region id="96" left="243" top="3654" width="78" height="39" color="#000000" bgColor="#ffffff">
      <picture>
        <raw format="png" encoding="base64">iVBORw0KGgoAAAANSUhEUgAAAEYAAAAfCAYAAABar7u7AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAQGSURBVGhD7ZhfaBRXGMUXWtNYdKX4pAZEoQQUlVDRhyhi3KhtjVkMKFZIHyquoBJkEcEHkaalVESjJYo2YI0PGhB9KsWCRsHSNo1IDWpUkihKgn+rJSa7szNzPHf+kN2dO5vJ7mbIw5zhl93Nzv2+7565c+feDSGQVIExLgqMcZEvxmg8ZPrtzh0cO38eqvV5IslhjM5D0RSktFTBKAaMxSNdzSR2uhW758/DsrIyvHj71vi/LEYxUcdwCRzGqJqKpJqEqjNMHiT0hEFSHWa0zJHycedtNJeWoHvGTPwZYmpysrISb6zvRTtZzGKgqObF9iqHMZqmQdEVafBcpEiSyXW2z9aC1lYsDYdRbpmRTuO6dXhqnfdOHzJiJfWkJ8ZSp2GM7qMxRkKOMI41MwDVOfg/TrW3Y/nWrfiutBR/SAyxufjVZqtVftJEDR7q9c0YkSihcujz1dZ9cpyE6upwc1IJOiVGZPPZNzEsYZsaUu2BCKknp3Wdf00lWYema9I6bQo2Rswxw6lhJDTOFa5w/lAzb5nbpCS6Afc4mXZIDHDjAemZVYZH08LomzJlVHqnTsXTjyZhHtuduPWvkXtYeWfObdJaLWieeBB4FatzSjyZch22npOj5JPYduxkoZetzvrBXfL7S1GBkFlTeo2yYyxilvx1reMftDQ3Y9vixcYoeZNW+HjTx5Hzl1XHeIhZRtTT04Pa2lpULqvE2shaVEeqHURWRfDF6s+xsiaKXyUF+8UAWVH/NaJ1m1BdtVJaq2BNZA2qVlVh0YJFaGtrs3o6uphlRNevXWfOkGc2Tp+O43zlB9/pIqHwNL511uVGPB63ejq6mCV/9ZKFDQ34kUn/JszuG72k67/XZiHjIGYpXE/I/pu38NMvLQh/8KGjE7nYW1GBw6dacJJzVVNTE47mQHx/jPx88CB2HjqELvkWrChidZkSj2uxjvGCSriQsVqa2sGNYcu5c6goL8dDiRHZNMVixtOtEIk1iqy+dMTj2tctgVEUV76aOpL0Fdl/vxtf7mpA7ezZeCExxOaH9evxzGwGnXF0xhkVdlATG0Oen22AK4Uu8PLdKwmEQdkLv/iVq9i4ZQvqJ092mCJorKlBv3VuKsXOjhXFG0mFG+Os0Z1LRTZGtOP2nlfVVmd/Py53dODTaBQnaMSZLGO+TzNG5zJ/PBF986qiGmNj3l6Zy++riQS6b9zAnMYDiKcZcySyGgPWORNJDmPE5CsmKvt3lUIY0ocYS/wuMzKEH5F9fY9Rf+BbtNOYPXPnYmBw0PxyAslhDAedYY7GuaIQhBf2e11lzFTm/S0e8WcvXMAlTtLe73z/5DAmkKnAGBcFxrgoMMZFgTEuCoxxUWCMiwJjpALeA30L14MkE4mbAAAAAElFTkSuQmCC</raw>
      </picture>
    </region>
    <region id="97" left="18" top="3798" width="225" height="149" color="#000000" bgColor="#ffd5ff" fontSize="10">
      <math optimize="2">
        <description active="true" position="Top" lang="eng">
          <p>Very handy &amp; powerful. Using 
a vector of All Conditions</p>
        </description>
        <input>
          <e type="operand">cc</e>
          <e type="function" args="1">All_Conds</e>
          <e type="operand">cc</e>
          <e type="function" args="1">cond1</e>
          <e type="operand">cc</e>
          <e type="function" args="1">cond2</e>
          <e type="operand">cc</e>
          <e type="function" args="1">cond3</e>
          <e type="operand">cc</e>
          <e type="function" args="1">cond4</e>
          <e type="operand">cc</e>
          <e type="function" args="1">cond5</e>
          <e type="operand">cc</e>
          <e type="function" args="1">cond6</e>
          <e type="operand">cc</e>
          <e type="function" args="1">cond7</e>
          <e type="operand">7</e>
          <e type="operand">1</e>
          <e type="function" args="9">mat</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="98" left="1071" top="3798" width="217" height="191" color="#000000" bgColor="#ffd5ff" fontSize="10">
      <math evaluate="false" optimize="2">
        <description active="true" position="Top" lang="eng">
          <p>Not necessary to vectorize 
each element</p>
        </description>
        <input>
          <e type="operand">cc</e>
          <e type="function" args="1">All_Conds</e>
          <e type="operand">cc</e>
          <e type="function" args="1">cond1</e>
          <e type="function" args="1">vectorize</e>
          <e type="operand">cc</e>
          <e type="function" args="1">cond2</e>
          <e type="function" args="1">vectorize</e>
          <e type="operand">cc</e>
          <e type="function" args="1">cond3</e>
          <e type="function" args="1">vectorize</e>
          <e type="operand">cc</e>
          <e type="function" args="1">cond4</e>
          <e type="function" args="1">vectorize</e>
          <e type="operand">cc</e>
          <e type="function" args="1">cond5</e>
          <e type="function" args="1">vectorize</e>
          <e type="operand">cc</e>
          <e type="function" args="1">cond6</e>
          <e type="function" args="1">vectorize</e>
          <e type="operand">cc</e>
          <e type="function" args="1">cond7</e>
          <e type="function" args="1">vectorize</e>
          <e type="operand">7</e>
          <e type="operand">1</e>
          <e type="function" args="9">mat</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="99" left="243" top="3825" width="251" height="135" color="#000000" bgColor="#e1ffc4" fontSize="10">
      <math decimalPlaces="2">
        <description active="true" position="Top" lang="eng">
          <p>SPI: using vectorize function</p>
        </description>
        <input>
          <e type="operand">SPI</e>
          <e type="operand">Z</e>
          <e type="function" args="1">All_Conds</e>
          <e type="function" args="1">vectorize</e>
          <e type="function" args="1">sum</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">9</e>
          <e type="operand">26</e>
          <e type="operand">80</e>
          <e type="operand">507</e>
          <e type="operand">32</e>
          <e type="operand">40</e>
          <e type="operand">0</e>
          <e type="operand">7</e>
          <e type="operand">1</e>
          <e type="function" args="9">mat</e>
        </result>
      </math>
    </region>
    <region id="100" left="495" top="3825" width="230" height="135" color="#000000" bgColor="#e1ffc4" fontSize="10">
      <math decimalPlaces="2">
        <description active="true" position="Top" lang="eng">
          <p>Probability vector (%)</p>
        </description>
        <input>
          <e type="operand">Prr</e>
          <e type="operand">SPI</e>
          <e type="operand">SPI</e>
          <e type="function" args="1">sum</e>
          <e type="operator" args="2">/</e>
          <e type="operand">100</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">1.3</e>
          <e type="operand">3.75</e>
          <e type="operand">11.53</e>
          <e type="operand">73.05</e>
          <e type="operand">4.61</e>
          <e type="operand">5.76</e>
          <e type="operand">0</e>
          <e type="operand">7</e>
          <e type="operand">1</e>
          <e type="function" args="9">mat</e>
        </result>
      </math>
    </region>
    <region id="101" left="747" top="3825" width="271" height="135" color="#000000" bgColor="#ffe0c1" fontSize="10">
      <math decimalPlaces="2">
        <description active="true" position="Top" lang="eng">
          <p>Alternatively. This looks better</p>
        </description>
        <input>
          <e type="operand">Z</e>
          <e type="function" args="1">All_Conds</e>
          <e type="function" args="1">vectorize</e>
          <e type="function" args="1">Mean</e>
          <e type="operand">100</e>
          <e type="operator" args="2">*</e>
        </input>
        <result action="numeric">
          <e type="operand">1.3</e>
          <e type="operand">3.75</e>
          <e type="operand">11.53</e>
          <e type="operand">73.05</e>
          <e type="operand">4.61</e>
          <e type="operand">5.76</e>
          <e type="operand">0</e>
          <e type="operand">7</e>
          <e type="operand">1</e>
          <e type="function" args="9">mat</e>
        </result>
      </math>
    </region>
    <region id="102" left="288" top="3987" width="160" height="37" color="#000000" bgColor="#ffffff" fontSize="10">
      <math decimalPlaces="2">
        <description active="true" position="Top" lang="eng">
          <p>cond(4) total</p>
        </description>
        <input>
          <e type="operand">Z</e>
          <e type="function" args="1">cond4</e>
          <e type="function" args="1">vectorize</e>
          <e type="function" args="1">sum</e>
        </input>
        <result action="numeric">
          <e type="operand">507</e>
        </result>
      </math>
    </region>
    <region id="103" left="441" top="3987" width="34" height="66" color="#000000" bgColor="#ffffff">
      <picture>
        <raw format="png" encoding="base64">iVBORw0KGgoAAAANSUhEUgAAACgAAABWCAYAAAC91tTcAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAOtSURBVGhD7ZptSFNRGMd97YMiBCqiYPRFPyjEqA8WCeUkpgmSYI7mGy1BJ71QIGqmw8QyktREJfANChaIiBAK4acskKBPJihYEYKSucryZVPm03PdGdnupvfe8wj7cH7wx/tcznnuz83dnTMXBAGOEORFCPIiBHk5NEGn0wkOhwNcLhc7ow1SQbvdzo4AVlZWYGlpCba2ttgZbZAKJicnQ3l5OasAtre32ZF2SAWDgoIgLS2NVTSQCoaHh0NhYSGraCAXLC4uZhUNpIJhYWFCkAshyIsQ5EUI8iIEeZEETSYTq2ggFZRWMxaLhVU00ApGRcFNq5VVNJAKHtXp4B0+iq9mZtgZfsgEFzEv4+Kk5xmeTE66TxJAJqhvaIBplJME9e3twLdV+geJ4NfNTbiUmLgrJ+UhxlRVBc5A2ZNc7+2Fu0zOkyMGw+7TzguJoK6i4j85T+51dbER2uEWrB8agnq8QfsSPFFZCT/ZOK1wCd7o7oa2yEiZmCfvMXeamthobWAnbTgxT2NjZVLeOZaUBG8XFtyTNIBdtDGHeR0dLRPyzgbmWl0d7LinqQa7qOcP5qReD9+8ZPylBv8MRmdn3ZNVgh3U8xHzJjhYJuIvvzCP+/vdk1WCHdRjbm6GZS+Jg3I8JQUm5udZB+XgbHX0TEzArYgImcBBsWPaBgZYF+XgbOVIb1xnCwpg0eviSvMgPh6seN/cVPGhJs5UTo3Ntruc8nVxpSnKzISl9XXW8WBwljI2dnYgLzdXdkG1yU5IgP6pKdb1YHCWMuz4W2empsJ3vMg85hPLF4wL40vGgfnMModZx0jnyzMy4LfDwTrvD85QTs/ICGTjMiqnpQUud3TAFVwMWIaH4aLZDM/Zxfcm22iEytFRuNrXB3k43tzYCLb8fHjU2go/1tZY1/1RJeiP+/jKtoaGygRvDw6yEdohEcyqrvZ5XzxTVrb7yueBRFCPgt5yHkHepT+J4PnaWpmcEFSDEORFCPIS8IIXpE+0fAiew20nLySCutJSmZyU1JwcxYsCf5AIni4qgtE9YplxcfACf55KT4fF5WU2ShskgpPT09A0Ngb1KFWSlQXPPnyApt5esI2Pa95ueiAR9BAWEwOtKEYJqWAwbkXNuDakhPYRDPRP+cU/cngRgrwIQV6EIC9CkJeAF5S+XFZSUsIqGkgFQ0JCwGg0sooGUkHpKwEGg4FVNJAKluLepLOzk1U0kAqurq6yIzpIBQ8DIciLEORFCPIS4IIAfwFy/4Lug3LzdAAAAABJRU5ErkJggg==</raw>
      </picture>
    </region>
    <region id="104" left="666" top="3987" width="34" height="66" color="#000000" bgColor="#ffffff">
      <picture>
        <raw format="png" encoding="base64">iVBORw0KGgoAAAANSUhEUgAAACgAAABWCAYAAAC91tTcAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAOtSURBVGhD7ZptSFNRGMd97YMiBCqiYPRFPyjEqA8WCeUkpgmSYI7mGy1BJ71QIGqmw8QyktREJfANChaIiBAK4acskKBPJihYEYKSucryZVPm03PdGdnupvfe8wj7cH7wx/tcznnuz83dnTMXBAGOEORFCPIiBHk5NEGn0wkOhwNcLhc7ow1SQbvdzo4AVlZWYGlpCba2ttgZbZAKJicnQ3l5OasAtre32ZF2SAWDgoIgLS2NVTSQCoaHh0NhYSGraCAXLC4uZhUNpIJhYWFCkAshyIsQ5EUI8iIEeZEETSYTq2ggFZRWMxaLhVU00ApGRcFNq5VVNJAKHtXp4B0+iq9mZtgZfsgEFzEv4+Kk5xmeTE66TxJAJqhvaIBplJME9e3twLdV+geJ4NfNTbiUmLgrJ+UhxlRVBc5A2ZNc7+2Fu0zOkyMGw+7TzguJoK6i4j85T+51dbER2uEWrB8agnq8QfsSPFFZCT/ZOK1wCd7o7oa2yEiZmCfvMXeamthobWAnbTgxT2NjZVLeOZaUBG8XFtyTNIBdtDGHeR0dLRPyzgbmWl0d7LinqQa7qOcP5qReD9+8ZPylBv8MRmdn3ZNVgh3U8xHzJjhYJuIvvzCP+/vdk1WCHdRjbm6GZS+Jg3I8JQUm5udZB+XgbHX0TEzArYgImcBBsWPaBgZYF+XgbOVIb1xnCwpg0eviSvMgPh6seN/cVPGhJs5UTo3Ntruc8nVxpSnKzISl9XXW8WBwljI2dnYgLzdXdkG1yU5IgP6pKdb1YHCWMuz4W2empsJ3vMg85hPLF4wL40vGgfnMModZx0jnyzMy4LfDwTrvD85QTs/ICGTjMiqnpQUud3TAFVwMWIaH4aLZDM/Zxfcm22iEytFRuNrXB3k43tzYCLb8fHjU2go/1tZY1/1RJeiP+/jKtoaGygRvDw6yEdohEcyqrvZ5XzxTVrb7yueBRFCPgt5yHkHepT+J4PnaWpmcEFSDEORFCPIS8IIXpE+0fAiew20nLySCutJSmZyU1JwcxYsCf5AIni4qgtE9YplxcfACf55KT4fF5WU2ShskgpPT09A0Ngb1KFWSlQXPPnyApt5esI2Pa95ueiAR9BAWEwOtKEYJqWAwbkXNuDakhPYRDPRP+cU/cngRgrwIQV6EIC9CkJeAF5S+XFZSUsIqGkgFQ0JCwGg0sooGUkHpKwEGg4FVNJAKluLepLOzk1U0kAqurq6yIzpIBQ8DIciLEORFCPIS4IIAfwFy/4Lug3LzdAAAAABJRU5ErkJggg==</raw>
      </picture>
    </region>
    <region id="105" left="495" top="4005" width="144" height="37" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <description active="false" position="Top" lang="eng">
          <p></p>
        </description>
        <input>
          <e type="operand">Z</e>
          <e type="function" args="1">cond7</e>
          <e type="function" args="1">vectorize</e>
          <e type="function" args="1">sum</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
        </result>
      </math>
    </region>
    <region id="106" left="747" top="4023" width="224" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
      <math decimalPlaces="2">
        <input>
          <e type="operand">Z</e>
          <e type="function" args="1">cond4</e>
          <e type="function" args="1">vectorize</e>
          <e type="function" args="1">Mean</e>
          <e type="operand">100</e>
          <e type="operator" args="2">*</e>
        </input>
        <result action="numeric">
          <e type="operand">73.05</e>
        </result>
      </math>
    </region>
    <region id="107" left="495" top="4050" width="176" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
      <math decimalPlaces="2">
        <input>
          <e type="operand">Z</e>
          <e type="function" args="1">cond7</e>
          <e type="function" args="1">vectorize</e>
          <e type="function" args="1">rows</e>
        </input>
        <result action="numeric">
          <e type="operand">694</e>
        </result>
      </math>
    </region>
    <region id="108" left="18" top="4095" width="302" height="135" color="#000000" bgColor="#e6e6e6" fontSize="10">
      <math decimalPlaces="2">
        <description active="true" position="Top" lang="eng">
          <p>Results</p>
        </description>
        <input>
          <e type="operand">Res</e>
          <e type="operand">SPI</e>
          <e type="operand">Prr</e>
          <e type="function" args="2">augment</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">9</e>
          <e type="operand">1.3</e>
          <e type="operand">26</e>
          <e type="operand">3.75</e>
          <e type="operand">80</e>
          <e type="operand">11.53</e>
          <e type="operand">507</e>
          <e type="operand">73.05</e>
          <e type="operand">32</e>
          <e type="operand">4.61</e>
          <e type="operand">40</e>
          <e type="operand">5.76</e>
          <e type="operand">0</e>
          <e type="operand">0</e>
          <e type="operand">7</e>
          <e type="operand">2</e>
          <e type="function" args="16">mat</e>
        </result>
      </math>
    </region>
    <region id="109" left="747" top="4104" width="138" height="41" color="#000000" bgColor="#ffffff" fontSize="10">
      <math decimalPlaces="2">
        <input>
          <e type="operand">507</e>
          <e type="operand">694</e>
          <e type="operator" args="2">/</e>
          <e type="operand">100</e>
          <e type="operator" args="2">*</e>
        </input>
        <result action="numeric">
          <e type="operand">73.05</e>
        </result>
      </math>
    </region>
    <region id="110" left="369" top="4113" width="119" height="36" color="#000000" bgColor="#ffffff" fontSize="10">
      <math decimalPlaces="2">
        <description active="true" position="Top" lang="eng">
          <p>Sum of SPI</p>
        </description>
        <input>
          <e type="operand">SPI</e>
          <e type="function" args="1">sum</e>
        </input>
        <result action="numeric">
          <e type="operand">694</e>
        </result>
      </math>
    </region>
    <region id="111" left="540" top="4140" width="72" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">n</e>
        </input>
        <result action="numeric">
          <e type="operand">694</e>
        </result>
      </math>
    </region>
    <region id="112" left="648" top="4140" width="32" height="30" color="#000000" bgColor="#ffffff">
      <writer lang="eng"><![CDATA[<span style="font-family: 'Calibri'; font-size: 12pt; font-weight: normal; font-style: normal; color: Blue; background-color: Transparent; vertical-align: baseline; text-align: left; margin-left: 0pt; text-indent: 0pt; line-height: 115%">
<div><strong>OK</strong></div></span>]]></writer>
    </region>
    <region id="113" left="369" top="4185" width="119" height="36" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <description active="true" position="Top" lang="eng">
          <p>Sum of probabilities</p>
        </description>
        <input>
          <e type="operand">Prr</e>
          <e type="function" args="1">sum</e>
        </input>
        <result action="numeric">
          <e type="operand">100</e>
        </result>
      </math>
    </region>
    <region id="114" left="648" top="4212" width="32" height="30" color="#000000" bgColor="#ffffff">
      <writer lang="eng"><![CDATA[<span style="font-family: 'Calibri'; font-size: 12pt; font-weight: normal; font-style: normal; color: Blue; background-color: Transparent; vertical-align: baseline; text-align: left; margin-left: 0pt; text-indent: 0pt; line-height: 115%">
<div><strong>OK</strong></div></span>]]></writer>
    </region>
    <region id="115" left="459" top="4248" width="211" height="31" color="#000000" bgColor="#ffff00" fontSize="10">
      <math decimalPlaces="1">
        <input>
          <e type="operand">ΔT1</e>
          <e type="operand">0</e>
          <e type="function" args="1">time</e>
          <e type="operand">t.0</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">28.5</e>
          <e type="operand" style="unit">s</e>
          <e type="operator" args="2">*</e>
        </result>
      </math>
    </region>
    <region id="116" left="18" top="4293" width="242" height="33" color="#000000" bgColor="#ffffff">
      <writer lang="eng"><![CDATA[<span style="font-family: 'Calibri'; font-size: 12pt; font-weight: normal; font-style: normal; color: Blue; background-color: Transparent; vertical-align: baseline; text-align: left; margin-left: 0pt; text-indent: 0pt; line-height: 115%">
<div><span style="font-size: 14pt"><strong><span style="color: Black">6. Data for Table format for Results </span></strong></span></div></span>]]></writer>
    </region>
    <region id="117" left="18" top="4347" width="466" height="45" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <description active="true" position="Left" lang="eng">
          <p>Define</p>
        </description>
        <input>
          <e type="operand">sp</e>
          <e type="operand">n_day</e>
          <e type="operand">30</e>
          <e type="operator" args="2">/</e>
          <e type="function" args="1">var2str</e>
          <e type="operand" style="string"> Month SPI</e>
          <e type="function" args="2">concat</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">1 Month SPI</e>
        </result>
      </math>
    </region>
    <region id="118" left="18" top="4410" width="489" height="27" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <description active="true" position="Left" lang="eng">
          <p>Define Header 
of the TABLE</p>
        </description>
        <input>
          <e type="operand">my_header</e>
          <e type="operand">sp</e>
          <e type="operand" style="string">Category</e>
          <e type="operand" style="string">Number of Times</e>
          <e type="operand" style="string">Probability %</e>
          <e type="operand">1</e>
          <e type="operand">4</e>
          <e type="function" args="6">mat</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="119" left="18" top="4464" width="677" height="51" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">tp</e>
          <e type="operand" style="string">Tot. Period = </e>
          <e type="operand">period.tot</e>
          <e type="operand" style="unit">yr</e>
          <e type="operator" args="2">/</e>
          <e type="operand">0</e>
          <e type="function" args="2">var2str</e>
          <e type="operand" style="string"> yr.</e>
          <e type="function" args="3">concat</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">Tot. Period = 58 yr.</e>
        </result>
      </math>
    </region>
    <region id="120" left="18" top="4536" width="632" height="39" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <description active="true" position="Left" lang="eng">
          <p>Footer of 
the Table</p>
        </description>
        <input>
          <e type="operand">my_footer</e>
          <e type="operand">tp</e>
          <e type="operand" style="string">---</e>
          <e type="operand">SPI</e>
          <e type="function" args="1">sum</e>
          <e type="operand">Prr</e>
          <e type="function" args="1">sum</e>
          <e type="operand">1</e>
          <e type="operand">4</e>
          <e type="function" args="6">mat</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">Tot. Period = 58 yr.</e>
          <e type="operand" style="string">---</e>
          <e type="operand">694</e>
          <e type="operand">100</e>
          <e type="operand">1</e>
          <e type="operand">4</e>
          <e type="function" args="6">mat</e>
        </result>
      </math>
    </region>
    <region id="121" left="18" top="4608" width="331" height="135" color="#000000" bgColor="#ffffff" fontSize="10">
      <math decimalPlaces="2">
        <description active="true" position="Left" lang="eng">
          <p>Define 
Category</p>
        </description>
        <input>
          <e type="operand">Cat</e>
          <e type="operand" style="string">2.0+</e>
          <e type="operand" style="string">Extremely Wet</e>
          <e type="operand" style="string">1.5 to 1.99</e>
          <e type="operand" style="string">Very Wet</e>
          <e type="operand" style="string">1.0 to 1.49</e>
          <e type="operand" style="string">Moderately Wet</e>
          <e type="operand" style="string">-0.99 to +0.99</e>
          <e type="operand" style="string">Near Normal</e>
          <e type="operand" style="string">-1.0 to -1.49</e>
          <e type="operand" style="string">Moderately Dry</e>
          <e type="operand" style="string">-1.5 to -1.99</e>
          <e type="operand" style="string">Severely Dry</e>
          <e type="operand" style="string">≤ -2.0</e>
          <e type="operand" style="string">Extremely Dry</e>
          <e type="operand">7</e>
          <e type="operand">2</e>
          <e type="function" args="16">mat</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="122" left="756" top="4716" width="283" height="31" color="#000000" bgColor="#ffffff" fontSize="10">
      <math decimalPlaces="2">
        <description active="true" position="Top" lang="eng">
          <p>To find 90th percentile</p>
        </description>
        <input>
          <e type="operand">P.90</e>
          <e type="operand">0.90</e>
          <e type="operand">76</e>
          <e type="operand">8</e>
          <e type="function" args="3">ICDF.Normal</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">86.25</e>
        </result>
      </math>
    </region>
    <region id="123" left="1233" top="4716" width="209" height="32" color="#000000" bgColor="#ffffff" fontSize="10">
      <math decimalPlaces="2">
        <description active="true" position="Top" lang="eng">
          <p>Reverse</p>
        </description>
        <input>
          <e type="operand">P.90</e>
          <e type="operand">76</e>
          <e type="operand">8</e>
          <e type="function" args="3">CDF.Normal</e>
        </input>
        <result action="numeric">
          <e type="operand">0.9</e>
        </result>
      </math>
    </region>
    <region id="124" left="1044" top="4725" width="88" height="46" color="#000000" bgColor="#ffffff">
      <picture>
        <raw format="png" encoding="base64">iVBORw0KGgoAAAANSUhEUgAAAFAAAAAmCAYAAABTahxxAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAS+SURBVGhD7Zjva1tVGMcj3aBB5outdk27zheDSTex2m5LgvgDnNuLQbEKyqA6Zcy/oNUXFip2bulaXFtwaIuxqEVGX9jKUIeWucF+OGRjomyIuMIo0lIztjG6JPfer89zcm+Sm5w2uTlpksL9hk9vae455znfnh/POR64UpJroKJcAxVVcQbOE5HEr6tCNgM1+sTiMRiGgbgWLymGbogYagIBBDwePDcwgIPhsPhbumJaLImsnmIQ08kD+rAXuWQzkAtpmgbd0BE1oogZFGgJ4LY0XRMx7D1ymKKisIh2YsfYGC7PzOC32VnxvSV+P25QZyX1qRLX46INJQM5OM2gMVkCRFumgc+eOJE0kAl5qjBaVYVH/UF8R9//K95KiEctdzY5KqnzsvqdsqoN3DU4ZDPQ4ivi56Ym7Nn2BIYvXhTvWuK4OWY2UVa/U8piIAcf1aIFkzTwuNzAqPmcJh558y28RyZ+efaMKGOJ1y+uS9XIkhvIAfPGo6ZE+edH7FNYxq/EpepqrGtuxS1Ryi6NYuf4C51FJTWQ35OJ7XAKa/fUZJZhS/Ep8cr+19GxvwO9Fy6ZNSQkprVOmyGPbkncy1EyA8WORdOGdebmDF7r6cHo4V6EjvXhqCNC6Ovvx9ffjGNzW1uWUbm4QbzQtB3jtIMf+GJMxJNSIiUTm0yeU7tgA6m4KMQGpq9Py6HFE2tX1+goBswO3SHuOuQeESdmiUyD8uGB+Xyc2HH+PMb+/geRWMIAHhj8Uxa/DM4DWY4NVFH3yQncMjtRTm4SV2tqsNe7Djt/Om1Gt3KiVu3iKVyI3j93FrczOlNuxolfiE+IU9eumZEWV9SSXR5qrLGhEb56X140+IiWVmzb/BhiVDazE5XAdcJX7UXd1q1oqK+X9sNGgw+1NbXYWLsR9+/eN52Ri1qwy+v1IhgIwh/w50XQT8+2l7Gn+emswCuB08TRNw7gUPureOoZ7teurD5kEfSjpaUFzU82Y3Fx0XRGLmrFLt6pClFoaior+HKxQHQRIeKDl17EBTPGlRC1WByFvj+FhyjgMPERccQB1vsj69fjnTVrsgzJl+PEsQ0b0Od9GOO/r8yalylqOSWRxtAIFGlMnrcxvO1b4oM+nwxuENcd8hfBY7+R87gMY3LBOy8/366rwxWqI/3CgcUnE1nsS6GUSOuaLgyUJZjLUSy1T5y0mbMUcwTnj5cJT/hzvDs/j8k79qtYYZyDBNpCLZF2OAItrLNnIXDiym2zdg4PZpklo3PTJnw4+DF+7OnFjEiUUxL18umD4pIZlIuCDWTxyaLkN9Lx1I20f0h+G2PhoRSrY8sWdA0PY4He10WphHj28JIiM8UJSgZa4ulcyg8tHKJdPxmTadpnRA+lV+G1azF4+z8sRCK4R6YnRf/wGB/BzNkgM8UJRTGwlGLzLANbB/qFaRrB61yEGNq3Dz/Qd3PijZQMWmrEGlcE09JZ1Qbu7uwUBnYT26en0T03J3bWdEX11MFfdDhjTVWlLJcJxdLEn39g8uAhfDsyYv4lJbJKbDZ8e813ffxcKVjWSFxOFWcg6wGRO/TKUEUauJrkGqgo10BFuQYqyjVQUa6BinINVJRroKJcAxXlGqgk4H89ODf5fXGxdAAAAABJRU5ErkJggg==</raw>
      </picture>
    </region>
    <region id="125" left="18" top="4770" width="570" height="135" color="#000000" bgColor="#ffffff" fontSize="10">
      <math decimalPlaces="2">
        <description active="true" position="Left" lang="eng">
          <p>Body of 
the Table</p>
        </description>
        <input>
          <e type="operand">Res</e>
          <e type="operand">Cat</e>
          <e type="operand">Res</e>
          <e type="function" args="2">augment</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">2.0+</e>
          <e type="operand" style="string">Extremely Wet</e>
          <e type="operand">9</e>
          <e type="operand">1.3</e>
          <e type="operand" style="string">1.5 to 1.99</e>
          <e type="operand" style="string">Very Wet</e>
          <e type="operand">26</e>
          <e type="operand">3.75</e>
          <e type="operand" style="string">1.0 to 1.49</e>
          <e type="operand" style="string">Moderately Wet</e>
          <e type="operand">80</e>
          <e type="operand">11.53</e>
          <e type="operand" style="string">-0.99 to +0.99</e>
          <e type="operand" style="string">Near Normal</e>
          <e type="operand">507</e>
          <e type="operand">73.05</e>
          <e type="operand" style="string">-1.0 to -1.49</e>
          <e type="operand" style="string">Moderately Dry</e>
          <e type="operand">32</e>
          <e type="operand">4.61</e>
          <e type="operand" style="string">-1.5 to -1.99</e>
          <e type="operand" style="string">Severely Dry</e>
          <e type="operand">40</e>
          <e type="operand">5.76</e>
          <e type="operand" style="string">≤ -2.0</e>
          <e type="operand" style="string">Extremely Dry</e>
          <e type="operand">0</e>
          <e type="operand">0</e>
          <e type="operand">7</e>
          <e type="operand">4</e>
          <e type="function" args="30">mat</e>
        </result>
      </math>
    </region>
    <region id="126" left="756" top="4797" width="259" height="31" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <description active="true" position="Top" lang="eng">
          <p>50th percentile is Mean</p>
        </description>
        <input>
          <e type="operand">P.50</e>
          <e type="operand">0.50</e>
          <e type="operand">76</e>
          <e type="operand">8</e>
          <e type="function" args="3">ICDF.Normal</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">76</e>
        </result>
      </math>
    </region>
    <region id="127" left="1233" top="4797" width="209" height="32" color="#000000" bgColor="#ffffff" fontSize="10">
      <math decimalPlaces="2">
        <description active="true" position="Top" lang="eng">
          <p>Reverse</p>
        </description>
        <input>
          <e type="operand">P.50</e>
          <e type="operand">76</e>
          <e type="operand">8</e>
          <e type="function" args="3">CDF.Normal</e>
        </input>
        <result action="numeric">
          <e type="operand">0.5</e>
        </result>
      </math>
    </region>
    <region id="128" left="1044" top="4815" width="88" height="46" color="#000000" bgColor="#ffffff">
      <picture>
        <raw format="png" encoding="base64">iVBORw0KGgoAAAANSUhEUgAAAFAAAAAmCAYAAABTahxxAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAS+SURBVGhD7Zjva1tVGMcj3aBB5outdk27zheDSTex2m5LgvgDnNuLQbEKyqA6Zcy/oNUXFip2bulaXFtwaIuxqEVGX9jKUIeWucF+OGRjomyIuMIo0lIztjG6JPfer89zcm+Sm5w2uTlpksL9hk9vae455znfnh/POR64UpJroKJcAxVVcQbOE5HEr6tCNgM1+sTiMRiGgbgWLymGbogYagIBBDwePDcwgIPhsPhbumJaLImsnmIQ08kD+rAXuWQzkAtpmgbd0BE1oogZFGgJ4LY0XRMx7D1ymKKisIh2YsfYGC7PzOC32VnxvSV+P25QZyX1qRLX46INJQM5OM2gMVkCRFumgc+eOJE0kAl5qjBaVYVH/UF8R9//K95KiEctdzY5KqnzsvqdsqoN3DU4ZDPQ4ivi56Ym7Nn2BIYvXhTvWuK4OWY2UVa/U8piIAcf1aIFkzTwuNzAqPmcJh558y28RyZ+efaMKGOJ1y+uS9XIkhvIAfPGo6ZE+edH7FNYxq/EpepqrGtuxS1Ryi6NYuf4C51FJTWQ35OJ7XAKa/fUZJZhS/Ep8cr+19GxvwO9Fy6ZNSQkprVOmyGPbkncy1EyA8WORdOGdebmDF7r6cHo4V6EjvXhqCNC6Ovvx9ffjGNzW1uWUbm4QbzQtB3jtIMf+GJMxJNSIiUTm0yeU7tgA6m4KMQGpq9Py6HFE2tX1+goBswO3SHuOuQeESdmiUyD8uGB+Xyc2HH+PMb+/geRWMIAHhj8Uxa/DM4DWY4NVFH3yQncMjtRTm4SV2tqsNe7Djt/Om1Gt3KiVu3iKVyI3j93FrczOlNuxolfiE+IU9eumZEWV9SSXR5qrLGhEb56X140+IiWVmzb/BhiVDazE5XAdcJX7UXd1q1oqK+X9sNGgw+1NbXYWLsR9+/eN52Ri1qwy+v1IhgIwh/w50XQT8+2l7Gn+emswCuB08TRNw7gUPureOoZ7teurD5kEfSjpaUFzU82Y3Fx0XRGLmrFLt6pClFoaior+HKxQHQRIeKDl17EBTPGlRC1WByFvj+FhyjgMPERccQB1vsj69fjnTVrsgzJl+PEsQ0b0Od9GOO/r8yalylqOSWRxtAIFGlMnrcxvO1b4oM+nwxuENcd8hfBY7+R87gMY3LBOy8/366rwxWqI/3CgcUnE1nsS6GUSOuaLgyUJZjLUSy1T5y0mbMUcwTnj5cJT/hzvDs/j8k79qtYYZyDBNpCLZF2OAItrLNnIXDiym2zdg4PZpklo3PTJnw4+DF+7OnFjEiUUxL18umD4pIZlIuCDWTxyaLkN9Lx1I20f0h+G2PhoRSrY8sWdA0PY4He10WphHj28JIiM8UJSgZa4ulcyg8tHKJdPxmTadpnRA+lV+G1azF4+z8sRCK4R6YnRf/wGB/BzNkgM8UJRTGwlGLzLANbB/qFaRrB61yEGNq3Dz/Qd3PijZQMWmrEGlcE09JZ1Qbu7uwUBnYT26en0T03J3bWdEX11MFfdDhjTVWlLJcJxdLEn39g8uAhfDsyYv4lJbJKbDZ8e813ffxcKVjWSFxOFWcg6wGRO/TKUEUauJrkGqgo10BFuQYqyjVQUa6BinINVJRroKJcAxXlGqgk4H89ODf5fXGxdAAAAABJRU5ErkJggg==</raw>
      </picture>
    </region>
    <region id="129" left="1161" top="4824" width="45" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="eng">
        <p>Mean</p>
      </text>
    </region>
    <region id="130" left="18" top="4932" width="75" height="33" color="#000000" bgColor="#ffffff">
      <writer lang="eng"><![CDATA[<span style="font-family: 'Calibri'; font-size: 12pt; font-weight: normal; font-style: normal; color: Blue; background-color: Transparent; vertical-align: baseline; text-align: left; margin-left: 0pt; text-indent: 0pt; line-height: 115%">
<div><span style="font-size: 14pt"><strong><span style="color: Black">7. Results</span></strong></span></div></span>]]></writer>
    </region>
    <region id="131" left="18" top="4977" width="553" height="273" color="#000000" bgColor="#ffffff" fontSize="10" showInputData="False">
      <table id="1" elementsOnDataSizeChange="10,10" focus="0,0;3,6" bgColor="White" borderSize="1,1" borderStyle="Solid,Solid" borderColor="Black,Black" frameBorderSize="1,1,1,1" frameBorderStyle="Solid,Solid,Solid,Solid" frameBorderColor="Black,Black,Black,Black" resizeFrame="5px #0080FF" resizeFrameInner="#000000 alpha:0" resizeFrameOuter="#0A0A0A alpha:130">
        <inputs>
          <e regions="columns">Cat</e>
          <e regions="columns">my_footer</e>
          <e regions="columns">my_header</e>
          <e regions="columns">ΔT1</e>
          <e regions="columns">Res</e>
          <e regions="columns">Prr</e>
          <e regions="columns">SPI</e>
          <e regions="columns">All_Conds</e>
          <e regions="columns">cond7</e>
          <e regions="columns">cond6</e>
          <e regions="columns">cond5</e>
          <e regions="columns">cond4</e>
          <e regions="columns">cond3</e>
          <e regions="columns">cond2</e>
          <e regions="columns">cond1</e>
          <e regions="columns">G</e>
          <e regions="columns">g</e>
          <e regions="columns">β</e>
          <e regions="columns">α</e>
          <e regions="columns">A</e>
          <e regions="columns">Pr.zero</e>
          <e regions="columns">LNX.mean</e>
          <e regions="columns">X.mean</e>
          <e regions="columns">ΔT</e>
          <e regions="columns">period.tot</e>
          <e regions="columns">n_day_total</e>
          <e regions="columns">t.0</e>
          <e regions="rows">my_footer</e>
          <e regions="rows">my_header</e>
          <e regions="rows">ΔT1</e>
          <e regions="rows">Res</e>
          <e regions="rows">Prr</e>
          <e regions="rows">SPI</e>
          <e regions="rows">All_Conds</e>
          <e regions="rows">cond7</e>
          <e regions="rows">cond6</e>
          <e regions="rows">cond5</e>
          <e regions="rows">cond4</e>
          <e regions="rows">cond3</e>
          <e regions="rows">cond2</e>
          <e regions="rows">cond1</e>
          <e regions="rows">Z</e>
          <e regions="rows">G1</e>
          <e regions="rows">g1</e>
          <e regions="rows">G</e>
          <e regions="rows">g</e>
          <e regions="rows">β</e>
          <e regions="rows">α</e>
          <e regions="rows">A</e>
          <e regions="rows">Pr.zero</e>
          <e regions="rows">LNX.mean</e>
          <e regions="rows">X.mean</e>
          <e regions="rows">pos</e>
          <e regions="rows">LNX</e>
          <e regions="rows">X</e>
          <e regions="rows">ΔT</e>
          <e regions="rows">period.tot</e>
          <e regions="rows">n_day_total</e>
          <e regions="rows">RF_DATA</e>
          <e regions="rows">t.0</e>
          <e regions="units">ΔT1</e>
          <e regions="units">Prr</e>
          <e regions="units">SPI</e>
          <e regions="units">All_Conds</e>
          <e regions="units">cond7</e>
          <e regions="units">cond6</e>
          <e regions="units">cond5</e>
          <e regions="units">cond4</e>
          <e regions="units">cond3</e>
          <e regions="units">cond2</e>
          <e regions="units">cond1</e>
          <e regions="units">G</e>
          <e regions="units">g</e>
          <e regions="units">β</e>
          <e regions="units">α</e>
          <e regions="units">A</e>
          <e regions="units">Pr.zero</e>
          <e regions="units">LNX.mean</e>
          <e regions="units">X.mean</e>
          <e regions="units">ΔT</e>
          <e regions="units">period.tot</e>
          <e regions="units">t.0</e>
        </inputs>
        <regions header="True" lstub="False" units="False,Top" rstub="False" footer="True" footnote="False" caption="True,Top">
          <body rows="7" cols="4" align="Center" pattern="Variable,Variable" borderSize="1,1" borderStyle="Dot,Dot" borderColor="Black,Black" padding="3,3" color="Black,Black" bgColor="#E1E1E1,White" style="Rows" styleEffects="None" font="Times New Roman, 11.25pt, style=Bold, Italic" numbers="Default,0,15,False,0,True,6" highlighters="#0080FF,#FFFFFF,#E1E1E1,#000000" ellipsisFont="Times New Roman, 15px, style=Bold, Italic" ellipsisSize="0">
            <tr>
              <td>2.0+</td>
              <td>Extremely Wet</td>
              <td>9</td>
              <td>1</td>
            </tr>
            <tr>
              <td>1.5 to 1.99</td>
              <td>Very Wet</td>
              <td>26</td>
              <td>4</td>
            </tr>
            <tr>
              <td>1.0 to 1.49</td>
              <td>Moderately Wet</td>
              <td>80</td>
              <td>12</td>
            </tr>
            <tr>
              <td>-0.99 to +0.99</td>
              <td>Near Normal</td>
              <td>507</td>
              <td>73</td>
            </tr>
            <tr>
              <td>-1.0 to -1.49</td>
              <td>Moderately Dry</td>
              <td>32</td>
              <td>5</td>
            </tr>
            <tr>
              <td>-1.5 to -1.99</td>
              <td>Severely Dry</td>
              <td>40</td>
              <td>6</td>
            </tr>
            <tr>
              <td>≤ -2.0</td>
              <td>Extremely Dry</td>
              <td>0</td>
              <td>0</td>
            </tr>
          </body>
          <units input="" rows="1" cols="1" align="Center" pattern="Variable,Variable" borderSize="1,1" borderStyle="Dot,Dot" borderColor="Black,Black" padding="3,3" color="Black,Black" bgColor="White,White" style="Uniform" styleEffects="None" font="Courier New, 10pt" numbers="Default,2,15,False,0,True,6" highlighters="#0080FF,#FFFFFF,#E1E1E1,#000000" ellipsisFont="Courier New, 13.333333px" ellipsisSize="0">
            <tr>
              <td>#</td>
            </tr>
          </units>
          <header input="my_header" rows="1" cols="4" align="Center" pattern="Variable,Variable" borderSize="1,1" borderStyle="Dot,Dot" borderColor="Black,Black" padding="3,3" color="Black,Black" bgColor="#D8FFB0,#D8FFB0" style="Uniform" styleEffects="None" font="Times New Roman, 12pt, style=Bold" numbers="Default,2,15,False,0,True,6" highlighters="#0080FF,#FFFFFF,#E1E1E1,#000000" ellipsisFont="Times New Roman, 16px, style=Bold" ellipsisSize="0">
            <tr>
              <td>1 Month SPI</td>
              <td>Category</td>
              <td>Number of Times</td>
              <td>Probability %</td>
            </tr>
          </header>
          <lstub input="" rows="1" cols="1" align="Center" pattern="Variable,Fixed" borderSize="1,1" borderStyle="Dot,Dot" borderColor="Black,Black" padding="3,3" color="Black,Black" bgColor="White,White" style="Uniform" styleEffects="None" font="Courier New, 10pt" numbers="Default,2,15,False,0,True,6" highlighters="#0080FF,#FFFFFF,#E1E1E1,#000000" ellipsisFont="Courier New, 13.333333px" ellipsisSize="0">
            <tr>
              <td>#</td>
            </tr>
          </lstub>
          <rstub input="" rows="1" cols="1" align="Center" pattern="Variable,Fixed" borderSize="1,1" borderStyle="Dot,Dot" borderColor="Black,Black" padding="3,3" color="Black,Black" bgColor="White,White" style="Uniform" styleEffects="None" font="Courier New, 10pt" numbers="Default,2,15,False,0,True,6" highlighters="#0080FF,#FFFFFF,#E1E1E1,#000000" ellipsisFont="Courier New, 13.333333px" ellipsisSize="0">
            <tr>
              <td>#</td>
            </tr>
          </rstub>
          <footer input="my_footer" rows="1" cols="4" align="Center" pattern="Fixed,Variable" borderSize="1,1" borderStyle="Dot,Dot" borderColor="Black,Black" padding="3,3" color="Black,Black" bgColor="#BBFFFF,#BBFFFF" style="Uniform" styleEffects="None" font="Times New Roman, 12pt, style=Bold" numbers="Default,2,15,False,0,True,6" highlighters="#0080FF,#FFFFFF,#E1E1E1,#000000" ellipsisFont="Times New Roman, 16px, style=Bold" ellipsisSize="0">
            <tr>
              <td>Tot. Period = 58 yr.</td>
              <td>---</td>
              <td>694</td>
              <td>100</td>
            </tr>
          </footer>
          <footnote align="Near" borderSize="1" borderStyle="Solid" borderColor="Black" padding="3,3" color="Black" bgColor="White" font="Courier New, 13.3333321px" text="" />
          <caption align="Center" borderSize="1" borderStyle="Solid" borderColor="Black" padding="3,3" color="Black" bgColor="#FFFF9D" font="Times New Roman, 12.666667px, style=Bold" text="Standardized Precipitation Index&#xA;" />
        </regions>
        <input>
          <e type="operand">Res</e>
        </input>
      </table>
    </region>
    <region id="132" left="207" top="5283" width="211" height="31" color="#000000" bgColor="#ffff00" fontSize="10">
      <math decimalPlaces="1">
        <input>
          <e type="operand">ΔT2</e>
          <e type="operand">1</e>
          <e type="function" args="1">time</e>
          <e type="operand">t.0</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">28.6</e>
          <e type="operand" style="unit">s</e>
          <e type="operator" args="2">*</e>
        </result>
      </math>
    </region>
  </regions>
</worksheet>