﻿<?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>8</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="63" 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="45" top="855" width="577" height="41" color="#800000" bgColor="#ffffc8" fontSize="20">
    <text lang="eng">
      <p bold="true">User project administrator wrt 'k'</p>
    </text>
  </region>
  <region id="21" left="45" top="909" width="330" height="123" color="#000000" bgColor="#ebebeb" fontSize="10">
    <math decimalPlaces="15">
      <input>
        <e type="operand">j</e>
        <e type="function" args="1">k</e>
        <e type="operand">myCheckbox</e>
        <e type="operand">v</e>
        <e type="operand">1</e>
        <e type="operand">1.25</e>
        <e type="operand">2</e>
        <e type="function" preserve="true" args="1">sqrt</e>
        <e type="operand">2</e>
        <e type="function" preserve="true" args="1">ln</e>
        <e type="operand">1</e>
        <e type="operand">4</e>
        <e type="function" preserve="true" args="6">mat</e>
        <e type="operator" args="2">:</e>
        <e type="operand">j</e>
        <e type="operand">1</e>
        <e type="operand">v</e>
        <e type="function" preserve="true" args="1">cols</e>
        <e type="function" preserve="true" args="2">range</e>
        <e type="operand">box</e>
        <e type="operand">j</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operand">v</e>
        <e type="operand">j</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operator" args="2">:</e>
        <e type="function" preserve="true" args="3">for</e>
        <e type="operand">box</e>
        <e type="operand">3</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="5">line</e>
        <e type="operator" args="2">:</e>
        <e type="operand">myCheckbox</e>
        <e type="operand">j</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="4">line</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="22" left="378" top="909" width="220" height="26" color="#000000" bgColor="#ebebeb" fontSize="10">
    <math decimalPlaces="15">
      <input>
        <e type="operand">k</e>
        <e type="operand">3</e>
        <e type="function" args="1">k</e>
        <e type="operator" args="2">:</e>
      </input>
      <result action="numeric">
        <e type="operand">1.41421356237309</e>
      </result>
    </math>
  </region>
  <region id="23" left="378" top="936" width="254" height="43" color="#000000" bgColor="#ebebeb" fontSize="10">
    <math decimalPlaces="15">
      <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="24" left="378" top="981" width="171" height="26" color="#000000" bgColor="#ebebeb" fontSize="10">
    <math decimalPlaces="15">
      <description active="true" position="Right" lang="eng">
        <p>set 15 decimals</p>
      </description>
      <input>
        <e type="operand">n</e>
        <e type="function" args="1">EQ</e>
        <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="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="25" left="378" top="1008" width="164" height="26" color="#000000" bgColor="#ebebeb" fontSize="10">
    <math decimalPlaces="12">
      <input>
        <e type="operand">9</e>
        <e type="function" args="1">EQ</e>
      </input>
      <result action="numeric">
        <e type="operand">8.318903308</e>
      </result>
    </math>
  </region>
</regions>