﻿<?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="120">
    <identity>
      <id>c4a24433-6a6c-43b1-a141-2d9b72562cd5</id>
      <revision>351</revision>
    </identity>
    <metadata lang="rus">
      <author>уни</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="9" orientation="Portrait" width="827" height="1169" />
      <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="Custom Functions" version="1.1.8051.30522" guid="18dadffd-79a3-4cf9-aee1-d66deb0ea720" />
      <assembly name="SpecialFunctions" version="1.12.8348.30405" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
      <assembly name="Maple Tools" version="1.1.8517.16356" guid="32dfd679-8cfd-483a-b79a-19d5ea838750" />
      <assembly name="TextRegion" version="1.11.8348.30405" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
      <assembly name="AreaRegion" version="1.11.8348.30405" guid="4974b228-4974-44cf-8274-bf2936b4a766" />
      <assembly name="Mathcad Toolbox" version="0.4.8519.34061" guid="ddc09821-49f1-4c21-a829-6499de0a8f06" />
    </dependencies>
  </settings>
  <regions type="content">
    <region top="9" color="#000000">
      <area collapsed="false">
        <title lang="rus">
          <content>
            <p>python</p>
          </content>
        </title>
      </area>
      <region left="0" top="27" width="539" height="98" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">script</e>
            <e type="function" args="1">python</e>
            <e type="operand">file</e>
            <e type="operand" style="string">./tmp/test.py</e>
            <e type="operator" args="2">:</e>
            <e type="operand">cmd</e>
            <e type="operand" style="string">\"python {file}\"</e>
            <e type="operator" args="2">:</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand">lines</e>
            <e type="operand" style="string">\n</e>
            <e type="operand">script</e>
            <e type="function" args="2">strjoin</e>
            <e type="operator" args="2">:</e>
            <e type="operand">file</e>
            <e type="operand">lines</e>
            <e type="function" args="2">writeline</e>
            <e type="function" args="1">maple</e>
            <e type="operand">2</e>
            <e type="operand">cmd</e>
            <e type="function" args="1">ssystem</e>
            <e type="function" args="2">op</e>
            <e type="operand">symbol</e>
            <e type="function" args="2">convert</e>
            <e type="function" args="1">maple</e>
            <e type="operand">4</e>
            <e type="operand">1</e>
            <e type="function" args="6">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region top="126" color="#000000">
        <area terminator="true" />
      </region>
    </region>
    <region left="0" top="144" width="70" height="24" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">x</e>
          <e type="operand">0.65</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="243" top="144" width="427" height="26" color="#000000" bgColor="#ffff80" fontSize="10">
      <math>
        <input>
          <e type="operand" style="string">import math; print( math.erf({x}) )</e>
          <e type="function" args="1">python</e>
        </input>
        <result action="numeric">
          <e type="operand">0.642</e>
        </result>
      </math>
    </region>
    <region left="0" top="171" width="202" height="74" color="#000000" bgColor="#ffffff" fontSize="10" showInputData="false">
      <mathcadblock width="192" height="66" seqop="mat">
        <input>
          <e type="operand">script</e>
        </input>
      </mathcadblock>
    </region>
    <region left="9" top="180" width="175" height="56" color="#000000" bgColor="#80ff80" fontSize="10" isBreakable="false">
      <text lang="rus" fontFamily="Arial" fontSize="10">
        <content>
          <p style="font-family: Consolas; background-color: #80ff80;">import math<br /><br />print( math.erf({z}) )</p>
        </content>
      </text>
    </region>
    <region left="243" top="180" width="201" height="29" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">z</e>
          <e type="function" args="1">erf</e>
          <e type="operand">script</e>
          <e type="function" args="1">python</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="3">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="243" top="207" width="131" height="26" color="#000000" bgColor="#ffff80" fontSize="10">
      <math>
        <input>
          <e type="operand">0.78</e>
          <e type="function" args="1">erf</e>
        </input>
        <result action="numeric">
          <e type="operand">0.73</e>
        </result>
      </math>
    </region>
    <region left="486" top="234" width="257" height="26" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">4</e>
          <e type="function" args="1">appVersion</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">1.0.8348.30405</e>
        </result>
      </math>
    </region>
    <region top="261" color="#000000">
      <area collapsed="true">
        <title lang="rus">
          <content>
            <p>tiny c compiler</p>
          </content>
        </title>
      </area>
      <region left="0" top="279" width="613" height="157" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">program</e>
            <e type="function" args="1">tcc</e>
            <e type="operand">lines</e>
            <e type="operand" style="string"></e>
            <e type="operator" args="2">:</e>
            <e type="operand">file</e>
            <e type="operand" style="string">./tmp/test.c</e>
            <e type="operator" args="2">:</e>
            <e type="operand">cmd</e>
            <e type="operand" style="string">\"tcc -run {file}\"</e>
            <e type="operator" args="2">:</e>
            <e type="operand">1</e>
            <e type="operand">3</e>
            <e type="function" args="5">mat</e>
            <e type="operand">line</e>
            <e type="operand">program</e>
            <e type="operand">line</e>
            <e type="operand">line</e>
            <e type="operand" style="string">\</e>
            <e type="operand" style="string">\\</e>
            <e type="function" args="3">strrep</e>
            <e type="operand" style="string">"</e>
            <e type="operand" style="string">\"</e>
            <e type="function" args="3">strrep</e>
            <e type="operator" args="2">:</e>
            <e type="operand">lines</e>
            <e type="operand">lines</e>
            <e type="operand">line</e>
            <e type="operand" style="string"> \n</e>
            <e type="function" args="3">concat</e>
            <e type="operator" args="2">:</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="function" args="4">line</e>
            <e type="function" args="3">for</e>
            <e type="operand">lines</e>
            <e type="operand" style="string">//'\n</e>
            <e type="operand">lines</e>
            <e type="operand" style="string">//'</e>
            <e type="function" args="3">concat</e>
            <e type="operator" args="2">:</e>
            <e type="operand">file</e>
            <e type="operand">lines</e>
            <e type="function" args="2">writeline</e>
            <e type="function" args="1">maple</e>
            <e type="operand">2</e>
            <e type="operand">cmd</e>
            <e type="function" args="1">ssystem</e>
            <e type="function" args="2">op</e>
            <e type="function" args="1">maple</e>
            <e type="operand">5</e>
            <e type="operand">1</e>
            <e type="function" args="7">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region top="432" color="#000000">
        <area terminator="true" />
      </region>
    </region>
    <region left="0" top="459" width="330" height="137" color="#000000" bgColor="#ffffff" fontSize="10" showInputData="false">
      <mathcadblock width="320" height="129" seqop="mat">
        <input>
          <e type="operand">program</e>
        </input>
      </mathcadblock>
    </region>
    <region left="9" top="468" width="300" height="120" color="#000000" bgColor="#80ff80" fontSize="10">
      <text lang="rus" fontFamily="Arial" fontSize="10">
        <content>
          <p style="font-family: Consolas; background-color: #80ff80;">#include &lt;stdio.h&gt;<br /><br />int main()<br />{<br />    printf( "Tiny C Compiler works!" );<br />    return 0;<br />}</p>
        </content>
      </text>
    </region>
    <region left="342" top="468" width="317" height="26" color="#000000" bgColor="#ffff80" fontSize="10">
      <math>
        <input>
          <e type="operand">program</e>
          <e type="function" args="1">tcc</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">Tiny C Compiler works!</e>
        </result>
      </math>
    </region>
    <region top="612" color="#000000">
      <area collapsed="false">
        <title lang="rus">
          <content>
            <p>Rscript</p>
          </content>
        </title>
      </area>
      <region left="0" top="630" width="589" height="159" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">program</e>
            <e type="function" args="1">R</e>
            <e type="operand">lines</e>
            <e type="operand" style="string"></e>
            <e type="operator" args="2">:</e>
            <e type="operand">file</e>
            <e type="operand" style="string">./tmp/test.R</e>
            <e type="operator" args="2">:</e>
            <e type="operand">cmd</e>
            <e type="operand" style="string">\"Rscript {file}\"</e>
            <e type="operator" args="2">:</e>
            <e type="operand">1</e>
            <e type="operand">3</e>
            <e type="function" args="5">mat</e>
            <e type="operand">line</e>
            <e type="operand">program</e>
            <e type="operand">line</e>
            <e type="operand">line</e>
            <e type="operand" style="string">\</e>
            <e type="operand" style="string">\\</e>
            <e type="function" args="3">strrep</e>
            <e type="operand" style="string">"</e>
            <e type="operand" style="string">\"</e>
            <e type="function" args="3">strrep</e>
            <e type="operator" args="2">:</e>
            <e type="operand">lines</e>
            <e type="operand">lines</e>
            <e type="operand">line</e>
            <e type="operand" style="string"> \n</e>
            <e type="function" args="3">concat</e>
            <e type="operator" args="2">:</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="function" args="4">line</e>
            <e type="function" args="3">for</e>
            <e type="operand">lines</e>
            <e type="operand" style="string">#'\n</e>
            <e type="operand">lines</e>
            <e type="operand" style="string">#'</e>
            <e type="function" args="3">concat</e>
            <e type="operator" args="2">:</e>
            <e type="operand">file</e>
            <e type="operand">lines</e>
            <e type="function" args="2">writeline</e>
            <e type="function" args="1">maple</e>
            <e type="operand">2</e>
            <e type="operand">cmd</e>
            <e type="function" args="1">ssystem</e>
            <e type="function" args="2">op</e>
            <e type="operand">symbol</e>
            <e type="function" args="2">convert</e>
            <e type="function" args="1">maple</e>
            <e type="operand">5</e>
            <e type="operand">1</e>
            <e type="function" args="7">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region top="783" color="#000000">
        <area terminator="true" />
      </region>
    </region>
    <region left="9" top="801" width="54" height="24" color="#000000" bgColor="#ffff80" fontSize="10">
      <math>
        <input>
          <e type="operand">a</e>
          <e type="operand">11</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="72" top="801" width="54" height="24" color="#000000" bgColor="#ffff80" fontSize="10">
      <math>
        <input>
          <e type="operand">b</e>
          <e type="operand">22</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="144" top="801" width="523" height="26" color="#000000" bgColor="#ffff80" fontSize="10">
      <math>
        <input>
          <e type="operand" style="string">sum &lt;- function(x, y) { x + y }; cat( sum( {a}, {b} ) )</e>
          <e type="function" args="1">R</e>
        </input>
        <result action="numeric">
          <e type="operand">33</e>
        </result>
      </math>
    </region>
    <region left="0" top="837" width="86" height="24" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">text</e>
          <e type="operand" style="string">R</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="0" top="864" width="204" height="119" color="#000000" bgColor="#ffffff" fontSize="10" showInputData="false">
      <mathcadblock width="194" height="111" seqop="mat">
        <input>
          <e type="operand">program</e>
        </input>
      </mathcadblock>
    </region>
    <region left="9" top="873" width="176" height="104" color="#000000" bgColor="#80ff80" fontSize="10" isBreakable="false">
      <text lang="rus" width="176" fontFamily="Arial" fontSize="10">
        <content>
          <p style="font-family: Consolas; background-color: #80ff80;">if ( '{text}' == 'R' )<br />{<br />    cat( 'true' ) <br />} else {<br />    cat( 'false' ) <br />}</p>
        </content>
      </text>
    </region>
    <region left="234" top="873" width="143" height="26" color="#000000" bgColor="#ffff80" fontSize="10">
      <math>
        <input>
          <e type="operand">program</e>
          <e type="function" args="1">R</e>
        </input>
        <result action="symbolic">
          <e type="operand">true</e>
        </result>
      </math>
    </region>
  </regions>
</worksheet>