﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="0.99.7109.29964"?>
<worksheet xmlns="http://smath.info/schemas/worksheet/1.0">
  <settings ppi="96">
    <identity>
      <id>01cdb4ac-35e3-41d4-9b52-7d9cb4c7503e</id>
      <revision>50</revision>
    </identity>
    <calculation>
      <precision>4</precision>
      <exponentialThreshold>5</exponentialThreshold>
      <trailingZeros>false</trailingZeros>
      <significantDigitsMode>false</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="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.7109.29964" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="Math Region" version="0.99.7109.29964" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="SpecialFunctions" version="1.12.7109.29964" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
      <assembly name="TextRegion" version="1.11.7109.29964" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
      <assembly name="PlotRegion" version="1.11.7109.29964" guid="c451c2b5-798b-4f08-b9ec-b90963d1ddaa" />
    </dependencies>
  </settings>
  <regions type="content">
    <region id="0" top="9" color="#000000" bgColor="#ffffff">
      <area collapsed="true">
        <title lang="spa">
          <p>Sets</p>
        </title>
      </area>
      <region id="1" left="18" top="36" width="441" height="1084" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <description active="true" position="Top" lang="eng">
            <p>Binary set operations</p>
          </description>
          <input>
            <e type="operand">X</e>
            <e type="operand">O</e>
            <e type="operand">Y</e>
            <e type="function" args="3">S</e>
            <e type="operand">O</e>
            <e type="operand" style="unit">∈</e>
            <e type="operator" args="2">≡</e>
            <e type="operand">R</e>
            <e type="operand">X</e>
            <e type="operand" style="unit">Ø</e>
            <e type="operator" args="2">≡</e>
            <e type="bracket">(</e>
            <e type="operand">Y</e>
            <e type="function" args="1">transpose</e>
            <e type="operand">X</e>
            <e type="operand">1</e>
            <e type="function" args="3">findrows</e>
            <e type="operand">0</e>
            <e type="operator" args="2">≠</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">|</e>
            <e type="operator" args="2">:</e>
            <e type="operand">O</e>
            <e type="operand" style="unit">⊂</e>
            <e type="operator" args="2">≡</e>
            <e type="operand">R</e>
            <e type="operand">X</e>
            <e type="operand" style="unit">⊆</e>
            <e type="operand">Y</e>
            <e type="function" args="3">S</e>
            <e type="operand">X</e>
            <e type="operand">Y</e>
            <e type="operator" args="2">≠</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">&amp;</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">:</e>
            <e type="operand">O</e>
            <e type="operand" style="unit">⊆</e>
            <e type="operator" args="2">≡</e>
            <e type="operand">R</e>
            <e type="operand">X</e>
            <e type="operand" style="unit">∩</e>
            <e type="operand">Y</e>
            <e type="function" args="3">S</e>
            <e type="operand">X</e>
            <e type="operator" args="2">≡</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">:</e>
            <e type="operand">R</e>
            <e type="operand" style="unit">Ø</e>
            <e type="operator" args="2">:</e>
            <e type="operand">k</e>
            <e type="operand">0</e>
            <e type="operator" args="2">:</e>
            <e type="operand">n</e>
            <e type="operand">Y</e>
            <e type="operator" args="2">:</e>
            <e type="operand">1</e>
            <e type="operand">3</e>
            <e type="function" args="5">mat</e>
            <e type="operand">O</e>
            <e type="operand" style="unit">RemDup</e>
            <e type="operator" args="2">≡</e>
            <e type="operand">n</e>
            <e type="operand">2</e>
            <e type="operator" args="2">&lt;</e>
            <e type="operand">R</e>
            <e type="operand">X</e>
            <e type="operator" args="2">:</e>
            <e type="operand">Q</e>
            <e type="operand">X</e>
            <e type="operand">1</e>
            <e type="function" args="2">csort</e>
            <e type="operator" args="2">:</e>
            <e type="operand">R</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="operand">Q</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">:</e>
            <e type="operand">k</e>
            <e type="operand">1</e>
            <e type="operator" args="2">:</e>
            <e type="operand">1</e>
            <e type="operand">3</e>
            <e type="function" args="5">mat</e>
            <e type="operand">ν</e>
            <e type="operand">2</e>
            <e type="operand">n</e>
            <e type="function" args="2">range</e>
            <e type="operand">Q</e>
            <e type="operand">ν</e>
            <e type="function" args="2">el</e>
            <e type="operand">Q</e>
            <e type="operand">ν</e>
            <e type="operand">1</e>
            <e type="operator" args="2">-</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">≡</e>
            <e type="operand">continue</e>
            <e type="operand">R</e>
            <e type="operand">1</e>
            <e type="operand">k</e>
            <e type="operand">k</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="operator" args="2">:</e>
            <e type="function" args="3">el</e>
            <e type="operand">Q</e>
            <e type="operand">ν</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">:</e>
            <e type="function" args="3">if</e>
            <e type="function" args="3">for</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="function" args="4">line</e>
            <e type="function" args="3">if</e>
            <e type="operand">O</e>
            <e type="operand" style="unit">\00AC\</e>
            <e type="operator" args="2">≡</e>
            <e type="operand">X</e>
            <e type="operand" style="unit">Ø</e>
            <e type="operator" args="2">≡</e>
            <e type="bracket">(</e>
            <e type="operand">Y</e>
            <e type="operand" style="unit">Ø</e>
            <e type="operator" args="2">≡</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">|</e>
            <e type="operand">R</e>
            <e type="operand" style="unit">Ø</e>
            <e type="operator" args="2">:</e>
            <e type="operand">y</e>
            <e type="operand">Y</e>
            <e type="operand">y</e>
            <e type="operand" style="unit">∈</e>
            <e type="operand">X</e>
            <e type="function" args="3">S</e>
            <e type="operand">0</e>
            <e type="operator" args="2">≡</e>
            <e type="operand">R</e>
            <e type="operand">1</e>
            <e type="operand">k</e>
            <e type="operand">k</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="operator" args="2">:</e>
            <e type="function" args="3">el</e>
            <e type="operand">y</e>
            <e type="operator" args="2">:</e>
            <e type="operand">continue</e>
            <e type="function" args="3">if</e>
            <e type="function" args="3">for</e>
            <e type="function" args="3">if</e>
            <e type="operand">O</e>
            <e type="operand" style="unit">∪</e>
            <e type="operator" args="2">≡</e>
            <e type="operand">X</e>
            <e type="operand" style="unit">Ø</e>
            <e type="operator" args="2">≡</e>
            <e type="operand">R</e>
            <e type="operand">Y</e>
            <e type="operator" args="2">:</e>
            <e type="operand">Y</e>
            <e type="operand" style="unit">Ø</e>
            <e type="operator" args="2">≡</e>
            <e type="operand">R</e>
            <e type="operand">X</e>
            <e type="operator" args="2">:</e>
            <e type="operand">x</e>
            <e type="operand">X</e>
            <e type="operand">R</e>
            <e type="operand">1</e>
            <e type="operand">k</e>
            <e type="operand">k</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="operator" args="2">:</e>
            <e type="function" args="3">el</e>
            <e type="operand">x</e>
            <e type="operator" args="2">:</e>
            <e type="function" args="3">for</e>
            <e type="operand">y</e>
            <e type="operand">Y</e>
            <e type="operand">R</e>
            <e type="operand">1</e>
            <e type="operand">k</e>
            <e type="operand">k</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="operator" args="2">:</e>
            <e type="function" args="3">el</e>
            <e type="operand">y</e>
            <e type="operator" args="2">:</e>
            <e type="function" args="3">for</e>
            <e type="operand">R</e>
            <e type="operand" style="unit">RemDup</e>
            <e type="operand">k</e>
            <e type="operand">1</e>
            <e type="operator" args="2">-</e>
            <e type="function" args="3">S</e>
            <e type="operand">3</e>
            <e type="operand">1</e>
            <e type="function" args="5">line</e>
            <e type="function" args="3">if</e>
            <e type="function" args="3">if</e>
            <e type="operand">O</e>
            <e type="operand" style="unit">∩</e>
            <e type="operator" args="2">≡</e>
            <e type="operand">x</e>
            <e type="operand">X</e>
            <e type="operand">y</e>
            <e type="operand">Y</e>
            <e type="operand">x</e>
            <e type="operand">y</e>
            <e type="operator" args="2">≡</e>
            <e type="operand">R</e>
            <e type="operand">1</e>
            <e type="operand">k</e>
            <e type="operand">k</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="operator" args="2">:</e>
            <e type="function" args="3">el</e>
            <e type="operand">x</e>
            <e type="operator" args="2">:</e>
            <e type="operand">continue</e>
            <e type="function" args="3">if</e>
            <e type="function" args="3">for</e>
            <e type="function" args="3">for</e>
            <e type="operand">O</e>
            <e type="operand" style="unit">×</e>
            <e type="operator" args="2">≡</e>
            <e type="operand">x</e>
            <e type="operand">X</e>
            <e type="operand">y</e>
            <e type="operand">Y</e>
            <e type="operand">R</e>
            <e type="operand">1</e>
            <e type="operand">k</e>
            <e type="operand">k</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="operator" args="2">:</e>
            <e type="function" args="3">el</e>
            <e type="operand">x</e>
            <e type="operand">y</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operator" args="2">:</e>
            <e type="function" args="3">for</e>
            <e type="function" args="3">for</e>
            <e type="operand" style="string">Bad Operator</e>
            <e type="function" args="1">error</e>
            <e type="function" args="3">if</e>
            <e type="function" args="3">if</e>
            <e type="function" args="3">if</e>
            <e type="function" args="3">if</e>
            <e type="function" args="3">if</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="function" args="4">line</e>
            <e type="function" args="3">if</e>
            <e type="function" args="3">if</e>
            <e type="function" args="3">if</e>
            <e type="operand">R</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="function" args="4">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region id="2" left="468" top="36" width="271" height="152" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <description active="true" position="Top" lang="eng">
            <p>Set constructor</p>
          </description>
          <input>
            <e type="operand">X</e>
            <e type="function" args="1">S</e>
            <e type="operand">R</e>
            <e type="operand" style="unit">Ø</e>
            <e type="operator" args="2">:</e>
            <e type="operand">Q</e>
            <e type="operand">R</e>
            <e type="operator" args="2">:</e>
            <e type="operand">n</e>
            <e type="operand">0</e>
            <e type="operator" args="2">:</e>
            <e type="operand">1</e>
            <e type="operand">3</e>
            <e type="function" args="5">mat</e>
            <e type="operand">x</e>
            <e type="operand">X</e>
            <e type="operand" style="unit">Û</e>
            <e type="function" args="1">transpose</e>
            <e type="operand">x</e>
            <e type="operand">1</e>
            <e type="function" args="3">findrows</e>
            <e type="operand">0</e>
            <e type="operator" args="2">≠</e>
            <e type="operand">Q</e>
            <e type="operand">n</e>
            <e type="operand">n</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="operator" args="2">:</e>
            <e type="function" args="2">el</e>
            <e type="operand">x</e>
            <e type="operator" args="2">:</e>
            <e type="operand">0</e>
            <e type="function" args="3">if</e>
            <e type="function" args="3">for</e>
            <e type="operand">Q</e>
            <e type="operand" style="unit">RemDup</e>
            <e type="operand">n</e>
            <e type="function" args="3">S</e>
            <e type="operand">3</e>
            <e type="operand">1</e>
            <e type="function" args="5">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region id="3" left="468" top="225" width="275" height="127" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <description active="true" position="Top" lang="eng">
            <p>Unary set operations</p>
          </description>
          <input>
            <e type="operand">O</e>
            <e type="operand">X</e>
            <e type="function" args="2">S</e>
            <e type="operand">O</e>
            <e type="operand" style="unit">\00AC\</e>
            <e type="operator" args="2">≡</e>
            <e type="operand">X</e>
            <e type="operand" style="unit">Û</e>
            <e type="operator" args="2">≡</e>
            <e type="operand" style="unit">Ø</e>
            <e type="operand">X</e>
            <e type="operand" style="unit">\00AC\</e>
            <e type="operand" style="unit">Û</e>
            <e type="function" args="3">S</e>
            <e type="function" args="3">if</e>
            <e type="operand" style="string">Bad Operator</e>
            <e type="function" args="1">error</e>
            <e type="function" args="3">if</e>
            <e type="operand">1</e>
            <e type="operand">1</e>
            <e type="function" args="3">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region id="4" left="468" top="396" width="66" height="30" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <description active="true" position="Top" lang="eng">
            <p>Empty set</p>
          </description>
          <input>
            <e type="operand" style="unit">Ø</e>
            <e type="operand">0</e>
            <e type="operand">1</e>
            <e type="operand">1</e>
            <e type="function" args="3">mat</e>
            <e type="operand">1</e>
            <e type="operand">1</e>
            <e type="function" args="3">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region id="5" left="468" top="468" width="142" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p>It could be also</p>
        </text>
      </region>
      <region id="6" left="468" top="504" width="98" height="29" color="#000000" bgColor="#ffffff" fontSize="10">
        <math evaluate="false">
          <input>
            <e type="operand" style="unit">Ø</e>
            <e type="operand" style="unit">Û</e>
            <e type="function" args="1">max</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 id="7" left="468" top="549" width="143" height="29" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <description active="true" position="Top" lang="eng">
            <p>Cardinal function.</p>
          </description>
          <input>
            <e type="operand">X</e>
            <e type="function" args="1">L</e>
            <e type="operand">X</e>
            <e type="function" args="1">length</e>
            <e type="operand">1</e>
            <e type="operand">1</e>
            <e type="function" args="3">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region id="8" left="18" top="1161" width="481" height="69" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <description active="true" position="Top" lang="eng">
            <p>Returns the indices where the elements of X are one.</p>
          </description>
          <input>
            <e type="operand">X</e>
            <e type="function" args="1">Find.1</e>
            <e type="operand">k</e>
            <e type="operand">1</e>
            <e type="operand">X</e>
            <e type="function" args="1">L</e>
            <e type="function" args="2">range</e>
            <e type="operator" args="2">:</e>
            <e type="operand">I</e>
            <e type="operand">0</e>
            <e type="operator" args="2">:</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand">I</e>
            <e type="operand">k</e>
            <e type="function" args="2">el</e>
            <e type="operand">X</e>
            <e type="operand">k</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">:</e>
            <e type="operand">k</e>
            <e type="function" args="2">augment</e>
            <e type="function" args="1">eval</e>
            <e type="operand">1</e>
            <e type="operand">1</e>
            <e type="function" args="3">findrows</e>
            <e type="operand">2</e>
            <e type="function" args="2">col</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="function" args="4">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region id="9" left="18" top="1269" width="593" height="143" color="#000000" bgColor="#ffffff" fontSize="10">
        <math optimize="2" decimalPlaces="6">
          <description active="true" position="Top" lang="eng">
            <p>Stem plot of X, Y data.</p>
          </description>
          <input>
            <e type="operand">X</e>
            <e type="operand">Y</e>
            <e type="function" args="2">PlotStem</e>
            <e type="operand">N</e>
            <e type="operand">X</e>
            <e type="function" args="1">L</e>
            <e type="operator" args="2">:</e>
            <e type="operand">S</e>
            <e type="operand">0</e>
            <e type="operator" args="2">:</e>
            <e type="operand">k</e>
            <e type="operand">1</e>
            <e type="operand">N</e>
            <e type="function" args="2">range</e>
            <e type="operator" args="2">:</e>
            <e type="operand">clr</e>
            <e type="operand">2</e>
            <e type="operand">6</e>
            <e type="function" args="2">range</e>
            <e type="operator" args="2">:</e>
            <e type="operand">1</e>
            <e type="operand">4</e>
            <e type="function" args="6">mat</e>
            <e type="operand">k</e>
            <e type="operand">1</e>
            <e type="operand">N</e>
            <e type="function" args="2">range</e>
            <e type="operand">S</e>
            <e type="operand">6</e>
            <e type="operand">k</e>
            <e type="operator" args="2">*</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="function" args="2">el</e>
            <e type="operand">X</e>
            <e type="operand">k</e>
            <e type="function" args="2">el</e>
            <e type="operand">Y</e>
            <e type="operand">k</e>
            <e type="function" args="2">el</e>
            <e type="operand">X</e>
            <e type="operand">k</e>
            <e type="function" args="2">el</e>
            <e type="operand">0</e>
            <e type="operand">2</e>
            <e type="operand">2</e>
            <e type="function" args="6">mat</e>
            <e type="operator" args="2">:</e>
            <e type="operand">S</e>
            <e type="operand">6</e>
            <e type="operand">k</e>
            <e type="operand">1</e>
            <e type="operator" args="2">-</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">*</e>
            <e type="operand">clr</e>
            <e type="operator" args="2">+</e>
            <e type="function" args="2">el</e>
            <e type="operand" style="string"></e>
            <e type="operator" args="2">:</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="function" args="3">for</e>
            <e type="operand">S</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="operand">X</e>
            <e type="operand">1</e>
            <e type="operand">N</e>
            <e type="function" args="2">range</e>
            <e type="function" args="2">el</e>
            <e type="operand">Y</e>
            <e type="operand">1</e>
            <e type="operand">N</e>
            <e type="function" args="2">range</e>
            <e type="function" args="2">el</e>
            <e type="operand" style="string">o</e>
            <e type="operand">10</e>
            <e type="operand" style="string">blue</e>
            <e type="function" args="5">augment</e>
            <e type="operator" args="2">:</e>
            <e type="function" args="1">mat2sys.1</e>
            <e type="operand">3</e>
            <e type="operand">1</e>
            <e type="function" args="5">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region id="10" left="18" top="1449" width="607" height="112" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">X</e>
            <e type="function" args="1">Plot2Die</e>
            <e type="operand">Πo</e>
            <e type="operand">0</e>
            <e type="operator" args="2">:</e>
            <e type="operand">x</e>
            <e type="operand">0</e>
            <e type="operator" args="2">:</e>
            <e type="operand">y</e>
            <e type="operand">0</e>
            <e type="operator" args="2">:</e>
            <e type="operand">F</e>
            <e type="operand" style="unit">ID2</e>
            <e type="function" args="1">φ</e>
            <e type="operator" args="2">:</e>
            <e type="operand">r</e>
            <e type="operand">1</e>
            <e type="operand">F</e>
            <e type="function" args="1">L</e>
            <e type="function" args="2">range</e>
            <e type="operator" args="2">:</e>
            <e type="operand">1</e>
            <e type="operand">5</e>
            <e type="function" args="7">mat</e>
            <e type="operand">Πo</e>
            <e type="operand">x</e>
            <e type="operand">r</e>
            <e type="function" args="2">el</e>
            <e type="operand">0.1</e>
            <e type="operand">F</e>
            <e type="operand">r</e>
            <e type="function" args="2">el</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">+</e>
            <e type="operator" args="2">:</e>
            <e type="operand">y</e>
            <e type="operand">r</e>
            <e type="function" args="2">el</e>
            <e type="operand">0.1</e>
            <e type="operand">F</e>
            <e type="operand">r</e>
            <e type="function" args="2">el</e>
            <e type="operand">2</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">+</e>
            <e type="operator" args="2">:</e>
            <e type="operand" style="string">■</e>
            <e type="operand">20</e>
            <e type="operand" style="string">green</e>
            <e type="function" args="5">augment</e>
            <e type="operator" args="2">:</e>
            <e type="operand">Πo</e>
            <e type="operand">X</e>
            <e type="operand">1</e>
            <e type="operand">X</e>
            <e type="function" args="1">L</e>
            <e type="function" args="2">range</e>
            <e type="function" args="2">el</e>
            <e type="operand">5</e>
            <e type="function" args="3">el</e>
            <e type="operand" style="string">red</e>
            <e type="operator" args="2">:</e>
            <e type="operand">3</e>
            <e type="operand">1</e>
            <e type="function" args="5">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region id="11" left="18" top="1584" width="233" height="75" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">X</e>
            <e type="function" args="1">product</e>
            <e type="operand">X</e>
            <e type="operand">κ</e>
            <e type="function" args="2">el</e>
            <e type="operand">κ</e>
            <e type="operand">κ</e>
            <e type="function" args="1">Clear</e>
            <e type="operand">X</e>
            <e type="function" args="1">L</e>
            <e type="function" args="4">product</e>
            <e type="operand">1</e>
            <e type="operand">1</e>
            <e type="function" args="3">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region id="12" left="693" top="1638" width="60" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">Alvaro</e>
          </input>
        </math>
      </region>
      <region id="13" top="1665" color="#000000" bgColor="#ffffff">
        <area terminator="true" />
      </region>
    </region>
    <region id="14" top="1692" color="#000000" bgColor="#ffffff">
      <area collapsed="true">
        <title lang="eng">
          <p>Exercise</p>
        </title>
      </area>
      <region id="15" left="18" top="1719" width="280" height="31" color="#800000" bgColor="#ffffff" fontSize="14">
        <text lang="eng">
          <p>Conditional Probability</p>
        </text>
      </region>
      <region id="16" left="18" top="1764" width="710" height="56" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p>This exercise shows that probabilities are a measuring theory, and the importance 
of make experiments to have the actual values for physical or engieneering events, 
instead of the simple assignation of theoretical probability values for those events.</p>
        </text>
      </region>
      <region id="17" left="18" top="1836" width="229" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p>The universe of events for 
a die is</p>
        </text>
      </region>
      <region id="18" left="306" top="1836" width="353" height="27" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand" style="unit">D</e>
            <e type="operand" style="string">One</e>
            <e type="operand" style="string">Two</e>
            <e type="operand" style="string">Three</e>
            <e type="operand" style="string">Four</e>
            <e type="operand" style="string">Five</e>
            <e type="operand" style="string">Six</e>
            <e type="operand">1</e>
            <e type="operand">6</e>
            <e type="function" args="8">mat</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region id="19" left="18" top="1881" width="94" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p>indexed by</p>
        </text>
      </region>
      <region id="20" left="306" top="1881" width="127" height="37" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand" style="unit">ID</e>
            <e type="operand">1</e>
            <e type="operand" style="unit">D</e>
            <e type="function" args="1">L</e>
            <e type="function" args="2">range</e>
            <e type="function" args="1">transpose</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region id="21" left="495" top="1881" width="127" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p>with empty set</p>
        </text>
      </region>
      <region id="22" left="630" top="1881" width="66" height="30" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <description active="false" position="Top" lang="eng">
            <p>Empty set</p>
          </description>
          <input>
            <e type="operand" style="unit">Ø</e>
            <e type="operand">0</e>
            <e type="operand">1</e>
            <e type="operand">1</e>
            <e type="function" args="3">mat</e>
            <e type="operand">1</e>
            <e type="operand">1</e>
            <e type="function" args="3">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region id="23" left="18" top="1926" width="176" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p>Thus, the row vector</p>
        </text>
      </region>
      <region id="24" left="306" top="1926" width="89" height="27" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">C</e>
            <e type="operand">1</e>
            <e type="operand">3</e>
            <e type="operand">3</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 id="25" left="18" top="1962" width="258" height="56" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p>represents the event for get
One, then Three and then Three
again</p>
        </text>
      </region>
      <region id="26" left="306" top="1962" width="250" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand" style="unit">D</e>
            <e type="operand">1</e>
            <e type="operand">C</e>
            <e type="function" args="3">el</e>
          </input>
          <result action="numeric">
            <e type="operand" style="string">One</e>
            <e type="operand" style="string">Three</e>
            <e type="operand" style="string">Three</e>
            <e type="operand">1</e>
            <e type="operand">3</e>
            <e type="function" args="5">mat</e>
          </result>
        </math>
      </region>
      <region id="27" left="18" top="2025" width="242" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p>The probability for an event
given by a row vector X is</p>
        </text>
      </region>
      <region id="28" left="306" top="2025" width="111" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">P</e>
            <e type="function" args="1">Clear</e>
          </input>
          <result action="numeric">
            <e type="operand">1</e>
          </result>
        </math>
      </region>
      <region id="29" left="450" top="2025" width="187" height="86" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">X</e>
            <e type="function" args="1">P.D</e>
            <e type="operand">P</e>
            <e type="operand">X</e>
            <e type="function" args="2">el</e>
            <e type="function" args="1">product</e>
            <e type="operand">0</e>
            <e type="function" args="2">try</e>
            <e type="operand">1</e>
            <e type="operand">1</e>
            <e type="function" args="3">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region id="30" left="18" top="2124" width="259" height="56" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p>where P is the probability of
each die number. For a perfect
die we have</p>
        </text>
      </region>
      <region id="31" left="306" top="2124" width="155" height="44" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">P</e>
            <e type="operand">1</e>
            <e type="operand">6</e>
            <e type="operator" args="2">/</e>
            <e type="operand">1</e>
            <e type="operand">6</e>
            <e type="operator" args="2">/</e>
            <e type="operand">1</e>
            <e type="operand">6</e>
            <e type="operator" args="2">/</e>
            <e type="operand">1</e>
            <e type="operand">6</e>
            <e type="operator" args="2">/</e>
            <e type="operand">1</e>
            <e type="operand">6</e>
            <e type="operator" args="2">/</e>
            <e type="operand">1</e>
            <e type="operand">6</e>
            <e type="operator" args="2">/</e>
            <e type="operand">1</e>
            <e type="operand">6</e>
            <e type="function" args="8">mat</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region id="32" left="531" top="2124" width="240" height="158" color="#000000" bgColor="#ffffff" fontSize="10">
        <plot grid="false" axes="false" type="2d" render="lines" scale_x="39.5235093766911" scale_y="3.38357101722668" scale_z="35.2154468546318" rotate_x="0" rotate_y="0" rotate_z="0" transpose_x="-101" transpose_y="-57" transpose_z="0">
          <input>
            <e type="operand" style="unit">ID</e>
            <e type="operand">P</e>
            <e type="function" args="2">PlotStem</e>
          </input>
        </plot>
      </region>
      <region id="33" left="18" top="2196" width="250" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p>then the probability for C is</p>
        </text>
      </region>
      <region id="34" left="306" top="2196" width="107" height="41" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">C</e>
            <e type="function" args="1">P.D</e>
          </input>
          <result action="symbolic">
            <e type="operand">1</e>
            <e type="operand">216</e>
            <e type="operator" args="2">/</e>
          </result>
        </math>
      </region>
      <region id="35" left="306" top="2241" width="118" height="41" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">1</e>
            <e type="operand">6</e>
            <e type="operator" args="2">/</e>
            <e type="operand">1</e>
            <e type="operand">6</e>
            <e type="operator" args="2">/</e>
            <e type="operator" args="2">*</e>
            <e type="operand">1</e>
            <e type="operand">6</e>
            <e type="operator" args="2">/</e>
            <e type="operator" args="2">*</e>
          </input>
          <result action="symbolic">
            <e type="operand">1</e>
            <e type="operand">216</e>
            <e type="operator" args="2">/</e>
          </result>
        </math>
      </region>
      <region id="36" left="18" top="2250" width="69" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p>this is</p>
        </text>
      </region>
      <region id="37" left="18" top="2322" width="246" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p>Now, if rolling the same die 
twice, we have</p>
        </text>
      </region>
      <region id="38" left="306" top="2322" width="381" height="30" color="#000000" bgColor="#ffffff" fontSize="10">
        <math matrixOptions="0,0,2,1">
          <input>
            <e type="operand" style="unit">D2</e>
            <e type="operand" style="unit">D</e>
            <e type="operand" style="unit">×</e>
            <e type="operand" style="unit">D</e>
            <e type="function" args="3">S</e>
            <e type="operator" args="2">:</e>
          </input>
          <result action="numeric">
            <e type="operand" style="string">One</e>
            <e type="operand" style="string">One</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand" style="string">One</e>
            <e type="operand" style="string">Two</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
          </result>
        </math>
      </region>
      <region id="39" left="18" top="2367" width="169" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p>and the indices are</p>
        </text>
      </region>
      <region id="40" left="306" top="2367" width="385" height="37" color="#000000" bgColor="#ffffff" fontSize="10">
        <math matrixOptions="0,0,12,1">
          <input>
            <e type="operand" style="unit">ID2</e>
            <e type="operand">1</e>
            <e type="operand" style="unit">D2</e>
            <e type="function" args="1">L</e>
            <e type="function" args="2">range</e>
            <e type="function" args="1">transpose</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">10</e>
            <e type="operand">11</e>
            <e type="operand">12</e>
            <e type="operand">1</e>
            <e type="operand">12</e>
            <e type="function" args="14">mat</e>
          </result>
        </math>
      </region>
      <region id="41" left="18" top="2412" width="242" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p>For correlate both universes
define φ as</p>
        </text>
      </region>
      <region id="42" left="306" top="2412" width="143" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">ID2</e>
            <e type="operand" style="unit">ID</e>
            <e type="operand" style="unit">×</e>
            <e type="operand" style="unit">ID</e>
            <e type="function" args="3">S</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region id="43" left="486" top="2412" width="114" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">X</e>
            <e type="function" args="1">φ</e>
            <e type="operand">ID2</e>
            <e type="operand">1</e>
            <e type="operand">X</e>
            <e type="function" args="3">el</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region id="44" left="18" top="2466" width="250" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p>For example, the row vector C</p>
        </text>
      </region>
      <region id="45" left="306" top="2466" width="105" height="27" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">C</e>
            <e type="operand">7</e>
            <e type="operand">28</e>
            <e type="operand">12</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 id="46" left="576" top="2466" width="197" height="158" color="#000000" bgColor="#ffffff" fontSize="10">
        <plot axes="false" type="2d" render="lines" scale_x="3.04521391550401" scale_y="3.74005008361003" scale_z="3.74005008361003" rotate_x="0" rotate_y="0" rotate_z="0" transpose_x="-107" transpose_y="-69" transpose_z="0">
          <input>
            <e type="operand">C</e>
            <e type="function" args="1">Plot2Die</e>
          </input>
        </plot>
      </region>
      <region id="47" left="18" top="2502" width="77" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p>maped by</p>
        </text>
      </region>
      <region id="48" left="306" top="2502" width="211" height="30" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">C</e>
            <e type="function" args="1">φ</e>
          </input>
          <result action="numeric">
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand">5</e>
            <e type="operand">4</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand">2</e>
            <e type="operand">6</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand">1</e>
            <e type="operand">3</e>
            <e type="function" args="5">mat</e>
          </result>
        </math>
      </region>
      <region id="49" left="18" top="2538" width="511" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p>represents the event of get Two and One, or Five and Four, or
Two and Six</p>
        </text>
      </region>
      <region id="50" left="117" top="2583" width="425" height="35" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand" style="unit">D2</e>
            <e type="operand">1</e>
            <e type="operand">C</e>
            <e type="function" args="3">el</e>
          </input>
          <result action="numeric">
            <e type="operand" style="string">Two</e>
            <e type="operand" style="string">One</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand" style="string">Five</e>
            <e type="operand" style="string">Four</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand" style="string">Two</e>
            <e type="operand" style="string">Six</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand">1</e>
            <e type="operand">3</e>
            <e type="function" args="5">mat</e>
          </result>
        </math>
      </region>
      <region id="51" left="18" top="2655" width="241" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p>The probability in the 
'rolling die twice' space is</p>
        </text>
      </region>
      <region id="52" left="306" top="2655" width="134" height="31" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">P.2S</e>
            <e type="operand">P</e>
            <e type="operand" style="unit">×</e>
            <e type="operand">P</e>
            <e type="function" args="3">S</e>
            <e type="operand">1</e>
            <e type="operand">1</e>
            <e type="function" args="3">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region id="53" left="468" top="2655" width="256" height="124" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">X</e>
            <e type="function" args="1">P.2S</e>
            <e type="operand">P.2S</e>
            <e type="operand">X</e>
            <e type="function" args="2">el</e>
            <e type="operand">κ</e>
            <e type="function" args="2">el</e>
            <e type="function" args="1">product</e>
            <e type="operand">κ</e>
            <e type="operand">1</e>
            <e type="operand">X</e>
            <e type="function" args="1">L</e>
            <e type="function" args="4">sum</e>
            <e type="operand">0</e>
            <e type="function" args="2">try</e>
            <e type="operand">1</e>
            <e type="operand">1</e>
            <e type="function" args="3">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region id="54" left="306" top="2709" width="20" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p bold="true">1</p>
        </text>
      </region>
      <region id="55" left="342" top="2709" width="108" height="30" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand" style="unit">ID2</e>
            <e type="function" args="1">P.2S</e>
          </input>
          <result action="numeric">
            <e type="operand">1</e>
          </result>
        </math>
      </region>
      <region id="56" left="18" top="2718" width="275" height="56" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p>It's well defined because in the
universe 'ID2 because for each
X⊆ID2 is</p>
        </text>
      </region>
      <region id="57" left="306" top="2736" width="20" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p bold="true">2</p>
        </text>
      </region>
      <region id="58" left="342" top="2736" width="92" height="30" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand" style="unit">Ø</e>
            <e type="function" args="1">P.2S</e>
          </input>
          <result action="numeric">
            <e type="operand">0</e>
          </result>
        </math>
      </region>
      <region id="59" left="306" top="2763" width="20" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p bold="true">3</p>
        </text>
      </region>
      <region id="60" left="342" top="2763" width="96" height="30" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">X</e>
            <e type="function" args="1">P.2S</e>
            <e type="operand">0</e>
            <e type="operand">1</e>
            <e type="function" args="3">lele</e>
          </input>
        </math>
      </region>
      <region id="61" left="18" top="2808" width="264" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p>For the event given by C, it is</p>
        </text>
      </region>
      <region id="62" left="306" top="2808" width="106" height="41" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">C</e>
            <e type="function" args="1">P.2S</e>
          </input>
          <result action="symbolic">
            <e type="operand">1</e>
            <e type="operand">12</e>
            <e type="operator" args="2">/</e>
          </result>
        </math>
      </region>
      <region id="63" left="441" top="2808" width="28" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p>or</p>
        </text>
      </region>
      <region id="64" left="522" top="2808" width="78" height="41" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">3</e>
            <e type="operand">36</e>
            <e type="operator" args="2">/</e>
          </input>
          <result action="symbolic">
            <e type="operand">1</e>
            <e type="operand">12</e>
            <e type="operator" args="2">/</e>
          </result>
        </math>
      </region>
      <region id="65" left="18" top="2853" width="427" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p>Defining an event A by 'first roll is two', we have</p>
        </text>
      </region>
      <region id="66" left="54" top="2889" width="139" height="35" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">X</e>
            <e type="function" args="1">f.A</e>
            <e type="operand">X</e>
            <e type="function" args="1">φ</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="operand">2</e>
            <e type="operator" args="2">≡</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region id="67" left="216" top="2889" width="305" height="47" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">A</e>
            <e type="operand" style="unit">ID2</e>
            <e type="function" args="1">f.A</e>
            <e type="function" args="1">vectorize</e>
            <e type="function" args="1">Find.1</e>
            <e type="function" args="1">transpose</e>
            <e type="operator" args="2">:</e>
          </input>
          <result action="numeric">
            <e type="operand">7</e>
            <e type="operand">8</e>
            <e type="operand">9</e>
            <e type="operand">10</e>
            <e type="operand">11</e>
            <e type="operand">12</e>
            <e type="operand">1</e>
            <e type="operand">6</e>
            <e type="function" args="8">mat</e>
          </result>
        </math>
      </region>
      <region id="68" left="576" top="2889" width="197" height="158" color="#000000" bgColor="#ffffff" fontSize="10">
        <plot grid="false" axes="false" type="2d" render="lines" scale_x="3.04521391550401" scale_y="3.74005008361003" scale_z="3.74005008361003" rotate_x="0" rotate_y="0" rotate_z="0" transpose_x="-106" transpose_y="-70" transpose_z="0">
          <input>
            <e type="operand">A</e>
            <e type="function" args="1">Plot2Die</e>
          </input>
        </plot>
      </region>
      <region id="69" left="54" top="2943" width="98" height="41" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">A</e>
            <e type="function" args="1">P.2S</e>
          </input>
          <result action="symbolic">
            <e type="operand">1</e>
            <e type="operand">6</e>
            <e type="operator" args="2">/</e>
          </result>
        </math>
      </region>
      <region id="70" left="216" top="2943" width="70" height="41" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">6</e>
            <e type="operand">36</e>
            <e type="operator" args="2">/</e>
          </input>
          <result action="symbolic">
            <e type="operand">1</e>
            <e type="operand">6</e>
            <e type="operator" args="2">/</e>
          </result>
        </math>
      </region>
      <region id="71" left="54" top="3006" width="438" height="35" color="#000000" bgColor="#ffffff" fontSize="10">
        <math matrixOptions="0,0,3,1">
          <input>
            <e type="operand" style="unit">D2</e>
            <e type="operand">1</e>
            <e type="operand">A</e>
            <e type="function" args="3">el</e>
          </input>
          <result action="numeric">
            <e type="operand" style="string">Two</e>
            <e type="operand" style="string">One</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand" style="string">Two</e>
            <e type="operand" style="string">Two</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand" style="string">Two</e>
            <e type="operand" style="string">Three</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand">1</e>
            <e type="operand">3</e>
            <e type="function" args="5">mat</e>
          </result>
        </math>
      </region>
      <region id="72" left="18" top="3078" width="681" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p>Defining an event B by 'the sum for two rolls is less or equal than five', we have</p>
        </text>
      </region>
      <region id="73" left="54" top="3114" width="200" height="35" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">X</e>
            <e type="function" args="1">f.B</e>
            <e type="operand">X</e>
            <e type="function" args="1">φ</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="operand">X</e>
            <e type="function" args="1">φ</e>
            <e type="operand">2</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">+</e>
            <e type="operand">5</e>
            <e type="operator" args="2">≤</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region id="74" left="270" top="3114" width="294" height="47" color="#000000" bgColor="#ffffff" fontSize="10">
        <math matrixOptions="0,0,6,1">
          <input>
            <e type="operand">B</e>
            <e type="operand" style="unit">ID2</e>
            <e type="function" args="1">f.B</e>
            <e type="function" args="1">vectorize</e>
            <e type="function" args="1">Find.1</e>
            <e type="function" args="1">transpose</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">7</e>
            <e type="operand">8</e>
            <e type="operand">1</e>
            <e type="operand">6</e>
            <e type="function" args="8">mat</e>
          </result>
        </math>
      </region>
      <region id="75" left="576" top="3114" width="197" height="158" color="#000000" bgColor="#ffffff" fontSize="10">
        <plot grid="false" axes="false" type="2d" render="lines" scale_x="3.04521391550401" scale_y="3.74005008361003" scale_z="3.74005008361003" rotate_x="0" rotate_y="0" rotate_z="0" transpose_x="-106" transpose_y="-70" transpose_z="0">
          <input>
            <e type="operand">B</e>
            <e type="function" args="1">Plot2Die</e>
          </input>
        </plot>
      </region>
      <region id="76" left="54" top="3168" width="106" height="41" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">B</e>
            <e type="function" args="1">P.2S</e>
          </input>
          <result action="symbolic">
            <e type="operand">5</e>
            <e type="operand">18</e>
            <e type="operator" args="2">/</e>
          </result>
        </math>
      </region>
      <region id="77" left="270" top="3168" width="78" height="41" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">10</e>
            <e type="operand">36</e>
            <e type="operator" args="2">/</e>
          </input>
          <result action="symbolic">
            <e type="operand">5</e>
            <e type="operand">18</e>
            <e type="operator" args="2">/</e>
          </result>
        </math>
      </region>
      <region id="78" left="54" top="3222" width="438" height="35" color="#000000" bgColor="#ffffff" fontSize="10">
        <math matrixOptions="0,0,3,1">
          <input>
            <e type="operand" style="unit">D2</e>
            <e type="operand">1</e>
            <e type="operand">B</e>
            <e type="function" args="3">el</e>
          </input>
          <result action="numeric">
            <e type="operand" style="string">One</e>
            <e type="operand" style="string">One</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand" style="string">One</e>
            <e type="operand" style="string">Two</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand" style="string">One</e>
            <e type="operand" style="string">Three</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand">1</e>
            <e type="operand">3</e>
            <e type="function" args="5">mat</e>
          </result>
        </math>
      </region>
      <region id="79" left="18" top="3276" width="536" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p>The event given by the intersection of the two previous cases is</p>
        </text>
      </region>
      <region id="80" left="54" top="3312" width="173" height="41" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">A</e>
            <e type="operand" style="unit">∩</e>
            <e type="operand">B</e>
            <e type="function" args="3">S</e>
            <e type="function" args="1">P.2S</e>
          </input>
          <result action="symbolic">
            <e type="operand">1</e>
            <e type="operand">12</e>
            <e type="operator" args="2">/</e>
          </result>
        </math>
      </region>
      <region id="81" left="270" top="3312" width="78" height="41" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">3</e>
            <e type="operand">36</e>
            <e type="operator" args="2">/</e>
          </input>
          <result action="symbolic">
            <e type="operand">1</e>
            <e type="operand">12</e>
            <e type="operator" args="2">/</e>
          </result>
        </math>
      </region>
      <region id="82" left="576" top="3312" width="197" height="158" color="#000000" bgColor="#ffffff" fontSize="10">
        <plot grid="false" axes="false" type="2d" render="lines" scale_x="3.04521391550401" scale_y="3.74005008361003" scale_z="3.74005008361003" rotate_x="0" rotate_y="0" rotate_z="0" transpose_x="-106" transpose_y="-70" transpose_z="0">
          <input>
            <e type="operand">A</e>
            <e type="operand" style="unit">∩</e>
            <e type="operand">B</e>
            <e type="function" args="3">S</e>
            <e type="function" args="1">Plot2Die</e>
          </input>
        </plot>
      </region>
      <region id="83" left="54" top="3366" width="492" height="37" color="#000000" bgColor="#ffffff" fontSize="10">
        <math matrixOptions="0,0,3,1">
          <input>
            <e type="operand" style="unit">D2</e>
            <e type="operand">1</e>
            <e type="operand">A</e>
            <e type="operand" style="unit">∩</e>
            <e type="operand">B</e>
            <e type="function" args="3">S</e>
            <e type="function" args="3">el</e>
          </input>
          <result action="numeric">
            <e type="operand" style="string">Two</e>
            <e type="operand" style="string">One</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand" style="string">Two</e>
            <e type="operand" style="string">Two</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand" style="string">Two</e>
            <e type="operand" style="string">Three</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand">1</e>
            <e type="operand">3</e>
            <e type="function" args="5">mat</e>
          </result>
        </math>
      </region>
      <region id="84" left="18" top="3411" width="390" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p>Finally, the conditional probability P(B|A) is</p>
        </text>
      </region>
      <region id="85" left="54" top="3447" width="224" height="54" border="true" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">P.B\007C\A</e>
            <e type="operand">A</e>
            <e type="operand" style="unit">∩</e>
            <e type="operand">B</e>
            <e type="function" args="3">S</e>
            <e type="function" args="1">P.2S</e>
            <e type="operand">B</e>
            <e type="function" args="1">P.2S</e>
            <e type="operator" args="2">/</e>
            <e type="operator" args="2">:</e>
          </input>
          <result action="symbolic">
            <e type="operand">3</e>
            <e type="operand">10</e>
            <e type="operator" args="2">/</e>
          </result>
        </math>
      </region>
      <region id="86" left="18" top="3519" width="723" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p>That's ok for a perfect die. What about a real one? It's easy to make one, with a small
attached mass, for example, in the six face. Rolling it 40 times, I found this events</p>
        </text>
      </region>
      <region id="87" left="54" top="3573" width="651" height="81" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">E\0024\</e>
            <e type="operand" style="string">Two</e>
            <e type="operand" style="string">Three</e>
            <e type="operand" style="string">Three</e>
            <e type="operand" style="string">Five</e>
            <e type="operand" style="string">Four</e>
            <e type="operand" style="string">Three</e>
            <e type="operand" style="string">Five</e>
            <e type="operand" style="string">One</e>
            <e type="operand" style="string">Two</e>
            <e type="operand" style="string">Three</e>
            <e type="operand" style="string">Five</e>
            <e type="operand" style="string">Two</e>
            <e type="operand" style="string">Five</e>
            <e type="operand" style="string">One</e>
            <e type="operand" style="string">Three</e>
            <e type="operand" style="string">Five</e>
            <e type="operand" style="string">Four</e>
            <e type="operand" style="string">Six</e>
            <e type="operand" style="string">Two</e>
            <e type="operand" style="string">Three</e>
            <e type="operand" style="string">Four</e>
            <e type="operand" style="string">Two</e>
            <e type="operand" style="string">One</e>
            <e type="operand" style="string">Four</e>
            <e type="operand" style="string">Five</e>
            <e type="operand" style="string">One</e>
            <e type="operand" style="string">Two</e>
            <e type="operand" style="string">Four</e>
            <e type="operand" style="string">Three</e>
            <e type="operand" style="string">Four</e>
            <e type="operand" style="string">Three</e>
            <e type="operand" style="string">Two</e>
            <e type="operand" style="string">One</e>
            <e type="operand" style="string">Two</e>
            <e type="operand" style="string">Four</e>
            <e type="operand" style="string">Three</e>
            <e type="operand" style="string">Four</e>
            <e type="operand" style="string">Six</e>
            <e type="operand" style="string">Three</e>
            <e type="operand" style="string">Two</e>
            <e type="operand">4</e>
            <e type="operand">10</e>
            <e type="function" args="42">mat</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region id="88" left="18" top="3672" width="324" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p>The probability for each number is now</p>
        </text>
      </region>
      <region id="89" left="414" top="3672" width="125" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">N</e>
            <e type="operand">E\0024\</e>
            <e type="function" args="1">L</e>
            <e type="operator" args="2">:</e>
          </input>
          <result action="numeric">
            <e type="operand">40</e>
          </result>
        </math>
      </region>
      <region id="90" left="54" top="3708" width="305" height="56" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">P</e>
            <e type="operand">1</e>
            <e type="operand" style="unit">ID</e>
            <e type="function" args="3">el</e>
            <e type="operand">E\0024\</e>
            <e type="operand">1</e>
            <e type="operand">N</e>
            <e type="function" args="2">range</e>
            <e type="function" args="2">el</e>
            <e type="operand" style="unit">D</e>
            <e type="operand" style="unit">ID</e>
            <e type="function" args="2">el</e>
            <e type="operand">1</e>
            <e type="function" args="3">findrows</e>
            <e type="function" args="1">L</e>
            <e type="operand">N</e>
            <e type="operator" args="2">/</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region id="91" left="531" top="3708" width="240" height="158" color="#000000" bgColor="#ffffff" fontSize="10">
        <plot grid="false" axes="false" type="2d" render="lines" scale_x="39.5235093766911" scale_y="3.38357101722668" scale_z="35.2154468546318" rotate_x="0" rotate_y="0" rotate_z="0" transpose_x="-101" transpose_y="-57" transpose_z="0">
          <input>
            <e type="operand" style="unit">ID</e>
            <e type="operand">P</e>
            <e type="function" args="2">PlotStem</e>
          </input>
        </plot>
      </region>
      <region id="92" left="54" top="3789" width="293" height="27" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">P</e>
          </input>
          <result action="numeric">
            <e type="operand">0.125</e>
            <e type="operand">0.225</e>
            <e type="operand">0.25</e>
            <e type="operand">0.2</e>
            <e type="operand">0.15</e>
            <e type="operand">0.05</e>
            <e type="operand">1</e>
            <e type="operand">6</e>
            <e type="function" args="8">mat</e>
          </result>
        </math>
      </region>
      <region id="93" left="360" top="3789" width="45" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p>with</p>
        </text>
      </region>
      <region id="94" left="423" top="3789" width="87" height="36" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">P</e>
            <e type="function" args="1">sum</e>
          </input>
          <result action="numeric">
            <e type="operand">1</e>
          </result>
        </math>
      </region>
      <region id="95" left="18" top="3834" width="299" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p>For this imperfect die now we have:</p>
        </text>
      </region>
      <region id="96" left="54" top="3888" width="126" height="30" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">A</e>
            <e type="function" args="1">P.2S</e>
          </input>
          <result action="numeric">
            <e type="operand">0.225</e>
          </result>
        </math>
      </region>
      <region id="97" left="324" top="3888" width="70" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p>instead</p>
        </text>
      </region>
      <region id="98" left="432" top="3888" width="106" height="41" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">6</e>
            <e type="operand">36</e>
            <e type="operator" args="2">/</e>
          </input>
          <result action="numeric">
            <e type="operand">0.1667</e>
          </result>
        </math>
      </region>
      <region id="99" left="54" top="3933" width="134" height="30" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">B</e>
            <e type="function" args="1">P.2S</e>
          </input>
          <result action="numeric">
            <e type="operand">0.3475</e>
          </result>
        </math>
      </region>
      <region id="100" left="432" top="3933" width="106" height="41" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">10</e>
            <e type="operand">36</e>
            <e type="operator" args="2">/</e>
          </input>
          <result action="numeric">
            <e type="operand">0.2778</e>
          </result>
        </math>
      </region>
      <region id="101" left="432" top="3978" width="106" height="41" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">3</e>
            <e type="operand">36</e>
            <e type="operator" args="2">/</e>
          </input>
          <result action="numeric">
            <e type="operand">0.0833</e>
          </result>
        </math>
      </region>
      <region id="102" left="54" top="3987" width="193" height="31" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">A</e>
            <e type="operand" style="unit">∩</e>
            <e type="operand">B</e>
            <e type="function" args="3">S</e>
            <e type="function" args="1">P.2S</e>
          </input>
          <result action="numeric">
            <e type="operand">0.135</e>
          </result>
        </math>
      </region>
      <region id="103" left="54" top="4032" width="252" height="54" border="true" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">P.B\007C\A</e>
            <e type="operand">A</e>
            <e type="operand" style="unit">∩</e>
            <e type="operand">B</e>
            <e type="function" args="3">S</e>
            <e type="function" args="1">P.2S</e>
            <e type="operand">B</e>
            <e type="function" args="1">P.2S</e>
            <e type="operator" args="2">/</e>
            <e type="operator" args="2">:</e>
          </input>
          <result action="numeric">
            <e type="operand">0.3885</e>
          </result>
        </math>
      </region>
      <region id="104" left="432" top="4032" width="82" height="41" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">3</e>
            <e type="operand">10</e>
            <e type="operator" args="2">/</e>
          </input>
          <result action="numeric">
            <e type="operand">0.3</e>
          </result>
        </math>
      </region>
      <region id="105" left="18" top="4104" width="78" height="24" color="#800000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p bold="true">Exercise</p>
        </text>
      </region>
      <region id="106" left="126" top="4104" width="630" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p>Here, we roll the same die twice. Make a second imperfect die, and eval 
the conditional probability for the same events, but rolling each die once.</p>
        </text>
      </region>
      <region id="107" left="18" top="4158" width="730" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p>Rolling my second imperfect die, with a small mass at the face of Five, 30 times, I have</p>
        </text>
      </region>
      <region id="108" left="54" top="4194" width="593" height="63" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">E\0024\.2</e>
            <e type="operand" style="string">Six</e>
            <e type="operand" style="string">One</e>
            <e type="operand" style="string">Two</e>
            <e type="operand" style="string">Two</e>
            <e type="operand" style="string">Three</e>
            <e type="operand" style="string">Six</e>
            <e type="operand" style="string">Two</e>
            <e type="operand" style="string">Five</e>
            <e type="operand" style="string">One</e>
            <e type="operand" style="string">Four</e>
            <e type="operand" style="string">Four</e>
            <e type="operand" style="string">Two</e>
            <e type="operand" style="string">Four</e>
            <e type="operand" style="string">Three</e>
            <e type="operand" style="string">Four</e>
            <e type="operand" style="string">One</e>
            <e type="operand" style="string">Two</e>
            <e type="operand" style="string">Five</e>
            <e type="operand" style="string">Two</e>
            <e type="operand" style="string">Six</e>
            <e type="operand" style="string">Three</e>
            <e type="operand" style="string">One</e>
            <e type="operand" style="string">Two</e>
            <e type="operand" style="string">Four</e>
            <e type="operand" style="string">Two</e>
            <e type="operand" style="string">Two</e>
            <e type="operand" style="string">Six</e>
            <e type="operand" style="string">Four</e>
            <e type="operand" style="string">Six</e>
            <e type="operand" style="string">Two</e>
            <e type="operand">3</e>
            <e type="operand">10</e>
            <e type="function" args="32">mat</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region id="109" left="18" top="4275" width="323" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p>Demostrante using SMath that now it is</p>
        </text>
      </region>
      <region id="110" left="423" top="4275" width="83" height="41" border="true" color="#000000" bgColor="#ffffd9" fontSize="10">
        <math>
          <input>
            <e type="operand">P.B\007C\A</e>
            <e type="operand">153</e>
            <e type="operand">440</e>
            <e type="operator" args="2">/</e>
            <e type="operator" args="2">≡</e>
          </input>
        </math>
      </region>
      <region id="111" left="18" top="4329" width="94" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p bold="true">References</p>
        </text>
      </region>
      <region id="112" left="126" top="4329" width="515" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p>https://en.wikipedia.org/wiki/Conditional_probability#Example</p>
        </text>
      </region>
      <region id="113" left="18" top="4365" width="60" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">Alvaro</e>
          </input>
        </math>
      </region>
      <region id="114" top="4401" color="#000000" bgColor="#ffffff">
        <area terminator="true" />
      </region>
    </region>
    <region id="115" top="4428" color="#000000" bgColor="#ffffff">
      <area collapsed="false">
        <title lang="eng">
          <p>Solution</p>
        </title>
      </area>
      <region id="116" left="18" top="4455" width="78" height="24" color="#800000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p bold="true">Exercise</p>
        </text>
      </region>
      <region id="117" left="126" top="4455" width="630" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p>Here, we roll the same die twice. Make a second imperfect die, and eval 
the conditional probability for the same events, but rolling each die once.</p>
        </text>
      </region>
      <region id="118" left="18" top="4509" width="258" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p>First Die (the same as before)</p>
        </text>
      </region>
      <region id="119" left="54" top="4545" width="657" height="81" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">E\0024\.1</e>
            <e type="operand" style="string">Two</e>
            <e type="operand" style="string">Three</e>
            <e type="operand" style="string">Three</e>
            <e type="operand" style="string">Five</e>
            <e type="operand" style="string">Four</e>
            <e type="operand" style="string">Three</e>
            <e type="operand" style="string">Five</e>
            <e type="operand" style="string">One</e>
            <e type="operand" style="string">Two</e>
            <e type="operand" style="string">Three</e>
            <e type="operand" style="string">Five</e>
            <e type="operand" style="string">Two</e>
            <e type="operand" style="string">Five</e>
            <e type="operand" style="string">One</e>
            <e type="operand" style="string">Three</e>
            <e type="operand" style="string">Five</e>
            <e type="operand" style="string">Four</e>
            <e type="operand" style="string">Six</e>
            <e type="operand" style="string">Two</e>
            <e type="operand" style="string">Three</e>
            <e type="operand" style="string">Four</e>
            <e type="operand" style="string">Two</e>
            <e type="operand" style="string">One</e>
            <e type="operand" style="string">Four</e>
            <e type="operand" style="string">Five</e>
            <e type="operand" style="string">One</e>
            <e type="operand" style="string">Two</e>
            <e type="operand" style="string">Four</e>
            <e type="operand" style="string">Three</e>
            <e type="operand" style="string">Four</e>
            <e type="operand" style="string">Three</e>
            <e type="operand" style="string">Two</e>
            <e type="operand" style="string">One</e>
            <e type="operand" style="string">Two</e>
            <e type="operand" style="string">Four</e>
            <e type="operand" style="string">Three</e>
            <e type="operand" style="string">Four</e>
            <e type="operand" style="string">Six</e>
            <e type="operand" style="string">Three</e>
            <e type="operand" style="string">Two</e>
            <e type="operand">4</e>
            <e type="operand">10</e>
            <e type="function" args="42">mat</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region id="120" left="18" top="4635" width="314" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p>Second Die (rolling it only 30 times)</p>
        </text>
      </region>
      <region id="121" left="54" top="4671" width="593" height="63" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">E\0024\.2</e>
            <e type="operand" style="string">Six</e>
            <e type="operand" style="string">One</e>
            <e type="operand" style="string">Two</e>
            <e type="operand" style="string">Two</e>
            <e type="operand" style="string">Three</e>
            <e type="operand" style="string">Six</e>
            <e type="operand" style="string">Two</e>
            <e type="operand" style="string">Five</e>
            <e type="operand" style="string">One</e>
            <e type="operand" style="string">Four</e>
            <e type="operand" style="string">Four</e>
            <e type="operand" style="string">Two</e>
            <e type="operand" style="string">Four</e>
            <e type="operand" style="string">Three</e>
            <e type="operand" style="string">Four</e>
            <e type="operand" style="string">One</e>
            <e type="operand" style="string">Two</e>
            <e type="operand" style="string">Five</e>
            <e type="operand" style="string">Two</e>
            <e type="operand" style="string">Six</e>
            <e type="operand" style="string">Three</e>
            <e type="operand" style="string">One</e>
            <e type="operand" style="string">Two</e>
            <e type="operand" style="string">Four</e>
            <e type="operand" style="string">Two</e>
            <e type="operand" style="string">Two</e>
            <e type="operand" style="string">Six</e>
            <e type="operand" style="string">Four</e>
            <e type="operand" style="string">Six</e>
            <e type="operand" style="string">Two</e>
            <e type="operand">3</e>
            <e type="operand">10</e>
            <e type="function" args="32">mat</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region id="122" left="18" top="4743" width="156" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p>Probabilities for 
each die</p>
        </text>
      </region>
      <region id="123" left="216" top="4743" width="418" height="81" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">E\0024\</e>
            <e type="function" args="1">P.Dn</e>
            <e type="operand">P</e>
            <e type="operand">0</e>
            <e type="operator" args="2">:</e>
            <e type="operand">P</e>
            <e type="operand">1</e>
            <e type="operand" style="unit">ID</e>
            <e type="function" args="3">el</e>
            <e type="operand">E\0024\</e>
            <e type="operand">1</e>
            <e type="operand">E\0024\</e>
            <e type="function" args="1">L</e>
            <e type="function" args="2">range</e>
            <e type="function" args="2">el</e>
            <e type="operand" style="unit">D</e>
            <e type="operand" style="unit">ID</e>
            <e type="function" args="2">el</e>
            <e type="operand">1</e>
            <e type="function" args="3">findrows</e>
            <e type="function" args="1">L</e>
            <e type="operand">E\0024\</e>
            <e type="function" args="1">L</e>
            <e type="operator" args="2">/</e>
            <e type="operator" args="2">:</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="function" args="4">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region id="124" left="18" top="4887" width="106" height="32" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">P.1</e>
            <e type="operand">E\0024\.1</e>
            <e type="function" args="1">P.Dn</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region id="125" left="126" top="4887" width="240" height="158" color="#000000" bgColor="#ffffff" fontSize="10">
        <plot grid="false" axes="false" type="2d" render="lines" scale_x="39.5235093766911" scale_y="3.38357101722668" scale_z="35.2154468546318" rotate_x="0" rotate_y="0" rotate_z="0" transpose_x="-101" transpose_y="-57" transpose_z="0">
          <input>
            <e type="operand" style="unit">ID</e>
            <e type="operand">P.1</e>
            <e type="function" args="2">PlotStem</e>
          </input>
        </plot>
      </region>
      <region id="126" left="396" top="4887" width="106" height="32" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">P.2</e>
            <e type="operand">E\0024\.2</e>
            <e type="function" args="1">P.Dn</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region id="127" left="504" top="4887" width="240" height="158" color="#000000" bgColor="#ffffff" fontSize="10">
        <plot grid="false" axes="false" type="2d" render="lines" scale_x="39.5235093766911" scale_y="3.38357101722668" scale_z="35.2154468546318" rotate_x="0" rotate_y="0" rotate_z="0" transpose_x="-101" transpose_y="-57" transpose_z="0">
          <input>
            <e type="operand" style="unit">ID</e>
            <e type="operand">P.2</e>
            <e type="function" args="2">PlotStem</e>
          </input>
        </plot>
      </region>
      <region id="128" left="18" top="5103" width="102" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p>Now we have</p>
        </text>
      </region>
      <region id="129" left="144" top="5103" width="146" height="35" border="true" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">P.2S</e>
            <e type="operand">P.1</e>
            <e type="operand" style="unit">×</e>
            <e type="operand">P.2</e>
            <e type="function" args="3">S</e>
            <e type="operand">1</e>
            <e type="operand">1</e>
            <e type="function" args="3">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region id="130" left="342" top="5103" width="37" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p>and</p>
        </text>
      </region>
      <region id="131" left="54" top="5157" width="126" height="30" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">A</e>
            <e type="function" args="1">P.2S</e>
          </input>
          <result action="numeric">
            <e type="operand">0.225</e>
          </result>
        </math>
      </region>
      <region id="132" left="342" top="5157" width="70" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p>insetad</p>
        </text>
      </region>
      <region id="133" left="522" top="5157" width="106" height="41" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">6</e>
            <e type="operand">36</e>
            <e type="operator" args="2">/</e>
          </input>
          <result action="numeric">
            <e type="operand">0.1667</e>
          </result>
        </math>
      </region>
      <region id="134" left="54" top="5202" width="134" height="30" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">B</e>
            <e type="function" args="1">P.2S</e>
          </input>
          <result action="numeric">
            <e type="operand">0.3667</e>
          </result>
        </math>
      </region>
      <region id="135" left="522" top="5202" width="106" height="41" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">10</e>
            <e type="operand">36</e>
            <e type="operator" args="2">/</e>
          </input>
          <result action="numeric">
            <e type="operand">0.2778</e>
          </result>
        </math>
      </region>
      <region id="136" left="522" top="5247" width="106" height="41" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">3</e>
            <e type="operand">36</e>
            <e type="operator" args="2">/</e>
          </input>
          <result action="numeric">
            <e type="operand">0.0833</e>
          </result>
        </math>
      </region>
      <region id="137" left="54" top="5256" width="201" height="31" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">A</e>
            <e type="operand" style="unit">∩</e>
            <e type="operand">B</e>
            <e type="function" args="3">S</e>
            <e type="function" args="1">P.2S</e>
          </input>
          <result action="numeric">
            <e type="operand">0.1275</e>
          </result>
        </math>
      </region>
      <region id="138" left="54" top="5301" width="252" height="54" border="true" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">P.B\007C\A</e>
            <e type="operand">A</e>
            <e type="operand" style="unit">∩</e>
            <e type="operand">B</e>
            <e type="function" args="3">S</e>
            <e type="function" args="1">P.2S</e>
            <e type="operand">B</e>
            <e type="function" args="1">P.2S</e>
            <e type="operator" args="2">/</e>
            <e type="operator" args="2">:</e>
          </input>
          <result action="numeric">
            <e type="operand">0.3477</e>
          </result>
        </math>
      </region>
      <region id="139" left="522" top="5310" width="82" height="41" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">3</e>
            <e type="operand">10</e>
            <e type="operator" args="2">/</e>
          </input>
          <result action="numeric">
            <e type="operand">0.3</e>
          </result>
        </math>
      </region>
      <region id="140" left="18" top="5373" width="126" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p>Check: by hand</p>
        </text>
      </region>
      <region id="141" left="72" top="5409" width="340" height="30" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">A</e>
            <e type="function" args="1">φ</e>
          </input>
          <result action="numeric">
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand">2</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand">2</e>
            <e type="operand">3</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand">2</e>
            <e type="operand">4</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand">2</e>
            <e type="operand">5</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand">2</e>
            <e type="operand">6</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand">1</e>
            <e type="operand">6</e>
            <e type="function" args="8">mat</e>
          </result>
        </math>
      </region>
      <region id="142" left="72" top="5445" width="573" height="42" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">P.2SA</e>
            <e type="operand">P.1</e>
            <e type="operand">2</e>
            <e type="function" args="2">el</e>
            <e type="operand">P.2</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">*</e>
            <e type="operand">P.1</e>
            <e type="operand">2</e>
            <e type="function" args="2">el</e>
            <e type="operand">P.2</e>
            <e type="operand">2</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">*</e>
            <e type="operand">P.1</e>
            <e type="operand">2</e>
            <e type="function" args="2">el</e>
            <e type="operand">P.2</e>
            <e type="operand">3</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">*</e>
            <e type="operand">P.1</e>
            <e type="operand">2</e>
            <e type="function" args="2">el</e>
            <e type="operand">P.2</e>
            <e type="operand">4</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">*</e>
            <e type="operand">P.1</e>
            <e type="operand">2</e>
            <e type="function" args="2">el</e>
            <e type="operand">P.2</e>
            <e type="operand">5</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">*</e>
            <e type="operand">P.1</e>
            <e type="operand">2</e>
            <e type="function" args="2">el</e>
            <e type="operand">P.2</e>
            <e type="operand">6</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">*</e>
            <e type="operand">1</e>
            <e type="operand">6</e>
            <e type="function" args="8">mat</e>
            <e type="function" args="1">sum</e>
            <e type="operator" args="2">:</e>
          </input>
          <result action="numeric">
            <e type="operand">0.225</e>
          </result>
        </math>
      </region>
      <region id="143" left="72" top="5499" width="512" height="30" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">B</e>
            <e type="function" args="1">φ</e>
          </input>
          <result action="numeric">
            <e type="operand">1</e>
            <e type="operand">1</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand">1</e>
            <e type="operand">3</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand">1</e>
            <e type="operand">4</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand">2</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand">2</e>
            <e type="operand">3</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand">3</e>
            <e type="operand">1</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand">3</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand">4</e>
            <e type="operand">1</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand">1</e>
            <e type="operand">10</e>
            <e type="function" args="12">mat</e>
          </result>
        </math>
      </region>
      <region id="144" left="72" top="5544" width="513" height="75" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">P.2SB</e>
            <e type="operand">P.1</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="operand">P.2</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">*</e>
            <e type="operand">P.1</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="operand">P.2</e>
            <e type="operand">2</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">*</e>
            <e type="operand">P.1</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="operand">P.2</e>
            <e type="operand">3</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">*</e>
            <e type="operand">P.1</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="operand">P.2</e>
            <e type="operand">4</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">*</e>
            <e type="operand">P.1</e>
            <e type="operand">2</e>
            <e type="function" args="2">el</e>
            <e type="operand">P.2</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">*</e>
            <e type="operand">P.1</e>
            <e type="operand">2</e>
            <e type="function" args="2">el</e>
            <e type="operand">P.2</e>
            <e type="operand">2</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">*</e>
            <e type="operand">P.1</e>
            <e type="operand">2</e>
            <e type="function" args="2">el</e>
            <e type="operand">P.2</e>
            <e type="operand">3</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">*</e>
            <e type="operand">P.1</e>
            <e type="operand">3</e>
            <e type="function" args="2">el</e>
            <e type="operand">P.2</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">*</e>
            <e type="operand">P.1</e>
            <e type="operand">3</e>
            <e type="function" args="2">el</e>
            <e type="operand">P.2</e>
            <e type="operand">2</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">*</e>
            <e type="operand">P.1</e>
            <e type="operand">4</e>
            <e type="function" args="2">el</e>
            <e type="operand">P.2</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">*</e>
            <e type="operand">2</e>
            <e type="operand">5</e>
            <e type="function" args="12">mat</e>
            <e type="function" args="1">sum</e>
            <e type="operator" args="2">:</e>
          </input>
          <result action="numeric">
            <e type="operand">0.3667</e>
          </result>
        </math>
      </region>
      <region id="145" left="72" top="5625" width="278" height="30" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">A</e>
            <e type="operand" style="unit">∩</e>
            <e type="operand">B</e>
            <e type="function" args="3">S</e>
            <e type="function" args="1">φ</e>
          </input>
          <result action="numeric">
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand">2</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand">2</e>
            <e type="operand">3</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand">1</e>
            <e type="operand">3</e>
            <e type="function" args="5">mat</e>
          </result>
        </math>
      </region>
      <region id="146" left="72" top="5661" width="377" height="42" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">P.2S∩</e>
            <e type="operand">P.1</e>
            <e type="operand">2</e>
            <e type="function" args="2">el</e>
            <e type="operand">P.2</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">*</e>
            <e type="operand">P.1</e>
            <e type="operand">2</e>
            <e type="function" args="2">el</e>
            <e type="operand">P.2</e>
            <e type="operand">2</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">*</e>
            <e type="operand">P.1</e>
            <e type="operand">2</e>
            <e type="function" args="2">el</e>
            <e type="operand">P.2</e>
            <e type="operand">3</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">*</e>
            <e type="operand">1</e>
            <e type="operand">3</e>
            <e type="function" args="5">mat</e>
            <e type="function" args="1">sum</e>
            <e type="operator" args="2">:</e>
          </input>
          <result action="numeric">
            <e type="operand">0.1275</e>
          </result>
        </math>
      </region>
      <region id="147" left="72" top="5715" width="146" height="53" border="true" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">P.B\007C\A</e>
            <e type="operand">P.2S∩</e>
            <e type="operand">P.2SB</e>
            <e type="operator" args="2">/</e>
            <e type="operator" args="2">:</e>
          </input>
          <result action="symbolic">
            <e type="operand">153</e>
            <e type="operand">440</e>
            <e type="operator" args="2">/</e>
          </result>
        </math>
      </region>
      <region id="148" left="252" top="5715" width="85" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
        <text lang="eng">
          <p>equals to</p>
        </text>
      </region>
      <region id="149" left="378" top="5715" width="185" height="54" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">A</e>
            <e type="operand" style="unit">∩</e>
            <e type="operand">B</e>
            <e type="function" args="3">S</e>
            <e type="function" args="1">P.2S</e>
            <e type="operand">B</e>
            <e type="function" args="1">P.2S</e>
            <e type="operator" args="2">/</e>
          </input>
          <result action="symbolic">
            <e type="operand">153</e>
            <e type="operand">440</e>
            <e type="operator" args="2">/</e>
          </result>
        </math>
      </region>
      <region id="150" top="5769" color="#000000" bgColor="#ffffff">
        <area terminator="true" />
      </region>
    </region>
    <region id="151" left="18" top="5796" width="60" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">Alvaro</e>
        </input>
      </math>
    </region>
  </regions>
</worksheet>