﻿<?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>b2394ba8-e6a8-4bdd-93e1-36324b87414f</id>
      <revision>27</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.8520.34563" guid="ddc09821-49f1-4c21-a829-6499de0a8f06" />
    </dependencies>
  </settings>
  <regions type="content">
    <region top="9" color="#000000">
      <area collapsed="true">
        <title lang="rus">
          <content>
            <p>MapleToolsVersion</p>
          </content>
        </title>
      </area>
      <region left="9" top="27" width="618" height="170" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">n</e>
            <e type="function" args="1">MapleToolsVersion</e>
            <e type="operand">list</e>
            <e type="operand" style="string">currentdir()</e>
            <e type="function" args="1">parse</e>
            <e type="function" args="1">maple</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">list</e>
            <e type="operand">list</e>
            <e type="operand" style="string">,</e>
            <e type="function" args="2">strsplit</e>
            <e type="operator" args="2">:</e>
            <e type="operand">list</e>
            <e type="operand">list</e>
            <e type="operand">list</e>
            <e type="function" args="1">rows</e>
            <e type="operand">1</e>
            <e type="operator" args="2">-</e>
            <e type="function" args="2">el</e>
            <e type="operand" style="string">.</e>
            <e type="function" args="2">strsplit</e>
            <e type="operator" args="2">:</e>
            <e type="operand">n</e>
            <e type="operand">0</e>
            <e type="operator" args="2">&gt;</e>
            <e type="bracket">(</e>
            <e type="operand">n</e>
            <e type="operand">5</e>
            <e type="operator" args="2">&lt;</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">&amp;</e>
            <e type="operand" style="string">.</e>
            <e type="operand">list</e>
            <e type="operand">1</e>
            <e type="operand">n</e>
            <e type="function" args="2">range</e>
            <e type="function" args="2">el</e>
            <e type="function" args="2">strjoin</e>
            <e type="operand" style="string">n must be between 1 and 4</e>
            <e type="function" args="1">error</e>
            <e type="function" args="3">if</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="198" color="#000000">
        <area terminator="true" />
      </region>
    </region>
    <region top="216" color="#000000">
      <area collapsed="true">
        <title lang="rus">
          <content>
            <p>python</p>
          </content>
        </title>
      </area>
      <region left="9" top="234" width="534" height="131" color="#000000" fontSize="10">
        <math optimize="2">
          <input>
            <e type="operand">script</e>
            <e type="operand">mode</e>
            <e type="function" args="2">py</e>
            <e type="operand">cmd</e>
            <e type="operand" style="string">python -c \"{script}\"</e>
            <e type="operator" args="2">:</e>
            <e type="operand">script</e>
            <e type="operand">script</e>
            <e type="operand">string</e>
            <e type="function" args="2">convert</e>
            <e type="function" args="1">maple</e>
            <e type="operator" args="2">:</e>
            <e type="operand">mode</e>
            <e type="operand">STRING</e>
            <e type="operator" args="2">≡</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">mode</e>
            <e type="operand">cmd</e>
            <e type="function" args="1">ssystem</e>
            <e type="function" args="2">op</e>
            <e type="operand">name</e>
            <e type="function" args="2">convert</e>
            <e type="function" args="1">maple</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>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="27" top="279" width="109" height="63" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">STRING</e>
            <e type="operand">0</e>
            <e type="operator" args="2">:</e>
            <e type="operand">EXITCODE</e>
            <e type="operand">1</e>
            <e type="operator" args="2">:</e>
            <e type="operand">SYMBOL</e>
            <e type="operand">2</e>
            <e type="operator" args="2">:</e>
            <e type="operand">3</e>
            <e type="operand">1</e>
            <e type="function" args="5">line</e>
          </input>
        </math>
      </region>
      <region left="9" top="369" width="263" height="29" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">script</e>
            <e type="function" args="1">py</e>
            <e type="operand">script</e>
            <e type="operand">SYMBOL</e>
            <e type="function" args="2">py</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 top="396" color="#000000">
        <area terminator="true" />
      </region>
    </region>
    <region left="0" top="414" width="608" height="93" color="#000000" bgColor="#ffffff" fontSize="10">
      <mathcadblock width="598" height="85" seqop="mat">
        <description active="false" position="Top" lang="eng">
          <content></content>
        </description>
        <input>
          <e type="operand">days</e>
          <e type="operand">seconds</e>
          <e type="function" args="2">getdate</e>
          <e type="operand">STRING</e>
          <e type="function" args="1">py</e>
          <e type="operator" args="2">:</e>
        </input>
      </mathcadblock>
    </region>
    <region left="9" top="423" width="584" height="72" color="#000000" fontSize="10" isBreakable="false">
      <text lang="rus" width="584" fontFamily="Arial" fontSize="10">
        <content>
          <p style="font-family: Consolas; background-color: #ffffff;">from datetime import datetime, timedelta;<br />date1 = datetime(2000, 1, 1, 0, 0, 0);<br />date2 = date1 + timedelta(days={days}) + timedelta(seconds=2*{seconds});<br />print( date2.strftime('%d.%m.%Y %H:%M:%S'), end='' )</p>
        </content>
      </text>
    </region>
    <region left="0" top="549" width="211" height="26" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">1</e>
          <e type="function" args="1">MapleToolsVersion</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">1</e>
        </result>
      </math>
    </region>
    <region left="0" top="576" width="227" height="26" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">2</e>
          <e type="function" args="1">MapleToolsVersion</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">1.1</e>
        </result>
      </math>
    </region>
    <region left="0" top="603" width="267" height="26" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">3</e>
          <e type="function" args="1">MapleToolsVersion</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">1.1.8517</e>
        </result>
      </math>
    </region>
    <region left="0" top="630" width="315" height="26" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">4</e>
          <e type="function" args="1">MapleToolsVersion</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">1.1.8517.16356</e>
        </result>
      </math>
    </region>
    <region left="0" top="666" width="478" height="39" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">build</e>
          <e type="operand">3</e>
          <e type="function" args="1">MapleToolsVersion</e>
          <e type="operand" style="string">.</e>
          <e type="function" args="2">strsplit</e>
          <e type="operand">3</e>
          <e type="function" args="2">el</e>
          <e type="function" args="1">str2num</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">8517</e>
        </result>
      </math>
    </region>
    <region left="0" top="702" width="510" height="39" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">revision</e>
          <e type="operand">4</e>
          <e type="function" args="1">MapleToolsVersion</e>
          <e type="operand" style="string">.</e>
          <e type="function" args="2">strsplit</e>
          <e type="operand">4</e>
          <e type="function" args="2">el</e>
          <e type="function" args="1">str2num</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">16356</e>
        </result>
      </math>
    </region>
    <region left="0" top="738" width="387" height="26" color="#000000" bgColor="#ffff80" fontSize="10">
      <math>
        <input>
          <e type="operand">build</e>
          <e type="operand">revision</e>
          <e type="function" args="2">getdate</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">27.04.2023 09:05:12</e>
        </result>
      </math>
    </region>
    <region left="0" top="783" width="153" height="26" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">1</e>
          <e type="function" args="1">appVersion</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">1</e>
        </result>
      </math>
    </region>
    <region left="0" top="810" width="169" height="26" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">2</e>
          <e type="function" args="1">appVersion</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">1.0</e>
        </result>
      </math>
    </region>
    <region left="0" top="837" width="209" height="26" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">3</e>
          <e type="function" args="1">appVersion</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">1.0.8348</e>
        </result>
      </math>
    </region>
    <region left="0" top="864" 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 left="0" top="900" width="555" height="41" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">build</e>
          <e type="operand">3</e>
          <e type="function" args="1">appVersion</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="function" args="2">strsplit</e>
          <e type="operand">3</e>
          <e type="function" args="2">el</e>
          <e type="function" args="1">str2num</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">8348</e>
        </result>
      </math>
    </region>
    <region left="0" top="936" width="587" height="41" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">revision</e>
          <e type="operand">4</e>
          <e type="function" args="1">appVersion</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="function" args="2">strsplit</e>
          <e type="operand">4</e>
          <e type="function" args="2">el</e>
          <e type="function" args="1">str2num</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">30405</e>
        </result>
      </math>
    </region>
    <region left="0" top="972" width="387" height="26" color="#000000" bgColor="#ffff80" fontSize="10">
      <math>
        <input>
          <e type="operand">build</e>
          <e type="operand">revision</e>
          <e type="function" args="2">getdate</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">09.11.2022 16:53:30</e>
        </result>
      </math>
    </region>
  </regions>
</worksheet>