﻿<?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>110</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="SpecialFunctions" version="1.12.8348.30405" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
      <assembly name="Maple Tools" version="1.1.8510.19867" 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.8509.39211" guid="ddc09821-49f1-4c21-a829-6499de0a8f06" />
    </dependencies>
  </settings>
  <regions type="content">
    <region left="0" top="9" width="708" height="28" color="#000000" fontSize="9">
      <math>
        <input>
          <e type="operand">version</e>
          <e type="function" args="1">kernelopts</e>
          <e type="operand">string</e>
          <e type="function" args="2">convert</e>
          <e type="function" args="1">maple</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">Maple 6, IBM INTEL NT, Jan 31 2000 Build ID 16401</e>
        </result>
      </math>
    </region>
    <region left="0" top="36" width="357" height="26" color="#000000" fontSize="9">
      <math>
        <input>
          <e type="operand" style="string">echo test</e>
          <e type="operand">string</e>
          <e type="function" args="2">convert</e>
          <e type="function" args="1">maple</e>
        </input>
        <result action="symbolic">
          <e type="operand" style="string">echo test</e>
        </result>
      </math>
    </region>
    <region left="405" top="36" width="234" height="24" color="#000000" fontSize="9">
      <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="63" color="#000000">
      <area collapsed="false">
        <title lang="rus">
          <content>
            <p>python</p>
          </content>
        </title>
      </area>
      <region left="0" top="81" width="424" height="33" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">line</e>
            <e type="function" args="1">system</e>
            <e type="operand">line</e>
            <e type="operand">string</e>
            <e type="function" args="2">convert</e>
            <e type="function" args="1">system</e>
            <e type="function" args="1">maple</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="0" top="108" width="230" height="24" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">pyfile</e>
            <e type="operand" style="string">c:\\Temp\\test.py</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="243" top="108" width="238" height="24" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">outfile</e>
            <e type="operand" style="string">c:\\Temp\\out.txt</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="0" top="135" width="604" height="133" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">script</e>
            <e type="function" args="1">python</e>
            <e type="operand">script</e>
            <e type="function" args="1">IsString</e>
            <e type="operand">pyfile</e>
            <e type="operand">script</e>
            <e type="function" args="2">writeline</e>
            <e type="function" args="1">maple</e>
            <e type="operand">writeline</e>
            <e type="operand">pyfile</e>
            <e type="operand">script</e>
            <e type="operand">vector</e>
            <e type="function" args="2">convert</e>
            <e type="function" args="3">map2</e>
            <e type="function" args="1">maple</e>
            <e type="function" args="3">if</e>
            <e type="operand" style="string">python </e>
            <e type="operand">pyfile</e>
            <e type="operand" style="string"> &gt; </e>
            <e type="operand">outfile</e>
            <e type="function" args="4">cat</e>
            <e type="function" args="1">system</e>
            <e type="operand">outfile</e>
            <e type="function" args="1">readline</e>
            <e type="function" args="1">maple</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 top="270" color="#000000">
        <area terminator="true" />
      </region>
    </region>
    <region left="144" top="288" width="419" height="26" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand" style="string">print( 'Hello, world!' )</e>
          <e type="function" args="1">python</e>
        </input>
        <result action="symbolic">
          <e type="operand" style="string">Hello, world!</e>
        </result>
      </math>
    </region>
    <region left="0" top="324" width="265" height="42" color="#000000" bgColor="#ffffff" fontSize="10" showInputData="false">
      <mathcadblock width="255" height="34" seqop="mat">
        <input>
          <e type="operand">script</e>
        </input>
      </mathcadblock>
    </region>
    <region left="405" top="324" width="261" height="26" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">script</e>
          <e type="function" args="1">python</e>
        </input>
        <result action="symbolic">
          <e type="operand" style="string">Hello, world!</e>
        </result>
      </math>
    </region>
    <region left="9" top="333" width="218" height="24" color="#000000" fontSize="10" showInputData="false">
      <math>
        <input>
          <e type="operand" style="string">print( 'Hello, world!' )</e>
        </input>
      </math>
    </region>
    <region left="0" top="369" width="389" height="69" color="#000000" bgColor="#ffffff" fontSize="10" showInputData="false">
      <mathcadblock width="379" height="61" seqop="mat">
        <input>
          <e type="operand">script</e>
        </input>
      </mathcadblock>
    </region>
    <region left="405" top="369" width="261" height="26" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">script</e>
          <e type="function" args="1">python</e>
        </input>
        <result action="symbolic">
          <e type="operand" style="string">Python works!</e>
        </result>
      </math>
    </region>
    <region left="9" top="378" width="170" height="24" color="#000000" fontSize="10" showInputData="false">
      <math>
        <input>
          <e type="operand" style="string">string1 ≡ 'Python'</e>
        </input>
      </math>
    </region>
    <region left="198" top="378" width="178" height="24" color="#000000" fontSize="10" showInputData="false">
      <math>
        <input>
          <e type="operand" style="string">string2 ≡ ' works!'</e>
        </input>
      </math>
    </region>
    <region left="9" top="405" width="234" height="24" color="#000000" fontSize="10" showInputData="false">
      <math>
        <input>
          <e type="operand" style="string">print( string1 + string2 )</e>
        </input>
      </math>
    </region>
    <region left="0" top="441" width="389" height="69" color="#000000" bgColor="#ffffff" fontSize="10" showInputData="false">
      <mathcadblock width="379" height="61" seqop="mat">
        <input>
          <e type="operand">script</e>
        </input>
      </mathcadblock>
    </region>
    <region left="405" top="441" width="173" height="26" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">script</e>
          <e type="function" args="1">python</e>
        </input>
        <result action="symbolic">
          <e type="operand" style="string">30</e>
        </result>
      </math>
    </region>
    <region left="9" top="450" width="130" height="24" color="#000000" fontSize="10" showInputData="false">
      <math>
        <input>
          <e type="operand" style="string">def sum(a,b):</e>
        </input>
      </math>
    </region>
    <region left="198" top="450" width="138" height="24" color="#000000" fontSize="10" showInputData="false">
      <math>
        <input>
          <e type="operand" style="string">  return a + b</e>
        </input>
      </math>
    </region>
    <region left="9" top="477" width="162" height="24" color="#000000" fontSize="10" showInputData="false">
      <math>
        <input>
          <e type="operand" style="string">print(sum(10,20))</e>
        </input>
      </math>
    </region>
    <region left="0" top="513" width="389" height="69" color="#000000" bgColor="#ffffff" fontSize="10" showInputData="false">
      <mathcadblock width="379" height="61" seqop="mat">
        <input>
          <e type="operand">script</e>
        </input>
      </mathcadblock>
    </region>
    <region left="9" top="522" width="82" height="24" color="#000000" fontSize="10" showInputData="false">
      <math>
        <input>
          <e type="operand" style="string">n1 ≡ 10</e>
        </input>
      </math>
    </region>
    <region left="90" top="522" width="90" height="24" color="#000000" fontSize="10" showInputData="false">
      <math>
        <input>
          <e type="operand" style="string">n2 ≡ 100</e>
        </input>
      </math>
    </region>
    <region left="189" top="522" width="186" height="24" color="#000000" fontSize="10" showInputData="false">
      <math>
        <input>
          <e type="operand" style="string">maximum ≡ max(n1,n2)</e>
        </input>
      </math>
    </region>
    <region left="9" top="549" width="354" height="24" color="#000000" fontSize="10" showInputData="false">
      <math>
        <input>
          <e type="operand" style="string">print(f'The maximum number is {maximum}')</e>
        </input>
      </math>
    </region>
    <region left="405" top="549" width="327" height="23" color="#000000" bgColor="#ff8080" fontSize="10">
      <text lang="rus" width="327" fontFamily="Arial" fontSize="10">
        <content>
          <p style="background-color: #ff8080;">{} -&gt; () - smath to maple conversion for all symbols</p>
        </content>
      </text>
    </region>
    <region left="342" top="567" width="405" height="26" color="#000000" bgColor="#ffff80" fontSize="10">
      <math>
        <input>
          <e type="operand">script</e>
          <e type="function" args="1">python</e>
        </input>
        <result action="symbolic">
          <e type="operand" style="string">The maximum number is (maximum)</e>
        </result>
      </math>
    </region>
  </regions>
</worksheet>