﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="0.98.6179.21440"?>
<regions>
  <settings>
    <identity>
      <id>a348f2cc-9c51-4237-b91e-87baf19ffc45</id>
      <revision>6</revision>
    </identity>
    <metadata lang="eng">
      <author>overlord</author>
    </metadata>
    <calculation>
      <precision>4</precision>
      <exponentialThreshold>5</exponentialThreshold>
      <fractions>decimal</fractions>
    </calculation>
    <pageModel active="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="0.98.6179.21440" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="Math Region" version="0.98.6179.21440" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="Text Region" version="1.10.6179.21446" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
      <assembly name="Checkbox Region" version="1.0.5722.400" guid="aeb799ab-3afc-4a82-8f44-27d03df672ca" />
    </dependencies>
    <mode debug="true" />
  </settings>
  <region id="0" left="54" top="9" width="321" height="41" color="#000000" bgColor="#e1ffff" fontSize="20">
    <text lang="eng">
      <p bold="true">Using Checkbox ... </p>
    </text>
  </region>
  <region id="1" left="54" top="54" width="68" height="24" color="#000000" bgColor="#e1ffff" fontSize="10">
    <math>
      <input>
        <e type="operand">k</e>
        <e type="operand">1.25</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="2" left="180" top="54" width="458" height="148" color="#000000" bgColor="#ebebeb" fontSize="12">
    <text lang="eng">
      <p>Depending upon the color of the Checkboxas you click gray/black ... 'k' 3 options:k=1.25 ... k=1 ... k=0In this example, eq(a,b,c,n)is in-situdependent upon [a,b,c] and Checkbox dependentupon [k,1,0]Set 'out' 15 decimals to benefit round(■,n)</p>
    </text>
  </region>
  <region id="3" left="72" top="81" width="32" height="23" color="#000000" bgColor="#e1ffff" fontSize="10">
    <checkbox checked="true">
      <description active="false" position="Right" lang="eng">
        <p>1/0 </p>
      </description>
      <input>
        <e type="operand">k</e>
      </input>
    </checkbox>
  </region>
  <region id="4" left="54" top="135" width="53" height="24" color="#000000" bgColor="#e1ffff" fontSize="10">
    <math>
      <description active="true" position="Right" lang="eng">
        <p>1/0</p>
      </description>
      <input>
        <e type="operand">k</e>
      </input>
      <result action="numeric">
        <e type="operand">1</e>
      </result>
    </math>
  </region>
  <region id="5" left="54" top="234" width="254" height="43" color="#000000" bgColor="#e1ffff" fontSize="10">
    <math>
      <input>
        <e type="operand">a</e>
        <e type="operand">b</e>
        <e type="operand">c</e>
        <e type="operand">n</e>
        <e type="function" args="4">eq</e>
        <e type="operand">k</e>
        <e type="operand">a</e>
        <e type="operand">b</e>
        <e type="operand">c</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">/</e>
        <e type="operator" args="2">*</e>
        <e type="operand">n</e>
        <e type="function" preserve="true" args="2">round</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="6" left="54" top="279" width="172" height="27" color="#000000" bgColor="#e1ffff" fontSize="10">
    <math>
      <input>
        <e type="operand">a</e>
        <e type="operand">50</e>
        <e type="operator" args="2">:</e>
        <e type="operand">b</e>
        <e type="operand">0.85</e>
        <e type="operator" args="2">:</e>
        <e type="operand">c</e>
        <e type="operand">10</e>
        <e type="operator" args="2">:</e>
        <e type="operand">1</e>
        <e type="operand">3</e>
        <e type="function" preserve="true" args="5">mat</e>
      </input>
    </math>
  </region>
  <region id="7" left="54" top="306" width="251" height="26" color="#000000" bgColor="#e1ffff" fontSize="10">
    <math decimalPlaces="15">
      <input>
        <e type="operand">out</e>
        <e type="operand">a</e>
        <e type="operand">b</e>
        <e type="operand">c</e>
        <e type="operand">6</e>
        <e type="function" args="4">eq</e>
        <e type="operator" args="2">:</e>
      </input>
      <result action="numeric">
        <e type="operand">5.882353</e>
      </result>
    </math>
  </region>
  <region id="8" left="45" top="369" width="68" height="24" color="#000000" bgColor="#ffe1e1" fontSize="10">
    <math>
      <input>
        <e type="operand">k</e>
        <e type="operand">1.25</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="9" left="63" top="396" width="32" height="23" color="#000000" bgColor="#ffe1e1" fontSize="10">
    <checkbox checked="false">
      <description active="false" position="Right" lang="eng">
        <p>1/0 </p>
      </description>
      <input>
        <e type="operand">k</e>
      </input>
    </checkbox>
  </region>
  <region id="10" left="45" top="450" width="53" height="24" color="#000000" bgColor="#ffe1e1" fontSize="10">
    <math>
      <description active="true" position="Right" lang="eng">
        <p>1/0</p>
      </description>
      <input>
        <e type="operand">k</e>
      </input>
      <result action="numeric">
        <e type="operand">0</e>
      </result>
    </math>
  </region>
  <region id="11" left="45" top="486" width="254" height="43" color="#000000" bgColor="#ffe1e1" fontSize="10">
    <math>
      <input>
        <e type="operand">a</e>
        <e type="operand">b</e>
        <e type="operand">c</e>
        <e type="operand">n</e>
        <e type="function" args="4">eq</e>
        <e type="operand">k</e>
        <e type="operand">a</e>
        <e type="operand">b</e>
        <e type="operand">c</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">/</e>
        <e type="operator" args="2">*</e>
        <e type="operand">n</e>
        <e type="function" preserve="true" args="2">round</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="12" left="45" top="531" width="172" height="27" color="#000000" bgColor="#ffe1e1" fontSize="10">
    <math>
      <input>
        <e type="operand">a</e>
        <e type="operand">50</e>
        <e type="operator" args="2">:</e>
        <e type="operand">b</e>
        <e type="operand">0.85</e>
        <e type="operator" args="2">:</e>
        <e type="operand">c</e>
        <e type="operand">10</e>
        <e type="operator" args="2">:</e>
        <e type="operand">1</e>
        <e type="operand">3</e>
        <e type="function" preserve="true" args="5">mat</e>
      </input>
    </math>
  </region>
  <region id="13" left="45" top="558" width="193" height="26" color="#000000" bgColor="#ffe1e1" fontSize="10">
    <math decimalPlaces="15">
      <input>
        <e type="operand">out</e>
        <e type="operand">a</e>
        <e type="operand">b</e>
        <e type="operand">c</e>
        <e type="operand">6</e>
        <e type="function" args="4">eq</e>
        <e type="operator" args="2">:</e>
      </input>
      <result action="numeric">
        <e type="operand">0</e>
      </result>
    </math>
  </region>
  <region id="14" left="45" top="621" width="68" height="24" color="#000000" bgColor="#e1ff80" fontSize="10">
    <math>
      <input>
        <e type="operand">k</e>
        <e type="operand">1.25</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="15" left="63" top="648" width="36" height="23" color="#000000" bgColor="#e1ff80" fontSize="10">
    <checkbox evaluate="false" checked="false">
      <description active="false" position="Right" lang="eng">
        <p>1/0 </p>
      </description>
      <input>
        <e type="operand">k</e>
      </input>
    </checkbox>
  </region>
  <region id="16" left="45" top="702" width="78" height="24" color="#000000" bgColor="#e1ff80" fontSize="10">
    <math>
      <description active="true" position="Right" lang="eng">
        <p>1/0</p>
      </description>
      <input>
        <e type="operand">k</e>
      </input>
      <result action="numeric">
        <e type="operand">1.25</e>
      </result>
    </math>
  </region>
  <region id="17" left="45" top="738" width="254" height="43" color="#000000" bgColor="#e1ff80" fontSize="10">
    <math>
      <input>
        <e type="operand">a</e>
        <e type="operand">b</e>
        <e type="operand">c</e>
        <e type="operand">n</e>
        <e type="function" args="4">eq</e>
        <e type="operand">k</e>
        <e type="operand">a</e>
        <e type="operand">b</e>
        <e type="operand">c</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">/</e>
        <e type="operator" args="2">*</e>
        <e type="operand">n</e>
        <e type="function" preserve="true" args="2">round</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="18" left="45" top="783" width="172" height="27" color="#000000" bgColor="#e1ff80" fontSize="10">
    <math>
      <input>
        <e type="operand">a</e>
        <e type="operand">50</e>
        <e type="operator" args="2">:</e>
        <e type="operand">b</e>
        <e type="operand">0.85</e>
        <e type="operator" args="2">:</e>
        <e type="operand">c</e>
        <e type="operand">10</e>
        <e type="operator" args="2">:</e>
        <e type="operand">1</e>
        <e type="operand">3</e>
        <e type="function" preserve="true" args="5">mat</e>
      </input>
    </math>
  </region>
  <region id="19" left="45" top="810" width="276" height="26" color="#000000" bgColor="#e1ff80" fontSize="10">
    <math decimalPlaces="15">
      <input>
        <e type="operand">out</e>
        <e type="operand">a</e>
        <e type="operand">b</e>
        <e type="operand">c</e>
        <e type="operand">9</e>
        <e type="function" args="4">eq</e>
        <e type="operator" args="2">:</e>
      </input>
      <result action="numeric">
        <e type="operand">7.352941176</e>
      </result>
    </math>
  </region>
  <region id="20" left="9" top="864" width="793" height="61" color="#000000" bgColor="#ffff80" fontSize="32">
    <text lang="eng">
      <p bold="true">... Davide Carpi tutorial ...</p>
    </text>
  </region>
  <region id="21" top="945" color="#000000" bgColor="#ffffff">
    <area single="true" collapsed="true">
      <title lang="eng">
        <p>FEATURES</p>
      </title>
    </area>
  </region>
  <region id="22" left="18" top="972" width="53" height="24" border="true" color="#000000" bgColor="#ffff00" fontSize="10">
    <math>
      <input>
        <e type="operand">input</e>
      </input>
    </math>
  </region>
  <region id="23" left="36" top="999" width="577" height="56" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p italic="true">column vectors, systems, matrices;numeric and symbolic data supported;buttons' text may be choosen from any column (1st column as default).</p>
    </text>
  </region>
  <region id="24" left="18" top="1062" width="61" height="24" border="true" color="#000000" bgColor="#ffff00" fontSize="10">
    <math>
      <input>
        <e type="operand">output</e>
      </input>
    </math>
  </region>
  <region id="25" left="36" top="1089" width="592" height="88" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p italic="true">default: 1/0 checked status of the items;or: the n-th element in the row of the selected item;or: the whole row of the selected item;output will be stored in any variable placed in the region placeholder.</p>
    </text>
  </region>
  <region id="26" left="18" top="1197" width="78" height="24" border="true" color="#000000" bgColor="#ffff00" fontSize="10">
    <math>
      <input>
        <e type="operand">settings</e>
      </input>
    </math>
  </region>
  <region id="27" left="36" top="1224" width="388" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p italic="true">double-click over the region.colors are driven by the SMath Studio toolbar.</p>
    </text>
  </region>
  <region id="28" left="18" top="1278" width="86" height="24" border="true" color="#000000" bgColor="#ffff00" fontSize="10">
    <math>
      <input>
        <e type="operand">selection</e>
      </input>
    </math>
  </region>
  <region id="29" left="36" top="1305" width="521" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p italic="true">- mouse-click- context menu options (check all/check none/invert selection)</p>
    </text>
  </region>
  <region id="30" top="1350" color="#000000" bgColor="#ffffff">
    <area single="true" collapsed="true">
      <title lang="eng">
        <p>INPUT/OUTPUT</p>
      </title>
    </area>
  </region>
  <region id="31" left="27" top="1386" width="210" height="99" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <description active="false" position="Top" lang="ita">
        <p />
      </description>
      <input>
        <e type="operand">input.1</e>
        <e type="operand" style="string">1st option</e>
        <e type="operand">20</e>
        <e type="operand" style="string">2nd option</e>
        <e type="operand">30</e>
        <e type="operand" style="string">3rd option</e>
        <e type="operand">40</e>
        <e type="operand" style="string">4th option</e>
        <e type="operand">50</e>
        <e type="operand" style="string">...</e>
        <e type="operand">60</e>
        <e type="operand">5</e>
        <e type="operand">2</e>
        <e type="function" preserve="true" args="12">mat</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="32" left="27" top="1503" width="209" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p underline="true" italic="true">checked status (default)</p>
    </text>
  </region>
  <region id="33" left="369" top="1503" width="136" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p underline="true" italic="true">checked indices</p>
    </text>
  </region>
  <region id="34" left="63" top="1530" width="155" height="170" color="#000000" bgColor="#ffffff">
    <missing>
      <input>
        <e type="operand">#</e>
      </input>
    </missing>
  </region>
  <region id="35" left="360" top="1530" width="155" height="170" color="#000000" bgColor="#ffffff">
    <missing>
      <input>
        <e type="operand">#</e>
      </input>
    </missing>
  </region>
  <region id="36" left="45" top="1737" width="121" height="99" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">output.1a</e>
      </input>
      <result action="numeric">
        <e type="operand">1</e>
        <e type="operand">0</e>
        <e type="operand">0</e>
        <e type="operand">1</e>
        <e type="operand">0</e>
        <e type="operand">5</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="7">mat</e>
      </result>
    </math>
  </region>
  <region id="37" left="351" top="1737" width="121" height="33" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">output.1b</e>
      </input>
      <result action="symbolic">
        <e type="operand">3</e>
        <e type="operand">1</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="3">mat</e>
      </result>
    </math>
  </region>
  <region id="38" left="531" top="1737" width="191" height="40" border="true" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p italic="true">a scalar 0 is providedfor empty sets</p>
    </text>
  </region>
  <region id="39" left="36" top="1863" width="217" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p underline="true" italic="true">rows of the checked items</p>
    </text>
  </region>
  <region id="40" left="351" top="1863" width="275" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p underline="true" italic="true">n-th element in the checked rows</p>
    </text>
  </region>
  <region id="41" left="63" top="1890" width="155" height="170" color="#000000" bgColor="#ffffff">
    <missing>
      <input>
        <e type="operand">#</e>
      </input>
    </missing>
  </region>
  <region id="42" left="378" top="1890" width="155" height="170" color="#000000" bgColor="#ffffff">
    <missing>
      <input>
        <e type="operand">#</e>
      </input>
    </missing>
  </region>
  <region id="43" left="54" top="2097" width="246" height="51" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">output.1c</e>
      </input>
      <result action="symbolic">
        <e type="operand" style="string">3rd option</e>
        <e type="operand">40</e>
        <e type="operand">1</e>
        <e type="operand">2</e>
        <e type="function" preserve="true" args="4">mat</e>
        <e type="operand" style="string">4th option</e>
        <e type="operand">50</e>
        <e type="operand">1</e>
        <e type="operand">2</e>
        <e type="function" preserve="true" args="4">mat</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="4">mat</e>
      </result>
    </math>
  </region>
  <region id="44" left="369" top="2097" width="129" height="45" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">output.1d</e>
      </input>
      <result action="symbolic">
        <e type="operand">40</e>
        <e type="operand">50</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="4">mat</e>
      </result>
    </math>
  </region>
  <region id="45" left="540" top="2097" width="191" height="40" border="true" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p italic="true">a scalar 0 is providedfor empty sets</p>
    </text>
  </region>
  <region id="46" top="2232" color="#000000" bgColor="#ffffff">
    <area single="true" collapsed="true">
      <title lang="eng">
        <p>STYLE</p>
      </title>
    </area>
  </region>
  <region id="47" left="72" top="2268" width="610" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p underline="true" italic="true">Font and background colors and the border are driven by the SMath toolbar</p>
    </text>
  </region>
  <region id="48" left="45" top="2295" width="669" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p underline="true" italic="true">Font-family and layout are in the settings window (double-click over the region)</p>
    </text>
  </region>
  <region id="49" left="54" top="2331" width="637" height="50" border="true" color="#000000" bgColor="#dddddd">
    <missing>
      <input>
        <e type="operand">#</e>
      </input>
    </missing>
  </region>
  <region id="50" left="18" top="2394" width="367" height="80" border="true" color="#ffffff" bgColor="#191919">
    <missing>
      <input>
        <e type="operand">#</e>
      </input>
    </missing>
  </region>
  <region id="51" left="387" top="2394" width="388" height="80" border="true" color="#800080" bgColor="#ffdfef">
    <missing>
      <input>
        <e type="operand">#</e>
      </input>
    </missing>
  </region>
  <region id="52" left="225" top="2484" width="329" height="110" border="true" color="#004080" bgColor="#d2e9ff">
    <missing>
      <input>
        <e type="operand">#</e>
      </input>
    </missing>
  </region>
  <region id="53" top="2601" color="#000000" bgColor="#ffffff">
    <area single="true" collapsed="true">
      <title lang="eng">
        <p>examples</p>
      </title>
    </area>
  </region>
  <region id="54" left="54" top="2637" width="244" height="225" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2">
      <input>
        <e type="operand">input.3</e>
        <e type="operand">1</e>
        <e type="operand">3</e>
        <e type="operator" args="2">/</e>
        <e type="operand">0.5</e>
        <e type="operand">2.1</e>
        <e type="operand" style="unit">W</e>
        <e type="operator" args="2">*</e>
        <e type="operand" style="string">an option</e>
        <e type="operand" style="string">...</e>
        <e type="operand">x</e>
        <e type="operand">2</e>
        <e type="operator" args="2">^</e>
        <e type="function" preserve="true" args="1">sin</e>
        <e type="operand">A.B</e>
        <e type="operand" style="string">S:2.1*'W</e>
        <e type="operand" style="string">S:x^n+x^{n-1}+…+x</e>
        <e type="operand" style="string">S:φ={1+sqrt(5)}/2</e>
        <e type="operand">10</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="12">mat</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="55" left="333" top="2826" width="406" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p italic="true">S:SMathPlainExpression (using standard settings)</p>
    </text>
  </region>
  <region id="56" left="45" top="2880" width="368" height="246" color="#000000" bgColor="#ffffff">
    <missing>
      <input>
        <e type="operand">#</e>
      </input>
    </missing>
  </region>
  <region id="57" left="54" top="3141" width="121" height="81" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">output.3</e>
      </input>
      <result action="numeric">
        <e type="operand">3</e>
        <e type="operand">6</e>
        <e type="operand">7</e>
        <e type="operand">10</e>
        <e type="operand">4</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="6">mat</e>
      </result>
    </math>
  </region>
</regions>