﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="0.99.7822.147"?>
<worksheet xmlns="http://smath.info/schemas/worksheet/1.0">
  <settings ppi="96">
    <identity>
      <id>376f469e-386f-4058-a45e-cfc01e235c2d</id>
      <revision>12</revision>
    </identity>
    <calculation>
      <precision>4</precision>
      <exponentialThreshold>5</exponentialThreshold>
      <trailingZeros>false</trailingZeros>
      <significantDigitsMode>false</significantDigitsMode>
      <roundingMode>0</roundingMode>
      <fractions>decimal</fractions>
    </calculation>
    <pageModel active="false" viewMode="2" printGrid="false" printAreas="true" simpleEqualsOnly="false" printBackgroundImages="true">
      <paper id="1" 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.99.7822.147" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="MathRegion" version="1.11.7822.147" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="PictureRegion" version="1.10.7822.147" guid="06b5df04-393e-4be7-9107-305196fcb861" />
      <assembly name="SpecialFunctions" version="1.12.7822.147" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
      <assembly name="Maple Tools" version="1.1.7809.39615" guid="32dfd679-8cfd-483a-b79a-19d5ea838750" />
      <assembly name="TextRegion" version="1.11.7822.147" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
    </dependencies>
  </settings>
  <regions type="content">
    <region left="0" top="0" width="111" height="32" color="#000000" bgColor="#80ffff" fontSize="16">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p style="background-color: #80ffff; font-size: 16px;">1 D Matrix</p>
        </content>
      </text>
    </region>
    <region left="0" top="36" width="95" height="27" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">A</e>
          <e type="operand">a</e>
          <e type="operand">c</e>
          <e type="operand">g</e>
          <e type="operand">1</e>
          <e type="operand">3</e>
          <e type="function" args="5">mat</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="0" top="63" width="237" height="28" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">A</e>
          <e type="operand">matrix</e>
          <e type="function" args="2">type</e>
          <e type="function" args="1">maple</e>
        </input>
        <result action="symbolic">
          <e type="operand">true</e>
        </result>
      </math>
    </region>
    <region left="0" top="90" width="229" height="28" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">A</e>
          <e type="operand">array</e>
          <e type="function" args="2">type</e>
          <e type="function" args="1">maple</e>
        </input>
        <result action="symbolic">
          <e type="operand">true</e>
        </result>
      </math>
    </region>
    <region left="0" top="117" width="229" height="28" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">A</e>
          <e type="operand">table</e>
          <e type="function" args="2">type</e>
          <e type="function" args="1">maple</e>
        </input>
        <result action="symbolic">
          <e type="operand">true</e>
        </result>
      </math>
    </region>
    <region left="0" top="144" width="253" height="28" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">A</e>
          <e type="operand">indexed</e>
          <e type="function" args="2">type</e>
          <e type="function" args="1">maple</e>
        </input>
        <result action="symbolic">
          <e type="operand">false</e>
        </result>
      </math>
    </region>
    <region left="0" top="171" width="196" height="28" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">A</e>
          <e type="function" args="1">eval</e>
          <e type="function" args="1">maple</e>
        </input>
        <result action="symbolic">
          <e type="operand">a</e>
          <e type="operand">c</e>
          <e type="operand">g</e>
          <e type="operand">1</e>
          <e type="operand">3</e>
          <e type="function" args="5">mat</e>
        </result>
      </math>
    </region>
    <region left="0" top="207" width="406" height="28" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">A</e>
          <e type="function" args="1">indices</e>
          <e type="function" args="1">maple</e>
        </input>
        <result action="symbolic">
          <e type="operand">[1</e>
          <e type="operand">3]</e>
          <e type="operand">[1</e>
          <e type="operand">2]</e>
          <e type="operand">[1</e>
          <e type="operand">1]</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="8">mat</e>
        </result>
      </math>
    </region>
    <region left="540" top="225" width="552" height="37" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">A</e>
          <e type="function" args="1">transpose</e>
          <e type="operand">set</e>
          <e type="function" args="2">convert</e>
          <e type="function" args="1">maple</e>
        </input>
        <result action="symbolic">
          <e type="operand" style="string">Error, improper op or subscript selector</e>
        </result>
      </math>
    </region>
    <region left="0" top="234" width="539" height="28" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">A</e>
          <e type="operand">set</e>
          <e type="function" args="2">convert</e>
          <e type="function" args="1">maple</e>
        </input>
        <result action="symbolic">
          <e type="operand" style="string">Error, improper op or subscript selector</e>
        </result>
      </math>
    </region>
    <region left="0" top="270" width="419" height="23" color="#000000" bgColor="#ffff80" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p>
            <span style="background-color: #ffff80;">This is what this </span>
            <span style="text-decoration: underline; background-color: #ffff80;">convert</span>
            <span style="background-color: #ffff80;"> command looks like in the Maple Tools Log:</span>
          </p>
        </content>
      </text>
    </region>
    <region left="0" top="297" width="415" height="27" color="#000000" bgColor="#ffff00">
      <picture>
        <raw format="png" encoding="base64">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</raw>
      </picture>
    </region>
    <region left="0" top="324" width="84" height="29" color="#000000" bgColor="#ffff80">
      <picture>
        <raw format="png" encoding="base64">iVBORw0KGgoAAAANSUhEUgAAAEwAAAAVCAYAAADsFggUAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAFUSURBVFhH7ZbBGcIgDEaZi4GYh2lYhmHiH4QKWP0MRA8271R7SMhLSHVkiDBhQkyYEBMmxIQJMWFC3gvLkbxz5GOuL65DCo6cD5Tq78ZbYTn6S8pqsLQwGVsTliIFjw5g+pzzFOLch13SIz53OYbyrNe8DBm+np9zcD2e5vBcv44wJMzd67NO7BD58KkmQKIIeZqTzrJCi89kNAiN3xKW0VWPIH3cA+y2x4ShGDyrCeO9iY4PJJxFTRhP7xT/FZx3muyFCavd6EyedWKZHwn7JJrOlSwFheNK5rrPnoShyDKBCybLlWxpX13Jjfi8Qvp4ma/kSQ06wgC/P65jiFjK/HvcAeWzfLIXPuNeQMlRl/58jr34aMKw9Mcb0xB/Jcs0sRTxqXQXNTdkjKX/IZgpDZH+D1umiH5OJoGF9FM8qFGIv8p3hP0xJkyICRNiwoSYMBFEN6W/4O5SLWtKAAAAAElFTkSuQmCC</raw>
      </picture>
    </region>
    <region left="0" top="351" width="762" height="38" color="#000000" bgColor="#ffff80" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p style="background-color: #ffff80;">So the maple_convert function has turned the array which we can make in Smath Studio, into a set, which is very hard to do in Smath because {} cannot be accessed easily. Please note, if we check the type, maple_type confirms we have a set present.</p>
        </content>
      </text>
    </region>
    <region left="0" top="387" width="324" height="30" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">A</e>
          <e type="operand">set</e>
          <e type="function" args="2">convert</e>
          <e type="operand">set</e>
          <e type="function" args="2">type</e>
          <e type="function" args="1">maple</e>
        </input>
        <result action="symbolic">
          <e type="operand">true</e>
        </result>
      </math>
    </region>
    <region left="0" top="432" width="74" height="63" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">A</e>
          <e type="function" args="1">transpose</e>
        </input>
        <result action="symbolic">
          <e type="operand">a</e>
          <e type="operand">c</e>
          <e type="operand">g</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="5">mat</e>
        </result>
      </math>
    </region>
    <region left="0" top="495" width="336" height="37" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">A</e>
          <e type="function" args="1">transpose</e>
          <e type="operand">list</e>
          <e type="function" args="2">convert</e>
          <e type="function" args="1">maple</e>
        </input>
        <result action="symbolic">
          <e type="operand" style="string">Stack empty.</e>
        </result>
      </math>
    </region>
    <region left="0" top="531" width="707" height="23" color="#000000" bgColor="#ff8000" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p>
            <span style="background-color: #ff8000;">We are meant to be able to get a 1D array to be able to be converted into</span>
            <span style="background-color: #ff8000;"> </span>
            <span style="background-color: #ff8000;">a list, but at the moment this does not work.</span>
          </p>
        </content>
      </text>
    </region>
    <region left="0" top="567" width="111" height="32" color="#000000" bgColor="#80ffff" fontSize="16" isBreakable="false">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p style="background-color: #80ffff; font-size: 16px;">2 D Matrix</p>
        </content>
      </text>
    </region>
    <region left="0" top="603" width="129" height="63" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">B</e>
          <e type="operand">123456</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>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="0" top="666" width="237" height="28" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">B</e>
          <e type="operand">matrix</e>
          <e type="function" args="2">type</e>
          <e type="function" args="1">maple</e>
        </input>
        <result action="symbolic">
          <e type="operand">true</e>
        </result>
      </math>
    </region>
    <region left="0" top="693" width="229" height="28" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">B</e>
          <e type="operand">array</e>
          <e type="function" args="2">type</e>
          <e type="function" args="1">maple</e>
        </input>
        <result action="symbolic">
          <e type="operand">true</e>
        </result>
      </math>
    </region>
    <region left="0" top="720" width="229" height="28" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">B</e>
          <e type="operand">table</e>
          <e type="function" args="2">type</e>
          <e type="function" args="1">maple</e>
        </input>
        <result action="symbolic">
          <e type="operand">true</e>
        </result>
      </math>
    </region>
    <region left="0" top="747" width="253" height="28" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">B</e>
          <e type="operand">indexed</e>
          <e type="function" args="2">type</e>
          <e type="function" args="1">maple</e>
        </input>
        <result action="symbolic">
          <e type="operand">false</e>
        </result>
      </math>
    </region>
    <region left="0" top="774" width="230" height="63" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">B</e>
          <e type="function" args="1">eval</e>
          <e type="function" args="1">maple</e>
        </input>
        <result action="symbolic">
          <e type="operand">123456</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 left="0" top="837" width="754" height="28" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">B</e>
          <e type="function" args="1">indices</e>
          <e type="function" args="1">maple</e>
        </input>
        <result action="symbolic">
          <e type="operand">[1</e>
          <e type="operand">1]</e>
          <e type="operand">[2</e>
          <e type="operand">3]</e>
          <e type="operand">[1</e>
          <e type="operand">2]</e>
          <e type="operand">[1</e>
          <e type="operand">3]</e>
          <e type="operand">[3</e>
          <e type="operand">2]</e>
          <e type="operand">[2</e>
          <e type="operand">1]</e>
          <e type="operand">[3</e>
          <e type="operand">3]</e>
          <e type="operand">[3</e>
          <e type="operand">1]</e>
          <e type="operand">[2</e>
          <e type="operand">2]</e>
          <e type="operand">9</e>
          <e type="operand">1</e>
          <e type="function" args="20">mat</e>
        </result>
      </math>
    </region>
    <region left="0" top="864" width="539" height="28" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">B</e>
          <e type="operand">set</e>
          <e type="function" args="2">convert</e>
          <e type="function" args="1">maple</e>
        </input>
        <result action="symbolic">
          <e type="operand" style="string">Error, improper op or subscript selector</e>
        </result>
      </math>
    </region>
    <region left="0" top="891" width="410" height="23" color="#000000" bgColor="#ffff00" fontSize="10" isBreakable="false">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p style="background-color: #ffff00;">This is what this <span style="text-decoration: underline;">convert</span> command looks like in the maple tools log:</p>
        </content>
      </text>
    </region>
    <region left="0" top="909" width="389" height="23" color="#000000" bgColor="#ffff00" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p style="background-color: #ffff00;">[INFO ] [-&gt;] convert(smath_mat(123456,2,3,4,5,6,7,8,9,3,3),set)</p>
        </content>
      </text>
    </region>
    <region left="0" top="927" width="190" height="23" color="#000000" bgColor="#ffff00" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p style="background-color: #ffff00;"> {2, 3, 4, 5, 6, 7, 8, 9, 123456}</p>
        </content>
      </text>
    </region>
    <region left="0" top="963" width="324" height="30" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">B</e>
          <e type="operand">set</e>
          <e type="function" args="2">convert</e>
          <e type="operand">set</e>
          <e type="function" args="2">type</e>
          <e type="function" args="1">maple</e>
        </input>
        <result action="symbolic">
          <e type="operand">true</e>
        </result>
      </math>
    </region>
    <region left="0" top="999" width="355" height="28" color="#000000" fontSize="10">
      <math>
        <description active="true" position="Top" lang="eng">
          <content>
            <p>convert 2D array into a list of lists.</p>
          </content>
        </description>
        <input>
          <e type="operand">B</e>
          <e type="operand">listlist</e>
          <e type="function" args="2">convert</e>
          <e type="function" args="1">maple</e>
        </input>
        <result action="symbolic">
          <e type="operand" style="string">Stack empty.</e>
        </result>
      </math>
    </region>
    <region left="522" top="999" width="402" height="30" color="#000000" fontSize="10">
      <math>
        <description active="true" position="Top" lang="eng">
          <content>
            <p>convert evaluated 2D array into a list of lists.</p>
          </content>
        </description>
        <input>
          <e type="operand">B</e>
          <e type="function" args="1">eval</e>
          <e type="operand">listlist</e>
          <e type="function" args="2">convert</e>
          <e type="function" args="1">maple</e>
        </input>
        <result action="symbolic">
          <e type="operand" style="string">Stack empty.</e>
        </result>
      </math>
    </region>
    <region left="0" top="1062" width="261" height="23" color="#000000" bgColor="#ffff00" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p style="background-color: #ffff00;">But this is what Maple Tools log records:  </p>
        </content>
      </text>
    </region>
    <region left="522" top="1071" width="546" height="30" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">123456</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">smath_mat</e>
          <e type="function" args="1">eval</e>
          <e type="operand">listlist</e>
          <e type="function" args="2">convert</e>
        </input>
      </math>
    </region>
    <region left="0" top="1080" width="499" height="28" color="#000000" bgColor="#ffff00" fontSize="10">
      <math>
        <input>
          <e type="operand">123456</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">smath_mat</e>
          <e type="operand">listlist</e>
          <e type="function" args="2">convert</e>
        </input>
      </math>
    </region>
    <region left="0" top="1107" width="207" height="23" color="#000000" bgColor="#ffff00" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p style="background-color: #ffff00;">[[123456, 2, 3], [4, 5, 6], [7, 8, 9]]</p>
        </content>
      </text>
    </region>
    <region left="522" top="1107" width="207" height="23" color="#000000" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p>[[123456, 2, 3], [4, 5, 6], [7, 8, 9]]</p>
        </content>
      </text>
    </region>
    <region left="0" top="1134" width="505" height="23" color="#000000" bgColor="#ffff80" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p style="background-color: #ffff80;">So we do get three lists of lists as expected by the Maple V learning guide page 48.</p>
        </content>
      </text>
    </region>
    <region left="0" top="1260" width="521" height="23" color="#000000" bgColor="#ffff80" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p style="background-color: #ffff80;">We can create a 1 member array, and this will work with maple_convert to list function</p>
        </content>
      </text>
    </region>
    <region left="531" top="1278" width="235" height="28" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">9</e>
          <e type="operand">list</e>
          <e type="function" args="2">convert</e>
          <e type="function" args="1">maple</e>
        </input>
        <result action="symbolic">
          <e type="operand">[9]</e>
        </result>
      </math>
    </region>
    <region left="0" top="1287" width="263" height="28" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">j</e>
          <e type="operand">3</e>
          <e type="operand">list</e>
          <e type="function" args="2">convert</e>
          <e type="function" args="1">maple</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="symbolic">
          <e type="operand">[3]</e>
        </result>
      </math>
    </region>
    <region left="0" top="1314" width="44" height="24" color="#000000" fontSize="10">
      <math error="2" errorLocation="0">
        <input>
          <e type="operand">j</e>
        </input>
        <result action="numeric">
          <e type="operand">#</e>
        </result>
      </math>
    </region>
    <region left="0" top="1332" width="462" height="23" color="#000000" bgColor="#ffff80" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p style="background-color: #ffff80;">If we hover the mouse over j, we can see [3], but Smath will not let us see it.</p>
        </content>
      </text>
    </region>
    <region left="0" top="1368" width="315" height="27" color="#000000" bgColor="#ffff80" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p style="background-color: #ffff80;">In the log file, we see: \[REGION[b7a5f680a05148b1a9284802c981d20f]]\</p>
        </content>
        <regions>
          <region id="b7a5f680a05148b1a9284802c981d20f" left="135" top="0" width="175" height="26" color="#000000" bgColor="#ffff80">
            <picture>
              <raw format="png" encoding="base64">iVBORw0KGgoAAAANSUhEUgAAAKcAAAASCAYAAAA+Ec4qAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAK9SURBVGhD7VeJjcQgDExdFEQ9VEMzFMN5eA7zBRIle9yKkSLtgjF+xgYOu7GxKDY5N5bFJufGstjk3FgWGTmNEvY4DvqEVSYMPgJtpdN7WPGs4q+EEmX8jdVKWhFjKBWNXICWIa/n8dfypfwYZYW4aDOhIud147QLplQ6/O/jnv7vgBKSIjUBEEnmkj5uaUzfjOOb8R/5B+IXbg3xADk9jFZWkoFK99ff10+dQ8auTh9Vocy6i7GKzaNKYxywpxuTqfMcLJAI2u86KGRdBvs4GOr8gskVnSvqwPrfDhf3QNcI6/jXS5SifUZJfJycw85axJd+I8Z+atK/G93zMXJGuOQgeQ01d/WDmJKTHmRhV4/qGHRkSoFwBAVZwgD0cTsquyhZgkVXEbG5eqeffMzgEkx6aJ3znWR4DOY6J/zqyRFBQoFw265gFP/evB8nf+J/+BrJGTD2L8/ZDCbICaV1ZRzdIBJcNdWGjILThidaF9irkSwQMG6FfTMRkC+zw7iuH0cysnc6Q+V/pTPHFDndXkUhlCDGo4tdj6OPw9m6/jxykHwXrNAjZvybORU4/kHn9OTsrnqEnEwGc7nweXFEfIqcAORmbCowiv9UfiixhnJ8vXP+ITnfvHOWr0gT7oDR0ZljfUTOSML6pQxx2D2I6pCcvFhItklCsqFxImFtutbg/k0drMwy7e8620n275Iz35/kqgKe8Q++1bE9wwPk/MRrPb+QHwhEVgTjBxE+F8+YRMgVtjjZZnLLBxn5QXJ+NYIextlXqnEJjfONYzGi2V3CUR51p70T/KOslfy2felaMpqHTZLu2Nz/2v6hf6Hbd9xu4vFj/Qxv6/8KoHiaBXIG/1haObYonqtuVeT01XGt/Y6RqnOTcwx+RE4h3FWvUvpjuNE1gYycGxsrYZNzY1lscm4si03OjUVh7Q/dtf8x53OW7wAAAABJRU5ErkJggg==</raw>
            </picture>
          </region>
        </regions>
      </text>
    </region>
    <region left="0" top="1395" width="116" height="23" color="#000000" bgColor="#ffff80" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p style="background-color: #ffff80;">and next line:  [3]</p>
        </content>
      </text>
    </region>
    <region left="0" top="1431" width="221" height="28" color="#000000" fontSize="10">
      <math>
        <description active="true" position="Top" lang="eng">
          <content>
            <p>Test j to see if it contains a list.</p>
          </content>
        </description>
        <input>
          <e type="operand">j</e>
          <e type="operand">list</e>
          <e type="function" args="2">type</e>
          <e type="function" args="1">maple</e>
        </input>
        <result action="symbolic">
          <e type="operand">true</e>
        </result>
      </math>
    </region>
    <region left="0" top="1539" width="682" height="23" color="#000000" bgColor="#ffff80" fontSize="10" isBreakable="false">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p style="background-color: #ffff80;">We can create a 1 member array using standard Smath way, and this will work with maple_convert to list function</p>
        </content>
      </text>
    </region>
    <region left="0" top="1566" width="61" height="27" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">D</e>
          <e type="operand">7</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="3">mat</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="0" top="1593" width="267" height="28" color="#000000" bgColor="#ffff80" fontSize="10">
      <math>
        <input>
          <e type="operand">7</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="3">smath_mat</e>
          <e type="operand">list</e>
          <e type="function" args="2">convert</e>
        </input>
      </math>
    </region>
    <region left="0" top="1620" width="351" height="28" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">j</e>
          <e type="operand">D</e>
          <e type="operand">list</e>
          <e type="function" args="2">convert</e>
          <e type="function" args="1">maple</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="symbolic">
          <e type="operand" style="string">Stack empty.</e>
        </result>
      </math>
    </region>
    <region left="0" top="1647" width="175" height="23" color="#000000" bgColor="#ff8000" fontSize="10" isBreakable="false">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p>
            <span style="background-color: #ff8000;">this time j contains nothing</span>.</p>
        </content>
      </text>
    </region>
    <region left="0" top="1674" width="229" height="28" color="#000000" fontSize="10">
      <math>
        <description active="true" position="Top" lang="eng">
          <content>
            <p>Test j to see if it contains a list.</p>
          </content>
        </description>
        <input>
          <e type="operand">j</e>
          <e type="operand">list</e>
          <e type="function" args="2">type</e>
          <e type="function" args="1">maple</e>
        </input>
        <result action="symbolic">
          <e type="operand">false</e>
        </result>
      </math>
    </region>
    <region left="0" top="1773" width="735" height="29" color="#000000" bgColor="#80ffff" fontSize="14">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p style="font-size: 14px; background-color: #80ffff;">Create lists and sets as strings and try to get Maple to recognize them as lists and sets.</p>
        </content>
      </text>
    </region>
    <region left="0" top="1800" width="230" height="24" color="#000000" fontSize="10">
      <math>
        <description active="true" position="Top" lang="eng">
          <content>
            <p>create list within a string</p>
          </content>
        </description>
        <input>
          <e type="operand">P</e>
          <e type="operand" style="string">[1,2,3,4]</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">[1,2,3,4]</e>
        </result>
      </math>
    </region>
    <region left="297" top="1827" width="94" height="24" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">Q</e>
          <e type="operand" style="string">[2,4]</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="0" top="1845" width="124" height="24" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">P</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">[1,2,3,4]</e>
        </result>
      </math>
    </region>
    <region left="0" top="1872" width="221" height="28" color="#000000" fontSize="10">
      <math>
        <description active="true" position="Top" lang="eng">
          <content>
            <p>maple thinks a string is not a set, which is correct.</p>
          </content>
        </description>
        <input>
          <e type="operand">p</e>
          <e type="operand">set</e>
          <e type="function" args="2">type</e>
          <e type="function" args="1">maple</e>
        </input>
        <result action="symbolic">
          <e type="operand">false</e>
        </result>
      </math>
    </region>
    <region left="0" top="1935" width="197" height="23" color="#000000" bgColor="#ffff80" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p style="background-color: #ffff80;">Now use maple_parse function</p>
        </content>
      </text>
    </region>
    <region left="0" top="1989" width="261" height="28" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">P</e>
          <e type="function" args="1">parse</e>
          <e type="function" args="1">maple</e>
        </input>
        <result action="symbolic">
          <e type="operand" style="string">Stack empty.</e>
        </result>
      </math>
    </region>
    <region left="0" top="2016" width="155" height="26" color="#000000" bgColor="#ffff80" fontSize="10">
      <math>
        <input>
          <e type="operand" style="string">[1,2,3,4]</e>
          <e type="function" args="1">parse</e>
        </input>
      </math>
    </region>
    <region left="0" top="2043" width="77" height="23" color="#000000" bgColor="#ffff80" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p style="background-color: #ffff80;"> [1, 2, 3, 4]</p>
        </content>
      </text>
    </region>
    <region left="0" top="2070" width="342" height="23" color="#000000" bgColor="#80ff00" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p style="background-color: #80ff00;">Maple thinks a string that holds a list is a list. Success...</p>
        </content>
      </text>
    </region>
    <region left="0" top="2088" width="278" height="30" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">P</e>
          <e type="function" args="1">parse</e>
          <e type="operand">list</e>
          <e type="function" args="2">type</e>
          <e type="function" args="1">maple</e>
        </input>
        <result action="symbolic">
          <e type="operand">true</e>
        </result>
      </math>
    </region>
    <region left="0" top="2133" width="344" height="23" color="#000000" bgColor="#00ff00" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p style="background-color: #00ff00;">So now we can use our maple 'list' as if it is a maple list!</p>
        </content>
      </text>
    </region>
    <region left="0" top="2160" width="299" height="81" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">P</e>
          <e type="function" args="1">parse</e>
          <e type="operand">array</e>
          <e type="function" args="2">convert</e>
          <e type="function" args="1">maple</e>
        </input>
        <result action="symbolic">
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="operand">3</e>
          <e type="operand">4</e>
          <e type="operand">4</e>
          <e type="operand">1</e>
          <e type="function" args="6">mat</e>
        </result>
      </math>
    </region>
    <region left="0" top="2241" width="724" height="32" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">P</e>
          <e type="function" args="1">parse</e>
          <e type="operand">array</e>
          <e type="function" args="2">convert</e>
          <e type="operand">set</e>
          <e type="function" args="2">convert</e>
          <e type="function" args="1">maple</e>
        </input>
        <result action="symbolic">
          <e type="operand" style="string">Error, improper op or subscript selector</e>
        </result>
      </math>
    </region>
    <region left="0" top="2268" width="394" height="30" color="#000000" bgColor="#ffff00" fontSize="10">
      <math>
        <input>
          <e type="operand" style="string">[1,2,3,4]</e>
          <e type="function" args="1">parse</e>
          <e type="operand">array</e>
          <e type="function" args="2">convert</e>
          <e type="operand">set</e>
          <e type="function" args="2">convert</e>
        </input>
      </math>
    </region>
    <region left="0" top="2295" width="75" height="23" color="#000000" bgColor="#ffff80" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p style="background-color: #ffff80;">{1, 2, 3, 4}</p>
        </content>
      </text>
    </region>
    <region left="0" top="2322" width="518" height="23" color="#000000" bgColor="#80ff00" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p style="background-color: #80ff00;">We have created a list within a <span style="text-decoration: underline;">string</span>, then converted it to a set via maple commands!</p>
        </content>
      </text>
    </region>
    <region left="0" top="2349" width="368" height="28" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">set1</e>
          <e type="operand">set2</e>
          <e type="function" args="2" style="unit">member</e>
          <e type="function" args="1">maple</e>
        </input>
        <result action="symbolic">
          <e type="operand">set1</e>
          <e type="operand">set2</e>
          <e type="function" args="2" style="unit">member</e>
        </result>
      </math>
    </region>
    <region left="0" top="2376" width="507" height="34" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">1</e>
          <e type="operand">P</e>
          <e type="function" args="1">parse</e>
          <e type="operand">array</e>
          <e type="function" args="2">convert</e>
          <e type="operand">set</e>
          <e type="function" args="2">convert</e>
          <e type="function" args="2">member</e>
          <e type="function" args="1">maple</e>
        </input>
        <result action="symbolic">
          <e type="operand">true</e>
        </result>
      </math>
    </region>
    <region left="0" top="2466" width="416" height="28" color="#000000" fontSize="10">
      <math>
        <description active="false" position="Top" lang="eng">
          <content>
            <p>Does not appear to work...</p>
          </content>
        </description>
        <input>
          <e type="operand">set1</e>
          <e type="operand">set2</e>
          <e type="function" args="2" style="unit">intersect</e>
          <e type="function" args="1">maple</e>
        </input>
        <result action="symbolic">
          <e type="operand">set1</e>
          <e type="operand">set2</e>
          <e type="function" args="2" style="unit">intersect</e>
        </result>
      </math>
    </region>
    <region left="0" top="2493" width="990" height="34" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">P</e>
          <e type="function" args="1">parse</e>
          <e type="operand">array</e>
          <e type="function" args="2">convert</e>
          <e type="operand">set</e>
          <e type="function" args="2">convert</e>
          <e type="operand">Q</e>
          <e type="function" args="1">parse</e>
          <e type="operand">array</e>
          <e type="function" args="2">convert</e>
          <e type="operand">set</e>
          <e type="function" args="2">convert</e>
          <e type="function" args="2" style="unit">intersect</e>
          <e type="function" args="1">maple</e>
        </input>
        <result action="symbolic">
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="operand">3</e>
          <e type="operand">4</e>
          <e type="operand">2</e>
          <e type="operand">4</e>
          <e type="function" args="6" style="unit">intersect</e>
        </result>
      </math>
    </region>
    <region left="0" top="2520" width="491" height="23" color="#000000" bgColor="#ff8000" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p style="background-color: #ff8000;">maple does not seem to activate intersect command: 'intersect({1, 2, 3, 4}, {2, 4})</p>
        </content>
      </text>
    </region>
    <region left="0" top="2592" width="352" height="28" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">set1</e>
          <e type="operand">set2</e>
          <e type="function" args="2" style="unit">union</e>
          <e type="function" args="1">maple</e>
        </input>
        <result action="symbolic">
          <e type="operand">set1</e>
          <e type="operand">set2</e>
          <e type="function" args="2" style="unit">union</e>
        </result>
      </math>
    </region>
    <region left="0" top="2619" width="925" height="34" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">P</e>
          <e type="function" args="1">parse</e>
          <e type="operand">array</e>
          <e type="function" args="2">convert</e>
          <e type="operand">set</e>
          <e type="function" args="2">convert</e>
          <e type="operand">Q</e>
          <e type="function" args="1">parse</e>
          <e type="operand">array</e>
          <e type="function" args="2">convert</e>
          <e type="operand">set</e>
          <e type="function" args="2">convert</e>
          <e type="function" args="2" style="unit">union</e>
          <e type="function" args="1">maple</e>
        </input>
        <result action="symbolic">
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="operand">3</e>
          <e type="operand">4</e>
          <e type="operand">2</e>
          <e type="operand">4</e>
          <e type="function" args="6" style="unit">union</e>
        </result>
      </math>
    </region>
    <region left="0" top="2655" width="478" height="27" color="#000000" bgColor="#ff8000" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p style="background-color: #ff8000;">maple does not seem to activate union command: \[REGION[e1bc72ab84de4699990aef622dcb884c]]\</p>
        </content>
        <regions>
          <region id="e1bc72ab84de4699990aef622dcb884c" left="300" top="0" width="173" height="26" color="#000000" bgColor="#ff8000" fontSize="10">
            <math>
              <input>
                <e type="operand">1</e>
                <e type="operand">2</e>
                <e type="operand">3</e>
                <e type="operand">4</e>
                <e type="operand">2</e>
                <e type="operand">4</e>
                <e type="function" args="6" style="unit">union</e>
              </input>
            </math>
          </region>
        </regions>
      </text>
    </region>
    <region left="0" top="2718" width="126" height="24" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">R</e>
          <e type="operand" style="string">{a,b,c,f}</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="0" top="2736" width="174" height="81" color="#000000" fontSize="10">
      <math>
        <description active="true" position="Top" lang="eng">
          <content>
            <p>maple does not recognize curly brackets even with string to set trick</p>
          </content>
        </description>
        <input>
          <e type="operand">R</e>
          <e type="function" args="1">parse</e>
          <e type="function" args="1">maple</e>
        </input>
        <result action="symbolic">
          <e type="operand">a</e>
          <e type="operand">b</e>
          <e type="operand">c</e>
          <e type="operand">f</e>
          <e type="operand">4</e>
          <e type="operand">1</e>
          <e type="function" args="6">mat</e>
        </result>
      </math>
    </region>
    <region left="0" top="2844" width="533" height="27" color="#000000" bgColor="#ff8000" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p style="background-color: #ff8000;">R does not look like a maple set according to Maple Tools log: \[REGION[15e8b397af524163b6a962d475b019cc]]\</p>
        </content>
        <regions>
          <region id="15e8b397af524163b6a962d475b019cc" left="373" top="0" width="155" height="26" color="#000000" bgColor="#ff8000" fontSize="10">
            <math>
              <input>
                <e type="operand" style="string">(a,b,c,f)</e>
                <e type="function" args="1">parse</e>
              </input>
            </math>
          </region>
        </regions>
      </text>
    </region>
    <region left="0" top="2889" width="174" height="23" color="#000000" bgColor="#ffff80" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p style="background-color: #ffff80;">[INFO ] [&lt;-] mat(a,b,c,f,4,1)</p>
        </content>
      </text>
    </region>
    <region left="0" top="2925" width="777" height="44" color="#000000" bgColor="#80ffff" fontSize="12">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p style="background-color: #80ffff; font-size: 12px;">Conclusion We can create lists via strings, then convert them to sets if we need sets. Note there are quite a few maple functions that work with lists and sets. </p>
        </content>
      </text>
    </region>
  </regions>
</worksheet>