﻿<?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="96">
    <identity>
      <id>3228f2c6-992a-4366-879e-5cd763d3c954</id>
      <revision>5</revision>
    </identity>
    <metadata lang="eng">
      <author>Chinmoy Kolay</author>
    </metadata>
    <calculation>
      <precision>3</precision>
      <exponentialThreshold>5</exponentialThreshold>
      <trailingZeros>true</trailingZeros>
      <significantDigitsMode>false</significantDigitsMode>
      <roundingMode>0</roundingMode>
      <approximateEqualAccuracy>0</approximateEqualAccuracy>
      <fractions>decimal</fractions>
    </calculation>
    <pageModel active="false" viewMode="2" printGrid="false" printAreas="false" simpleEqualsOnly="false" printBackgroundImages="true">
      <paper id="9" orientation="Portrait" width="827" height="1169" />
      <margins left="77" right="77" top="77" bottom="77" />
      <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="TextRegion" version="1.11.8348.30405" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
    </dependencies>
  </settings>
  <regions type="content">
    <region left="0" top="27" width="645" height="48" color="#000000" fontSize="12">
      <text lang="eng" fontFamily="Arial" fontSize="12">
        <content>
          <p>Let us define a variable \[REGION[f1ffb626267d49b1a36f67d0e3deb689]]\ and another variable \[REGION[4cb1d8d23ef044af85698f39684134de]]\. Let's define another variable \[REGION[0a9fb56fbdb34b5c853e6f9ca128e96d]]\. This works when it is within the same text environment.</p>
        </content>
        <regions>
          <region id="f1ffb626267d49b1a36f67d0e3deb689" left="172" top="0" width="53" height="27" color="#000000" fontSize="12">
            <math>
              <input>
                <e type="operand">A</e>
                <e type="operand">5</e>
                <e type="operator" args="2">:</e>
              </input>
            </math>
          </region>
          <region id="4cb1d8d23ef044af85698f39684134de" left="373" top="0" width="53" height="27" color="#000000" fontSize="12">
            <math>
              <input>
                <e type="operand">B</e>
                <e type="operand">6</e>
                <e type="operator" args="2">:</e>
              </input>
            </math>
          </region>
          <region id="0a9fb56fbdb34b5c853e6f9ca128e96d" left="2" top="20" width="125" height="27" color="#000000" fontSize="12">
            <math trailingZeros="false">
              <input>
                <e type="operand">C</e>
                <e type="operand">A</e>
                <e type="operand">B</e>
                <e type="operator" args="2">+</e>
                <e type="operator" args="2">:</e>
              </input>
              <result action="numeric">
                <e type="operand">11</e>
              </result>
            </math>
          </region>
        </regions>
      </text>
    </region>
    <region left="0" top="108" width="631" height="28" color="#000000" fontSize="12">
      <text lang="eng" fontFamily="Arial" fontSize="12">
        <content>
          <p>Now, let's define yet another variable \[REGION[0ba60250038244a8b521f7332a29055b]]\. This time it says A is not defined.</p>
        </content>
        <regions>
          <region id="0ba60250038244a8b521f7332a29055b" left="268" top="0" width="115" height="27" color="#000000" fontSize="12">
            <math error="2" errorLocation="1">
              <input>
                <e type="operand">D</e>
                <e type="operand">A</e>
                <e type="operand">B</e>
                <e type="operator" args="2">+</e>
                <e type="operator" args="2">:</e>
              </input>
              <result action="numeric">
                <e type="operand">#</e>
              </result>
            </math>
          </region>
        </regions>
      </text>
    </region>
    <region left="0" top="162" width="624" height="26" color="#000000" fontSize="12">
      <text lang="eng" fontFamily="Arial" fontSize="12">
        <content>
          <p>Interestingly, if we print the value of D outside text region, it seems to work. See below</p>
        </content>
      </text>
    </region>
    <region left="0" top="198" width="99" height="27" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand">D</e>
        </input>
        <result action="numeric">
          <e type="operand">11.000</e>
        </result>
      </math>
    </region>
  </regions>
</worksheet>