﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="0.99.6671.38791"?>
<regions xmlns="http://smath.info/schemas/worksheet/1.0">
  <settings dpi="96">
    <identity>
      <id>c5c6ae02-167d-4423-9001-9c89a651286d</id>
      <revision>3</revision>
    </identity>
    <calculation>
      <precision>7</precision>
      <exponentialThreshold>10</exponentialThreshold>
      <trailingZeros>false</trailingZeros>
      <significantDigitsMode>true</significantDigitsMode>
      <roundingMode>0</roundingMode>
      <fractions>decimal</fractions>
    </calculation>
    <pageModel active="true" viewMode="0" printGrid="False" printAreas="True" simpleEqualsOnly="false" printBackgroundImages="true">
      <paper id="1" orientation="Portrait" width="850" height="1100" />
      <margins left="39" right="39" top="39" bottom="39" />
      <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.99.6671.38791" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="Math Region" version="0.99.6671.38791" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="Custom Functions" version="1.1.6522.6678" guid="18dadffd-79a3-4cf9-aee1-d66deb0ea720" />
      <assembly name="Special Functions" version="1.11.6671.38793" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
      <assembly name="Text Region" version="1.10.6671.38794" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
    </dependencies>
  </settings>
  <region id="0" left="72" top="81" width="197" height="63" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">M</e>
        <e type="operand">3</e>
        <e type="operand">3</e>
        <e type="function" args="2">Zeros</e>
        <e type="operator" args="2">:</e>
      </input>
      <result action="numeric">
        <e type="operand">0</e>
        <e type="operand">0</e>
        <e type="operand">0</e>
        <e type="operand">0</e>
        <e type="operand">0</e>
        <e type="operand">0</e>
        <e type="operand">0</e>
        <e type="operand">0</e>
        <e type="operand">0</e>
        <e type="operand">3</e>
        <e type="operand">3</e>
        <e type="function" args="11">mat</e>
      </result>
    </math>
  </region>
  <region id="1" left="0" top="162" width="764" height="56" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>To assign values to individual elements of M you can use the el() function hotkey "[".There are two ways to index the elements of M. You can use the serial method  which assignsa single number to each element within M from 1 to n where n is the number of elements in M. </p>
    </text>
  </region>
  <region id="2" left="279" top="243" width="463" height="88" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>This is identicial to writing the following pseudo-codefor i in 1..length(M){       M(i)=i}</p>
    </text>
  </region>
  <region id="3" left="18" top="252" width="145" height="28" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2">
      <input>
        <e type="operand">i</e>
        <e type="operand">1</e>
        <e type="operand">M</e>
        <e type="function" args="1">length</e>
        <e type="function" args="2">range</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="4" left="18" top="288" width="135" height="63" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">M</e>
        <e type="operand">i</e>
        <e type="function" args="2">el</e>
        <e type="operand">i</e>
        <e type="operator" args="2">:</e>
      </input>
      <result action="numeric">
        <e type="operand">1</e>
        <e type="operand">2</e>
        <e type="operand">3</e>
        <e type="operand">4</e>
        <e type="operand">5</e>
        <e type="operand">6</e>
        <e type="operand">7</e>
        <e type="operand">8</e>
        <e type="operand">9</e>
        <e type="operand">3</e>
        <e type="operand">3</e>
        <e type="function" args="11">mat</e>
      </result>
    </math>
  </region>
  <region id="5" left="0" top="369" width="615" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>You can create the previous assignment by typing "M[i:i=" without quotes. </p>
    </text>
  </region>
  <region id="6" left="0" top="414" width="771" height="56" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>The second method to assign values to individual elements is by selecting the rows and columnof the element you wish to assign. For example to change the value "4" to "100" you would write the following.</p>
    </text>
  </region>
  <region id="7" left="9" top="495" width="179" height="63" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">M</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="function" args="3">el</e>
        <e type="operand">100</e>
        <e type="operator" args="2">:</e>
      </input>
      <result action="numeric">
        <e type="operand">1</e>
        <e type="operand">2</e>
        <e type="operand">3</e>
        <e type="operand">100</e>
        <e type="operand">5</e>
        <e type="operand">6</e>
        <e type="operand">7</e>
        <e type="operand">8</e>
        <e type="operand">9</e>
        <e type="operand">3</e>
        <e type="operand">3</e>
        <e type="function" args="11">mat</e>
      </result>
    </math>
  </region>
  <region id="8" left="9" top="576" width="720" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>You can create the previous assignment by typing "M[2,1:100=" without quotes. Here 2 represents the second row and 1 is the 1st column where the previous value of "4" was. </p>
    </text>
  </region>
</regions>