﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="1.0.8348.30405"?>
<worksheet xmlns="http://smath.info/schemas/worksheet/1.0">
  <settings ppi="96">
    <identity>
      <id>0d7cf1ca-40a5-4f61-823e-d0c1a4c00780</id>
      <revision>32</revision>
    </identity>
    <metadata lang="eng">
      <author>Javier Ochoa</author>
    </metadata>
    <calculation>
      <precision>4</precision>
      <exponentialThreshold>5</exponentialThreshold>
      <trailingZeros>false</trailingZeros>
      <significantDigitsMode>false</significantDigitsMode>
      <roundingMode>0</roundingMode>
      <approximateEqualAccuracy>0</approximateEqualAccuracy>
      <fractions>decimal</fractions>
    </calculation>
    <pageModel active="false" viewMode="2" printGrid="false" printAreas="true" simpleEqualsOnly="false" printBackgroundImages="true">
      <paper id="0" orientation="Portrait" width="850" height="1100" />
      <margins left="39" right="39" top="49" bottom="49" />
      <header alignment="Center" color="#a9a9a9">&amp;[DATE] &amp;[TIME] - &amp;[FILENAME]</header>
      <footer alignment="Center" color="#a9a9a9">&amp;[PAGENUM] / &amp;[COUNT]</footer>
      <backgrounds />
    </pageModel>
    <dependencies>
      <assembly name="SMath Studio Desktop" version="1.0.8348.30405" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="MathRegion" version="1.11.8348.30405" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="SpecialFunctions" version="1.12.8348.30405" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
      <assembly name="TextRegion" version="1.11.8348.30405" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
      <assembly name="Table Region" version="0.3.8209.20465" guid="51fec712-ec75-4551-a13e-478d375ae8d6" />
      <assembly name="PlotRegion" version="1.11.8348.30405" guid="c451c2b5-798b-4f08-b9ec-b90963d1ddaa" />
    </dependencies>
  </settings>
  <regions type="content">
    <region left="0" top="0" width="768" height="65" color="#0080c0" fontSize="12">
      <text lang="eng" width="768" fontFamily="Liberation Sans" fontSize="10">
        <content>
          <p style="font-size: 12px;">
            <span style="color: #0080c0; font-weight: bold;">Numeric integration  method (Trapezoidal  rule with Richardson  extrapolation)</span>
            <span />
            <span /> , also known as Romberg  method is applied  to the startup and shutdown of a pump, in order to reach the desired flowrate. The equations are expressed in Imperial Units and the conversion factor is applied  for SI Units.</p>
        </content>
      </text>
    </region>
    <region left="27" top="72" width="102" height="23" border="true" color="#000000" bgColor="#dddddd" fontSize="10" isBreakable="false">
      <text lang="rus" fontFamily="Liberation Sans" fontSize="10">
        <content>
          <p style="font-family: Liberation Mono; background-color: #dddddd;">Входные данные:</p>
        </content>
      </text>
      <text lang="eng" fontFamily="Liberation Sans" fontSize="10">
        <content>
          <p style="font-family: Liberation Mono; background-color: #dddddd;">Input data:</p>
        </content>
      </text>
    </region>
    <region left="387" top="90" width="86" height="23" color="#000000" bgColor="#ffff80" fontSize="10" isBreakable="false">
      <text lang="rus" fontFamily="Liberation Sans" fontSize="10">
        <content>
          <p style="font-family: Liberation Mono; background-color: #ffff80;">подынтегральная функция</p>
        </content>
      </text>
      <text lang="eng" fontFamily="Liberation Sans" fontSize="10">
        <content>
          <p style="font-family: Liberation Mono; background-color: #ffff80;">integrand</p>
        </content>
      </text>
    </region>
    <region left="27" top="99" width="107" height="26" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">x</e>
          <e type="function" args="1">f</e>
          <e type="operand">x</e>
          <e type="function" args="1">sin</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="36" top="135" width="44" height="24" color="#000000" fontSize="10">
      <math decimalPlaces="7">
        <input>
          <e type="operand">a</e>
          <e type="operand">1</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="387" top="135" width="126" height="23" color="#000000" bgColor="#ffff80" fontSize="10" isBreakable="false">
      <text lang="rus" fontFamily="Liberation Sans" fontSize="10">
        <content>
          <p style="font-family: Liberation Mono; background-color: #ffff80;">нижний предел интегрирования</p>
        </content>
      </text>
      <text lang="eng" fontFamily="Liberation Sans" fontSize="10">
        <content>
          <p style="font-family: Liberation Mono; background-color: #ffff80;">inferior limit</p>
        </content>
      </text>
    </region>
    <region left="36" top="153" width="44" height="24" color="#000000" fontSize="10">
      <math decimalPlaces="7">
        <input>
          <e type="operand">b</e>
          <e type="operand">5</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="387" top="162" width="126" height="23" color="#000000" bgColor="#ffff80" fontSize="10" isBreakable="false">
      <text lang="rus" fontFamily="Liberation Sans" fontSize="10">
        <content>
          <p style="font-family: Liberation Mono; background-color: #ffff80;">верхний предел интегрирования</p>
        </content>
      </text>
      <text lang="eng" fontFamily="Liberation Sans" fontSize="10">
        <content>
          <p style="font-family: Liberation Mono; background-color: #ffff80;">superior limit</p>
        </content>
      </text>
    </region>
    <region left="36" top="171" width="115" height="33" color="#000000" fontSize="10">
      <math decimalPlaces="7">
        <input>
          <e type="operand">maxerr</e>
          <e type="operand">10</e>
          <e type="operand">7</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="387" top="189" width="78" height="23" color="#000000" bgColor="#ffff80" fontSize="10" isBreakable="false">
      <text lang="rus" fontFamily="Liberation Sans" fontSize="10">
        <content>
          <p style="font-family: Liberation Mono; background-color: #ffff80;">точность вычисления</p>
        </content>
      </text>
      <text lang="eng" fontFamily="Liberation Sans" fontSize="10">
        <content>
          <p style="font-family: Liberation Mono; background-color: #ffff80;">accuracy</p>
        </content>
      </text>
    </region>
    <region left="18" top="216" width="408" height="72" color="#000000" fontSize="10">
      <math decimalPlaces="7">
        <input>
          <e type="operand">a</e>
          <e type="operand">b</e>
          <e type="operand">h</e>
          <e type="operand">n</e>
          <e type="function" args="4">trap</e>
          <e type="operand">h</e>
          <e type="operand">2</e>
          <e type="operator" args="2">/</e>
          <e type="operand">a</e>
          <e type="function" args="1">f</e>
          <e type="operand">b</e>
          <e type="function" args="1">f</e>
          <e type="operator" args="2">+</e>
          <e type="bracket">(</e>
          <e type="operator" args="2">*</e>
          <e type="operand">h</e>
          <e type="operand">a</e>
          <e type="operand">k</e>
          <e type="operand">h</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">+</e>
          <e type="function" args="1">f</e>
          <e type="operand">k</e>
          <e type="operand">1</e>
          <e type="operand">n</e>
          <e type="operand">1</e>
          <e type="operator" args="2">-</e>
          <e type="function" args="4">sum</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">+</e>
          <e type="bracket">(</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="54" top="288" width="110" height="23" border="true" color="#000000" bgColor="#dddddd" fontSize="10" isBreakable="false">
      <text lang="rus" fontFamily="Liberation Sans" fontSize="10">
        <content>
          <p style="font-family: Liberation Mono; background-color: #dddddd;">Расчёт:</p>
        </content>
      </text>
      <text lang="eng" fontFamily="Liberation Sans" fontSize="10">
        <content>
          <p style="font-family: Liberation Mono; background-color: #dddddd;">Calculation:</p>
        </content>
      </text>
    </region>
    <region left="54" top="315" width="44" height="24" color="#000000" fontSize="10">
      <math decimalPlaces="7">
        <input>
          <e type="operand">n</e>
          <e type="operand">2</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="54" top="342" width="71" height="41" color="#000000" fontSize="10">
      <math decimalPlaces="7">
        <input>
          <e type="operand">h</e>
          <e type="operand">b</e>
          <e type="operand">a</e>
          <e type="operator" args="2">-</e>
          <e type="operand">n</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="54" top="378" width="183" height="26" color="#000000" fontSize="10">
      <math decimalPlaces="7">
        <input>
          <e type="operand">dintp</e>
          <e type="operand">a</e>
          <e type="operand">b</e>
          <e type="operand">h</e>
          <e type="operand">n</e>
          <e type="function" args="4">trap</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="54" top="405" width="76" height="24" color="#000000" fontSize="10">
      <math decimalPlaces="7">
        <input>
          <e type="operand">ε</e>
          <e type="operand">dintp</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="54" top="432" width="198" height="153" color="#400000" fontSize="10">
      <math decimalPlaces="7">
        <input>
          <e type="operand">ε</e>
          <e type="function" args="1">abs</e>
          <e type="operand">maxerr</e>
          <e type="operator" args="2">&gt;</e>
          <e type="operand">n</e>
          <e type="operand">2</e>
          <e type="operand">n</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
          <e type="operand">h</e>
          <e type="operand">b</e>
          <e type="operand">a</e>
          <e type="operator" args="2">-</e>
          <e type="operand">n</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">:</e>
          <e type="operand">dint</e>
          <e type="operand">a</e>
          <e type="operand">b</e>
          <e type="operand">h</e>
          <e type="operand">n</e>
          <e type="function" args="4">trap</e>
          <e type="operator" args="2">:</e>
          <e type="operand">ε</e>
          <e type="operand">dint</e>
          <e type="operand">dintp</e>
          <e type="operator" args="2">-</e>
          <e type="operand">15</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">:</e>
          <e type="operand">dintp</e>
          <e type="operand">dint</e>
          <e type="operator" args="2">:</e>
          <e type="operand">5</e>
          <e type="operand">1</e>
          <e type="function" args="7">line</e>
          <e type="function" args="2">while</e>
        </input>
      </math>
    </region>
    <region left="369" top="504" width="240" height="158" color="#000000" fontSize="10">
      <plot type="2d" render="lines" scale_x="0.941480149401001" scale_y="0.941480149401001" scale_z="0.941480149401001" rotate_x="0" rotate_y="0" rotate_z="0" transpose_x="0" transpose_y="0" transpose_z="0">
        <input>
          <e type="operand">x</e>
          <e type="function" args="1">f</e>
        </input>
      </plot>
    </region>
    <region left="72" top="594" width="66" height="24" color="#000000" fontSize="10">
      <math decimalPlaces="7">
        <input>
          <e type="operand">n</e>
        </input>
        <result action="numeric">
          <e type="operand">1024</e>
        </result>
      </math>
    </region>
    <region left="72" top="612" width="153" height="33" color="#400000" fontSize="10">
      <math decimalPlaces="7">
        <input>
          <e type="operand">ε</e>
        </input>
        <result action="numeric">
          <e type="operand">6.5267041</e>
          <e type="operand">10</e>
          <e type="operand">8</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
        </result>
      </math>
    </region>
    <region left="72" top="639" width="116" height="24" color="#400000" fontSize="10">
      <math decimalPlaces="7">
        <input>
          <e type="operand">dint</e>
          <e type="operand">dint</e>
          <e type="operand">ε</e>
          <e type="operator" args="2">+</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="54" top="666" width="70" height="23" border="true" color="#000000" bgColor="#dddddd" fontSize="10" isBreakable="false">
      <text lang="rus" fontFamily="Liberation Sans" fontSize="10">
        <content>
          <p style="font-family: Liberation Mono; background-color: #dddddd;">Ответ:</p>
        </content>
      </text>
      <text lang="eng" fontFamily="Liberation Sans" fontSize="10">
        <content>
          <p style="font-family: Liberation Mono; background-color: #dddddd;">Result:</p>
        </content>
      </text>
    </region>
    <region left="54" top="702" width="130" height="24" color="#400000" fontSize="10">
      <math decimalPlaces="7">
        <input>
          <e type="operand">dint</e>
        </input>
        <result action="numeric">
          <e type="operand">0.2566399</e>
        </result>
      </math>
    </region>
    <region left="54" top="747" width="78" height="23" border="true" color="#000000" bgColor="#dddddd" fontSize="10" isBreakable="false">
      <text lang="rus" fontFamily="Liberation Sans" fontSize="10">
        <content>
          <p style="font-family: Liberation Mono; background-color: #dddddd;">Проверка:</p>
        </content>
      </text>
      <text lang="eng" fontFamily="Liberation Sans" fontSize="10">
        <content>
          <p style="font-family: Liberation Mono; background-color: #dddddd;">Control:</p>
        </content>
      </text>
    </region>
    <region left="54" top="774" width="162" height="70" color="#000000" fontSize="10">
      <math decimalPlaces="7">
        <input>
          <e type="operand">x</e>
          <e type="function" args="1">f</e>
          <e type="operand">x</e>
          <e type="operand">a</e>
          <e type="operand">b</e>
          <e type="function" args="4">int</e>
        </input>
        <result action="numeric">
          <e type="operand">0.2566401</e>
        </result>
      </math>
    </region>
    <region left="9" top="981" width="474" height="46" color="#0000ff" fontSize="12" isBreakable="false">
      <text lang="rus" fontFamily="Liberation Sans" fontSize="10">
        <content>
          <p style="font-weight: bold; font-family: Liberation Mono; font-size: 12px; color: #0000ff;">Вычисление определённого интеграла<br />(метод Симпсона)</p>
        </content>
      </text>
      <text lang="eng" fontFamily="Liberation Sans" fontSize="10">
        <content>
          <p style="font-weight: bold; font-family: Liberation Mono; font-size: 12px; color: #0000ff;">Numeric integration method<br />(Simpson's rule with Richardson extrapolation)</p>
        </content>
      </text>
    </region>
    <region left="9" top="1035" width="102" height="23" border="true" color="#000000" bgColor="#dddddd" fontSize="10" isBreakable="false">
      <text lang="rus" fontFamily="Liberation Sans" fontSize="10">
        <content>
          <p style="font-family: Liberation Mono; background-color: #dddddd;">Входные данные:</p>
        </content>
      </text>
      <text lang="eng" fontFamily="Liberation Sans" fontSize="10">
        <content>
          <p style="font-family: Liberation Mono; background-color: #dddddd;">Input data:</p>
        </content>
      </text>
    </region>
    <region left="9" top="1062" width="107" height="26" color="#000000" fontSize="10">
      <math decimalPlaces="7">
        <input>
          <e type="operand">x</e>
          <e type="function" args="1">f</e>
          <e type="operand">x</e>
          <e type="function" args="1">sin</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="144" top="1062" width="86" height="23" color="#000000" bgColor="#ffff80" fontSize="10" isBreakable="false">
      <text lang="rus" fontFamily="Liberation Sans" fontSize="10">
        <content>
          <p style="font-family: Liberation Mono; background-color: #ffff80;">подынтегральная функция</p>
        </content>
      </text>
      <text lang="eng" fontFamily="Liberation Sans" fontSize="10">
        <content>
          <p style="font-family: Liberation Mono; background-color: #ffff80;">integrand</p>
        </content>
      </text>
    </region>
    <region left="18" top="1089" width="44" height="24" color="#000000" fontSize="10">
      <math decimalPlaces="7">
        <input>
          <e type="operand">a</e>
          <e type="operand">1</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="144" top="1089" width="126" height="23" color="#000000" bgColor="#ffff80" fontSize="10" isBreakable="false">
      <text lang="rus" fontFamily="Liberation Sans" fontSize="10">
        <content>
          <p style="font-family: Liberation Mono; background-color: #ffff80;">нижний предел интегрирования</p>
        </content>
      </text>
      <text lang="eng" fontFamily="Liberation Sans" fontSize="10">
        <content>
          <p style="font-family: Liberation Mono; background-color: #ffff80;">inferior limit</p>
        </content>
      </text>
    </region>
    <region left="18" top="1107" width="44" height="24" color="#000000" fontSize="10">
      <math decimalPlaces="7">
        <input>
          <e type="operand">b</e>
          <e type="operand">5</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="144" top="1107" width="126" height="23" color="#000000" bgColor="#ffff80" fontSize="10" isBreakable="false">
      <text lang="rus" fontFamily="Liberation Sans" fontSize="10">
        <content>
          <p style="font-family: Liberation Mono; background-color: #ffff80;">верхний предел интегрирования</p>
        </content>
      </text>
      <text lang="eng" fontFamily="Liberation Sans" fontSize="10">
        <content>
          <p style="font-family: Liberation Mono; background-color: #ffff80;">superior limit</p>
        </content>
      </text>
    </region>
    <region left="18" top="1125" width="115" height="33" color="#000000" fontSize="10">
      <math decimalPlaces="7">
        <input>
          <e type="operand">maxerr</e>
          <e type="operand">10</e>
          <e type="operand">7</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="144" top="1134" width="78" height="23" color="#000000" bgColor="#ffff80" fontSize="10" isBreakable="false">
      <text lang="rus" fontFamily="Liberation Sans" fontSize="10">
        <content>
          <p style="font-family: Liberation Mono; background-color: #ffff80;">точность вычисления</p>
        </content>
      </text>
      <text lang="eng" fontFamily="Liberation Sans" fontSize="10">
        <content>
          <p style="font-family: Liberation Mono; background-color: #ffff80;">accuracy</p>
        </content>
      </text>
    </region>
    <region left="9" top="1161" width="616" height="72" color="#000000" fontSize="10">
      <math decimalPlaces="7">
        <input>
          <e type="operand">a</e>
          <e type="operand">b</e>
          <e type="operand">h</e>
          <e type="operand">n</e>
          <e type="function" args="4">simp</e>
          <e type="operand">1</e>
          <e type="operand">3</e>
          <e type="operator" args="2">/</e>
          <e type="operand">h</e>
          <e type="operand">2</e>
          <e type="operator" args="2">/</e>
          <e type="operand">a</e>
          <e type="function" args="1">f</e>
          <e type="operand">b</e>
          <e type="function" args="1">f</e>
          <e type="operator" args="2">+</e>
          <e type="bracket">(</e>
          <e type="operator" args="2">*</e>
          <e type="operand">h</e>
          <e type="operand">a</e>
          <e type="operand">k</e>
          <e type="operand">h</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">+</e>
          <e type="function" args="1">f</e>
          <e type="operand">k</e>
          <e type="operand">1</e>
          <e type="operand">n</e>
          <e type="operand">1</e>
          <e type="operator" args="2">-</e>
          <e type="function" args="4">sum</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">+</e>
          <e type="bracket">(</e>
          <e type="operator" args="2">*</e>
          <e type="operand">2</e>
          <e type="operand">3</e>
          <e type="operator" args="2">/</e>
          <e type="operand">h</e>
          <e type="operator" args="2">*</e>
          <e type="operand">a</e>
          <e type="operand">h</e>
          <e type="operand">2</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">-</e>
          <e type="operand">k</e>
          <e type="operand">h</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">+</e>
          <e type="function" args="1">f</e>
          <e type="operand">k</e>
          <e type="operand">1</e>
          <e type="operand">n</e>
          <e type="function" args="4">sum</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">+</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="9" top="1224" width="110" height="23" border="true" color="#000000" bgColor="#dddddd" fontSize="10" isBreakable="false">
      <text lang="rus" fontFamily="Liberation Sans" fontSize="10">
        <content>
          <p style="font-family: Liberation Mono; background-color: #dddddd;">Расчёт:</p>
        </content>
      </text>
      <text lang="eng" fontFamily="Liberation Sans" fontSize="10">
        <content>
          <p style="font-family: Liberation Mono; background-color: #dddddd;">Calculation:</p>
        </content>
      </text>
    </region>
    <region left="9" top="1251" width="44" height="24" color="#000000" fontSize="10">
      <math decimalPlaces="7">
        <input>
          <e type="operand">n</e>
          <e type="operand">2</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="9" top="1278" width="71" height="41" color="#000000" fontSize="10">
      <math decimalPlaces="7">
        <input>
          <e type="operand">h</e>
          <e type="operand">b</e>
          <e type="operand">a</e>
          <e type="operator" args="2">-</e>
          <e type="operand">n</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="9" top="1314" width="183" height="26" color="#000000" fontSize="10">
      <math decimalPlaces="7">
        <input>
          <e type="operand">dintp</e>
          <e type="operand">a</e>
          <e type="operand">b</e>
          <e type="operand">h</e>
          <e type="operand">n</e>
          <e type="function" args="4">simp</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="9" top="1341" width="76" height="24" color="#000000" fontSize="10">
      <math decimalPlaces="7">
        <input>
          <e type="operand">ε</e>
          <e type="operand">dintp</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="9" top="1368" width="198" height="153" color="#400000" fontSize="10">
      <math decimalPlaces="7">
        <input>
          <e type="operand">ε</e>
          <e type="function" args="1">abs</e>
          <e type="operand">maxerr</e>
          <e type="operator" args="2">&gt;</e>
          <e type="operand">n</e>
          <e type="operand">2</e>
          <e type="operand">n</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
          <e type="operand">h</e>
          <e type="operand">b</e>
          <e type="operand">a</e>
          <e type="operator" args="2">-</e>
          <e type="operand">n</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">:</e>
          <e type="operand">dint</e>
          <e type="operand">a</e>
          <e type="operand">b</e>
          <e type="operand">h</e>
          <e type="operand">n</e>
          <e type="function" args="4">simp</e>
          <e type="operator" args="2">:</e>
          <e type="operand">ε</e>
          <e type="operand">dint</e>
          <e type="operand">dintp</e>
          <e type="operator" args="2">-</e>
          <e type="operand">15</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">:</e>
          <e type="operand">dintp</e>
          <e type="operand">dint</e>
          <e type="operator" args="2">:</e>
          <e type="operand">5</e>
          <e type="operand">1</e>
          <e type="function" args="7">line</e>
          <e type="function" args="2">while</e>
        </input>
      </math>
    </region>
    <region left="27" top="1530" width="50" height="24" color="#000000" fontSize="10">
      <math decimalPlaces="7">
        <input>
          <e type="operand">n</e>
        </input>
        <result action="numeric">
          <e type="operand">32</e>
        </result>
      </math>
    </region>
    <region left="27" top="1539" width="166" height="33" color="#400000" fontSize="10">
      <math decimalPlaces="7">
        <input>
          <e type="operand">ε</e>
        </input>
        <result action="numeric">
          <e type="operand">2.1798215</e>
          <e type="operand">10</e>
          <e type="operand">8</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="1">-</e>
        </result>
      </math>
    </region>
    <region left="27" top="1566" width="116" height="24" color="#400000" fontSize="10">
      <math decimalPlaces="7">
        <input>
          <e type="operand">dint</e>
          <e type="operand">dint</e>
          <e type="operand">ε</e>
          <e type="operator" args="2">+</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="9" top="1593" width="70" height="23" border="true" color="#000000" bgColor="#dddddd" fontSize="10" isBreakable="false">
      <text lang="rus" fontFamily="Liberation Sans" fontSize="10">
        <content>
          <p style="font-family: Liberation Mono; background-color: #dddddd;">Ответ:</p>
        </content>
      </text>
      <text lang="eng" fontFamily="Liberation Sans" fontSize="10">
        <content>
          <p style="font-family: Liberation Mono; background-color: #dddddd;">Result:</p>
        </content>
      </text>
    </region>
    <region left="9" top="1629" width="130" height="24" color="#400000" fontSize="10">
      <math decimalPlaces="7">
        <input>
          <e type="operand">dint</e>
        </input>
        <result action="numeric">
          <e type="operand">0.2566401</e>
        </result>
      </math>
    </region>
    <region left="9" top="1674" width="78" height="23" border="true" color="#000000" bgColor="#dddddd" fontSize="10" isBreakable="false">
      <text lang="rus" fontFamily="Liberation Sans" fontSize="10">
        <content>
          <p style="font-family: Liberation Mono; background-color: #dddddd;">Проверка:</p>
        </content>
      </text>
      <text lang="eng" fontFamily="Liberation Sans" fontSize="10">
        <content>
          <p style="font-family: Liberation Mono; background-color: #dddddd;">Control:</p>
        </content>
      </text>
    </region>
    <region left="9" top="1692" width="162" height="70" color="#000000" fontSize="10">
      <math decimalPlaces="7">
        <input>
          <e type="operand">x</e>
          <e type="function" args="1">f</e>
          <e type="operand">x</e>
          <e type="operand">a</e>
          <e type="operand">b</e>
          <e type="function" args="4">int</e>
        </input>
        <result action="numeric">
          <e type="operand">0.2566401</e>
        </result>
      </math>
    </region>
    <region left="270" top="1728" width="377" height="81" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">M</e>
          <e type="operand" style="string">Method</e>
          <e type="operand" style="string">Result</e>
          <e type="operand" style="string">n</e>
          <e type="operand" style="string">ε</e>
          <e type="operand" style="string">Simpson</e>
          <e type="operand">0.2566401</e>
          <e type="operand">32</e>
          <e type="operand">2.1798215</e>
          <e type="operand">10</e>
          <e type="operand">8</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="1">-</e>
          <e type="operand" style="string">Romberg</e>
          <e type="operand">0.2566399</e>
          <e type="operand">1024</e>
          <e type="operand">6.5267041</e>
          <e type="operand">10</e>
          <e type="operand">8</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operand">3</e>
          <e type="operand">4</e>
          <e type="function" args="14">mat</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="9" top="1764" width="182" height="23" border="true" color="#000000" bgColor="#dddddd" fontSize="10" isBreakable="false">
      <text lang="rus" fontFamily="Liberation Sans" fontSize="10">
        <content>
          <p style="font-family: Liberation Mono; background-color: #dddddd;">Проверка:</p>
        </content>
      </text>
      <text lang="eng" fontFamily="Liberation Sans" fontSize="10">
        <content>
          <p style="font-family: Liberation Mono; background-color: #dddddd;">Analyticall solution:</p>
        </content>
      </text>
    </region>
    <region left="9" top="1800" width="222" height="26" color="#400000" fontSize="10">
      <math decimalPlaces="7">
        <input>
          <e type="operand">b</e>
          <e type="function" args="1">cos</e>
          <e type="operator" args="1">-</e>
          <e type="operand">a</e>
          <e type="function" args="1">cos</e>
          <e type="operator" args="2">+</e>
        </input>
        <result action="numeric">
          <e type="operand">0.2566401</e>
        </result>
      </math>
    </region>
    <region left="252" top="1809" width="295" height="92" color="#000000" fontSize="10">
      <table id="1" elementsOnDataSizeChange="10,10" focus="0,0;3,2" 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">M</e>
          <e regions="columns">simp</e>
          <e regions="columns">dint</e>
          <e regions="columns">ε</e>
          <e regions="columns">dintp</e>
          <e regions="columns">h</e>
          <e regions="columns">trap</e>
          <e regions="columns">maxerr</e>
          <e regions="columns">f</e>
          <e regions="rows">M</e>
          <e regions="rows">simp</e>
          <e regions="rows">dint</e>
          <e regions="rows">ε</e>
          <e regions="rows">dintp</e>
          <e regions="rows">h</e>
          <e regions="rows">trap</e>
          <e regions="rows">maxerr</e>
          <e regions="rows">f</e>
          <e regions="units">simp</e>
          <e regions="units">dint</e>
          <e regions="units">ε</e>
          <e regions="units">dintp</e>
          <e regions="units">h</e>
          <e regions="units">trap</e>
          <e regions="units">maxerr</e>
        </inputs>
        <regions header="False" lstub="False" units="False,Top" rstub="False" footer="False" footnote="False" caption="True,Bottom">
          <body rows="3" cols="4" align="Center" pattern="Fixed,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,White,#E1E1E1,Black" ellipsisFont="Courier New, 13,33333px" ellipsisSize="0">
            <tr>
              <td>Method</td>
              <td>Result</td>
              <td>n</td>
              <td>ε</td>
            </tr>
            <tr>
              <td>Simpson</td>
              <td>0.26</td>
              <td>32</td>
              <td>0</td>
            </tr>
            <tr>
              <td>Romberg</td>
              <td>0.26</td>
              <td>1024</td>
              <td>0</td>
            </tr>
          </body>
          <units input="" rows="1" cols="1" align="Center" pattern="Fixed,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,White,#E1E1E1,Black" ellipsisFont="Courier New, 13,33333px" ellipsisSize="0">
            <tr>
              <td>#</td>
            </tr>
          </units>
          <header input="" rows="1" cols="1" align="Center" pattern="Fixed,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,White,#E1E1E1,Black" ellipsisFont="Courier New, 13,33333px" ellipsisSize="0">
            <tr>
              <td>#</td>
            </tr>
          </header>
          <lstub input="" rows="1" cols="1" align="Center" pattern="Fixed,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,White,#E1E1E1,Black" ellipsisFont="Courier New, 13,33333px" ellipsisSize="0">
            <tr>
              <td>#</td>
            </tr>
          </lstub>
          <rstub input="" rows="1" cols="1" align="Center" pattern="Fixed,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,White,#E1E1E1,Black" ellipsisFont="Courier New, 13,33333px" ellipsisSize="0">
            <tr>
              <td>#</td>
            </tr>
          </rstub>
          <footer input="" rows="1" cols="1" align="Center" pattern="Fixed,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,White,#E1E1E1,Black" ellipsisFont="Courier New, 13,33333px" ellipsisSize="0">
            <tr>
              <td>#</td>
            </tr>
          </footer>
          <footnote align="Near" borderSize="1" borderStyle="Solid" borderColor="Black" padding="3,3" color="Black" bgColor="White" font="Courier New, 10px" text="NOTE" />
          <caption align="Near" borderSize="1" borderStyle="Solid" borderColor="Black" padding="3,3" color="Black" bgColor="White" font="Courier New, 8px" text="Table %T" />
        </regions>
        <input>
          <e type="operand">M</e>
        </input>
      </table>
    </region>
    <region left="9" top="1917" width="741" height="40" color="#000000" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p>The Simpson integral method with Richardson  extrapolation  requires  less intermediate points for the same accuracy, when compared  with the Trapezoidal  method with the Richardson  extrapolation,  also known as Romberg  integration.</p>
        </content>
      </text>
    </region>
  </regions>
</worksheet>