﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio" version="0.96"?>
<regions>
  <settings>
    <identity>
      <id>8f4976f6-fe3d-476f-9900-b23f08a76b86</id>
      <revision>4</revision>
    </identity>
    <calculation>
      <precision>4</precision>
      <exponentialThreshold>5</exponentialThreshold>
      <fractions>decimal</fractions>
    </calculation>
    <pageModel active="true" printAreas="true" simpleEqualsOnly="false" printBackgroundImages="true">
      <paper id="9" orientation="Portrait" width="827" height="1169" />
      <margins left="39" right="39" top="39" bottom="39" />
      <header alignment="Center" color="#a9a9a9">&amp;[DATE] &amp;[TIME] - &amp;[FILENAME]</header>
      <footer alignment="Center" color="#a9a9a9">&amp;[PAGENUM] / &amp;[COUNT]</footer>
      <backgrounds />
    </pageModel>
    <dependences>
      <assembly name="SMath Studio" version="0.96" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="Math Region" version="0.96" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="Area Region" version="0.96" guid="4974b228-4974-44cf-8274-bf2936b4a766" />
      <assembly name="Text Region" version="1.9.4884.25041" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
    </dependences>
  </settings>
  <region id="0" left="9" top="9" width="111" height="36" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">clr.1</e>
        <e type="operand">blue</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="1" left="135" top="9" width="101" height="36" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">clr.2</e>
        <e type="operand">red</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="2" left="270" top="9" width="111" height="36" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">clr.3</e>
        <e type="operand">blue</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="3" left="9" top="54" width="100" height="36" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">x.min</e>
        <e type="operand">10</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="4" left="135" top="54" width="91" height="36" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">x.max</e>
        <e type="operand">10</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="5" left="9" top="99" width="99" height="36" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">fx.min</e>
        <e type="operand">6</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="6" left="135" top="99" width="90" height="36" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">fx.max</e>
        <e type="operand">5</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="7" top="153" color="#000000" bgColor="#ffffff">
    <area collapsed="true" />
    <region id="8" left="0" top="180" width="1099" height="548" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p>FillCurve := proc(f,a,b,am,bm)    local i,n,x1,x2,y1,y2,A,d:	    n := 200;    d := ( b - a ) / n;    x2 := a;    for i from 1 to n do			        x1 := evalf( x2 );        x2 := evalf( a + i * d );        y1 := evalf( f( x1 ) );        y2 := evalf( f( x2 ) );			        if ( y1 &gt; 0 ) then             A[i] := polygonplot( [ [x1, 0], [x1, y1], [x2, y2], [x2, 0] ], color=`::clr.2`, style=patchnogrid );        else             A[i] := polygonplot( [ [x1, 0], [x1, y1], [x2, y2], [x2, 0] ], color=`::clr.3`, style=patchnogrid );        fi;			    od:		    display( [ plot( f(x), x = am..bm, color=`::clr.1`, discont=true ), seq( A[i], i=1..n ) ] );		end:FillCurve(x-&gt;`in`,`::fx.min`,`::fx.max`,`::x.min`,`::x.max`);</p>
      </text>
    </region>
    <region id="9" top="756" color="#000000" bgColor="#ffffff">
      <area terminator="true" />
    </region>
  </region>
  <region id="10" left="9" top="801" width="725" height="482" color="#000000" bgColor="#ffffff" fontSize="10">
    <mapleplot width="715" height="474">
      <input>
        <e type="operand">x</e>
        <e type="function" preserve="true" args="1">sin</e>
        <e type="operand">x</e>
        <e type="operator" args="2">/</e>
      </input>
    </mapleplot>
  </region>
</regions>