<?xml version="1.0" encoding="UTF-8"?>
<Worksheet>
<Version major="13" minor="0"/>
<Label-Scheme value="2" prefix=""/>
<View-Properties presentation="false"></View-Properties>
<MapleNet-Properties elisiondigitsbefore="100" labelling="true" indentamount="4" elisiontermsthreshold="10000" ansi="false" errorbreak="1" useclientjvm="true" echo="1" imaginaryunit="I" labelwidth="20" plotdriver="openviz" elisiondigitsafter="100" plotoutput="terminal" rtablesize="10" elisiontermsbefore="100" elisiondigitsthreshold="10000" typesetting="standard" plotdevice="inline" verboseproc="1" showassumed="1" errorcursor="false" longdelim="true" plotoptions="" quiet="false" elisiontermsafter="100" screenwidth="79" preplot="[]" prettyprint="3" displayprecision="-1" warnlevel="3" screenheight="25" latexwidth="6.0" postplot="[]" prompt="&gt; " ShowLabels="true"/>
<Styles><Font name="Annotation Text" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Ordered List 1" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Ordered List 2" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Ordered List 3" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Ordered List 4" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Ordered List 5" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Annotation Title" background="[255,255,255]" bold="true" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="18" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Text Output" background="[255,255,255]" bold="false" executable="false" family="Monospaced" foreground="[0,0,255]" italic="false" opaque="false" readonly="true" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="_cstyle284" background="[0,0,0]" bold="true" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="_cstyle283" background="[0,0,0]" bold="true" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="_cstyle256" background="[0,0,0]" bold="true" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="_pstyle257" background="[0,0,0]" bold="true" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="24" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="_cstyle257" background="[0,0,0]" bold="true" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Dash Item" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Maple Input" background="[0,0,0]" bold="true" executable="true" family="Monospaced" foreground="[255,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="_pstyle256" background="[0,0,0]" bold="true" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="2D Output" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,255]" italic="false" opaque="false" readonly="true" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="HyperlinkError" background="[255,255,255]" bold="false" executable="false" family="Monospaced" foreground="[255,0,255]" italic="false" opaque="false" readonly="true" size="12" subscript="false" superscript="false" underline="true" placeholder="false"/>
<Font name="_cstyle258" background="[0,0,0]" bold="true" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="_cstyle259" background="[0,0,0]" bold="true" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Page Number" background="[0,0,0]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Bullet Item" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="_cstyle260" background="[0,0,0]" bold="true" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="_cstyle271" background="[0,0,0]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="true" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Author" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Warning" background="[255,255,255]" bold="false" executable="false" family="Monospaced" foreground="[0,0,255]" italic="false" opaque="false" readonly="true" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Maple Input Placeholder" background="[255,255,255]" bold="true" executable="true" family="Monospaced" foreground="[200,0,200]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="true"/>
<Font name="Code" background="[255,255,255]" bold="false" executable="false" family="Monospaced" foreground="[255,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Maple Plot" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Line Printed Output" background="[255,255,255]" bold="false" executable="false" family="Monospaced" foreground="[0,0,255]" italic="false" opaque="false" readonly="true" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Diagnostic" background="[255,255,255]" bold="false" executable="false" family="Monospaced" foreground="[40,120,40]" italic="false" opaque="false" readonly="true" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="2D Inert Output" background="[255,255,255]" bold="false" executable="true" family="Times New Roman" foreground="[144,144,144]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="_cstyle269" background="[0,0,0]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="true" opaque="false" readonly="false" size="10" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Normal" background="[0,0,0]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="_cstyle264" background="[0,0,0]" bold="true" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="_cstyle263" background="[0,0,0]" bold="true" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="_cstyle262" background="[0,0,0]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="true" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="_cstyle261" background="[0,0,0]" bold="true" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="_cstyle268" background="[0,0,0]" bold="true" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="_cstyle267" background="[0,0,0]" bold="true" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="_cstyle266" background="[0,0,0]" bold="true" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="_cstyle265" background="[0,0,0]" bold="true" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Hyperlink" background="[255,255,255]" bold="false" executable="false" family="Serif" foreground="[0,128,128]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="true" placeholder="false"/>
<Font name="Maple Output" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="_cstyle280" background="[0,0,0]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="true" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="2D Math" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="_cstyle281" background="[0,0,0]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="true" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="_cstyle282" background="[0,0,0]" bold="true" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="2D Input" background="[0,0,0]" bold="false" executable="false" family="Times New Roman" foreground="[255,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Header and Footer" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="10" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Title" background="[255,255,255]" bold="true" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="18" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Error" background="[255,255,255]" bold="false" executable="false" family="Monospaced" foreground="[255,0,255]" italic="false" opaque="false" readonly="true" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Heading 1" background="[0,0,0]" bold="true" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="18" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Text" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Equation Label" background="[255,255,255]" bold="true" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Heading 4" background="[255,255,255]" bold="false" executable="false" family="Serif" foreground="[0,0,0]" italic="true" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Heading 3" background="[255,255,255]" bold="true" executable="false" family="Serif" foreground="[0,0,0]" italic="true" opaque="false" readonly="false" size="14" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="HyperlinkWarning" background="[255,255,255]" bold="false" executable="false" family="Monospaced" foreground="[0,0,255]" italic="false" opaque="false" readonly="true" size="12" subscript="false" superscript="false" underline="true" placeholder="false"/>
<Font name="Heading 2" background="[255,255,255]" bold="true" executable="false" family="Serif" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="16" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="_cstyle273" background="[0,0,0]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="true" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Dictionary Hyperlink" background="[255,255,255]" bold="false" executable="false" family="Serif" foreground="[147,0,15]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="true" placeholder="false"/>
<Font name="_cstyle272" background="[0,0,0]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="true" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="_cstyle275" background="[0,0,0]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="true" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="_cstyle274" background="[0,0,0]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="true" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="_cstyle277" background="[0,0,0]" bold="true" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="_cstyle276" background="[0,0,0]" bold="true" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="List Item" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="_cstyle279" background="[0,0,0]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="true" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="_cstyle278" background="[0,0,0]" bold="true" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Layout name="Ordered List 1" alignment="left" bullet="numeric" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="3" spacebelow="3" linebreak="space" pagebreak-before="false" initial="-1" bulletsuffix=""/>
<Layout name="Ordered List 2" alignment="left" bullet="alphabetic" firstindent="0" leftmargin="36" rightmargin="0" linespacing="0.0" spaceabove="3" spacebelow="3" linebreak="space" pagebreak-before="false" initial="-1" bulletsuffix=""/>
<Layout name="Ordered List 3" alignment="left" bullet="roman" firstindent="0" leftmargin="72" rightmargin="0" linespacing="0.0" spaceabove="3" spacebelow="3" linebreak="space" pagebreak-before="false" initial="-1" bulletsuffix=""/>
<Layout name="Ordered List 4" alignment="left" bullet="ALPHABETIC" firstindent="0" leftmargin="108" rightmargin="0" linespacing="0.0" spaceabove="3" spacebelow="3" linebreak="space" pagebreak-before="false" initial="-1" bulletsuffix=""/>
<Layout name="Ordered List 5" alignment="left" bullet="ROMAN" firstindent="0" leftmargin="144" rightmargin="0" linespacing="0.0" spaceabove="3" spacebelow="3" linebreak="space" pagebreak-before="false" initial="-1" bulletsuffix=""/>
<Layout name="Author" alignment="centred" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="8" spacebelow="8" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="Warning" alignment="left" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="0" spacebelow="0" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="Annotation Title" alignment="centred" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="12" spacebelow="12" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="Maple Plot" alignment="centred" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="0" spacebelow="0" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="Line Printed Output" alignment="left" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="0" spacebelow="0" linebreak="any" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="Text Output" alignment="left" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="0" spacebelow="0" linebreak="newline" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="Diagnostic" alignment="left" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="0" spacebelow="0" linebreak="any" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="Normal" alignment="left" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="0" spacebelow="0" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="_pstyle257" alignment="left" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="8" spacebelow="4" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="Maple Output" alignment="centred" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.3" spaceabove="0" spacebelow="0" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="Dash Item" alignment="left" bullet="dash" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="3" spacebelow="3" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="_pstyle256" alignment="left" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="0" spacebelow="0" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="HyperlinkError" alignment="left" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="0" spacebelow="0" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="Error" alignment="left" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="0" spacebelow="0" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="Title" alignment="centred" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="12" spacebelow="12" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="Heading 1" alignment="left" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="8" spacebelow="4" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="Bullet Item" alignment="left" bullet="dot" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="3" spacebelow="3" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="Heading 4" alignment="left" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="0" spacebelow="0" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="Heading 3" alignment="left" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="0" spacebelow="0" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="Heading 2" alignment="left" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="8" spacebelow="2" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="HyperlinkWarning" alignment="left" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="0" spacebelow="0" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="List Item" alignment="left" bullet="indent" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="3" spacebelow="3" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Pencil-style name="Pencil 5" pen-color="[255,0,0]" pen-height="5.0" pen-width="5.0" pen-opacity="1.0"/>
<Pencil-style name="Pencil 4" pen-color="[0,0,255]" pen-height="3.0" pen-width="3.0" pen-opacity="1.0"/>
<Pencil-style name="Pencil 3" pen-color="[0,0,0]" pen-height="3.0" pen-width="3.0" pen-opacity="1.0"/>
<Pencil-style name="Pencil 2" pen-color="[0,0,255]" pen-height="1.0" pen-width="1.0" pen-opacity="1.0"/>
<Pencil-style name="Pencil 1" pen-color="[0,0,0]" pen-height="1.0" pen-width="1.0" pen-opacity="1.0"/>
<Highlighter-style name="Highlighter 2" pen-color="[255,204,0]" pen-height="14.0" pen-width="14.0" pen-opacity="0.8"/>
<Highlighter-style name="Highlighter 1" pen-color="[255,153,255]" pen-height="12.0" pen-width="8.0" pen-opacity="0.8"/>
<Highlighter-style name="Highlighter 4" pen-color="[0,255,255]" pen-height="32.0" pen-width="32.0" pen-opacity="0.8"/>
<Highlighter-style name="Highlighter 3" pen-color="[51,255,0]" pen-height="24.0" pen-width="24.0" pen-opacity="0.8"/>
<Highlighter-style name="Highlighter 5" pen-color="[255,255,0]" pen-height="48.0" pen-width="48.0" pen-opacity="0.8"/>
</Styles>
<Footer left-content="" center-content="" right-content="&amp;[Page]" left-image-scale-width="100" center-image-scale-width="100" right-image-scale-width="100" left-image-scale-height="100" center-image-scale-height="100" right-image-scale-height="100" date-format="2" selected-index="0" first-number="1" first-numbered-page="1"/>
<Task-table>
    <Task-category name="&lt;default&gt;">
    </Task-category>
</Task-table>
<Task>
</Task>
<Section collapsed="false" MultipleChoiceAnswerIndex="-1" MultipleChoiceRandomizeChoices="false" TrueFalseAnswerIndex="-1" EssayAnswerRows="5" EssayAnswerColumns="60"><Title>
<Text-field style="_pstyle257" layout="_pstyle257">Take Your Chances: Try the Monte Carlo Technique for Numerical Integration in Three Dimensions  </Text-field></Title>
<Text-field style="_pstyle256" layout="_pstyle256"><Font style="_cstyle269">Note: You may notice differences between this Maple worksheet and the equivalent Mathematica notebook. These differences were introduced to preserve the content of these modules and were necessary because of major functional differences between Maple and Mathematica.</Font><Font style="Normal">
</Font></Text-field>
<Section collapsed="true" MultipleChoiceAnswerIndex="-1" MultipleChoiceRandomizeChoices="false" TrueFalseAnswerIndex="-1" EssayAnswerRows="5" EssayAnswerColumns="60"><Title>
<Text-field style="Heading 1" layout="Heading 1">Introduction</Text-field></Title>
<Text-field style="Normal" layout="Normal">
OBJECTIVE: Learn the Monte Carlo method for approximating a multiple integral that cannot be integrated symbolically.

How can you use a game of chance to evaluate a multiple integral? That is just what you will do with this project. You will generate random points within a fixed region and then estimate the volume of the desired portion by considering the percentage of random points that fall within the boundaries of the desired portion. Since this will only estimate the exact volume, you will also explore the accuracy of this method.

In this module, you will notice the following warning &quot;<Font style="_cstyle284">Warning, unknown plot device</Font>&quot;. You can expect this because we disable some of the plotting features in order to speed up some of the numerically intense procedures.</Text-field>
<Text-field style="Normal" layout="Normal"></Text-field>
</Section>
<Section collapsed="true" MultipleChoiceAnswerIndex="-1" MultipleChoiceRandomizeChoices="false" TrueFalseAnswerIndex="-1" EssayAnswerRows="5" EssayAnswerColumns="60"><Title>
<Text-field style="_cstyle256" layout="Heading 1"><Font size="18">Technology Guidelines</Font></Text-field></Title>
<Text-field style="Normal" layout="Normal"></Text-field>
<Text-field style="Normal" layout="Normal">NOTE:  If you have just finished a worksheet, <Font style="_cstyle257">restart</Font> <Font style="_cstyle271">Maple</Font> before executing a new worksheet.
TO OPEN SECTIONS, 
  Click on the <Font style="_cstyle258">Arrow</Font> sign at the left hand side of the screen <Font style="_cstyle262">or</Font> select <Font style="_cstyle260">Expand All Sections</Font> from the <Font style="_cstyle261">View</Font> drop down menu.</Text-field>
<Text-field style="Normal" layout="Normal">TO STOP AN EXECUTION
  Click on <Font style="_cstyle259">STOP</Font> button from the toolbar.</Text-field>
<Text-field style="Normal" layout="Normal">ORDER OF EXECUTION
  Execute commands in the order given. Do not skip any <Font style="_cstyle272">Maple</Font> Input lines within a given worksheet</Text-field>
<Text-field style="Normal" layout="Normal">  Alternatively, you can execute the entire worksheet by selecting the <Font style="_cstyle263">Execute Worksheet </Font>command from the <Font style="_cstyle264">Edit</Font> drop down menu.</Text-field>
<Text-field style="Normal" layout="Normal">SAVING WORKSHEETS.</Text-field>
<Text-field style="Normal" layout="Normal">  You can save anytime to any directory you choose, and it is wise to save often. 
EXPERIENCING MAJOR PROBLEMS
 Save if appropriate, and then shut down <Font style="_cstyle273">Maple</Font> and start it up again.</Text-field>
<Text-field style="Normal" layout="Normal"> </Text-field>
</Section>
<Section collapsed="true" MultipleChoiceAnswerIndex="-1" MultipleChoiceRandomizeChoices="false" TrueFalseAnswerIndex="-1" EssayAnswerRows="5" EssayAnswerColumns="60"><Title>
<Text-field style="Heading 1" layout="Heading 1">Part I: The Monte Carlo Method</Text-field></Title>
<Text-field style="Normal" layout="Normal"></Text-field>
<Text-field style="Normal" layout="Normal">The Monte Carlo method is an example of a numerical integration technique. In this method, the volume under a surface is completely enclosed in a rectangular box and points within that box are randomly selected . The number of points that land under the surface is determined and the volume under the surface is approximated as the percentage of generated points that lying under the surface times the volume of the entire box. In the example that follows, 1000 random points are generated to estimate the volume. Note that the sample function used here cannot be integrated symbolically, so we are using <Font style="_cstyle274">Maple's</Font> numerical integrator, a different approximation technique, to come up with an answer we expect to be close to the actual one. 
</Text-field>
<Text-field style="Normal" layout="Normal">A special function <Font style="_cstyle265">Random(a, b)</Font> was created for this worksheet. The first argument <Font style="_cstyle266">a</Font> and <Font style="_cstyle267">b</Font> specifies the range of the random number to be generated. The following commands in this section will make the dimensions of the box selected 2 by 3 by 1, giving a volume of 6. When applying a function of your own to this procedure, be certain to construct carefully the box in which you enclose your desired volume. In choosing a function, be careful to choose one that is not negative in the specified domain and note that you are finding the volume between the surface and the <Font style="_cstyle275">x-y</Font> plane. We define the function and specify the region over which we will generate points and also look at the graph of the function and the region.

Once the graph is plotted, click and drag the plot to view it from different angles. You can do this for all 3D plots.
</Text-field>
<Group labelreference="L2">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">plotsetup(default);</Text-field>
</Input>
</Group>
<Group labelreference="L3">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">restart:
f:=(x,y)-&gt;exp(-2*x^2-y^2):
xmin:=0:
xmax:=1.5:
ymin:=0:
ymax:=2:
zmin:=0:
zmax:=1:
pf:=plot3d(f,xmin..xmax,ymin..ymax,view=zmin..zmax,axes=boxed,
orientation=[-61,40],grid=[15,15]):plots[display](pf);
actualf:=evalf(Int(Int(f(x,y),x=xmin..xmax),y=ymin..ymax)):
print(` actual volume = `,actualf);</Text-field>
</Input>
</Group>
<Group labelreference="L4">
<Input>
<Text-field style="Normal" layout="Normal">
Now we will generate random points in our specified region and check to see whether or not they are under our surface. The points in <Font style="_cstyle276">listin</Font> are under the surface in the volume we are computing, and they will be plotted in red. The points in <Font style="_cstyle277">listout</Font> are not under the surface, and they will be plotted in black. </Text-field>
<Text-field style="Normal" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L5">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">numberofpoints:=1000:
volumeofbox:=(xmax-xmin)*(ymax-ymin)*(zmax-zmin):
count:=0:
listin:=[]:
listout:=[]:
Random:=proc(a, b)
evalf(rand(ceil(a*10^Digits)..floor(b*10^Digits))()/10^Digits);
end:
for i from 1 to numberofpoints do
 x:=Random(xmin,xmax):
 y:=Random(ymin,ymax):
 z:=Random(zmin,zmax):
  if z &lt; evalf(f(x,y)) then 
    listin:=[op(listin),[x,y,z]]: 
    count:= count + 1:
   else listout:=[op(listout),[x,y,z]] 
  fi:
od:
pout:=plots[pointplot3d](listout, symbol=POINT, color=black):
pin:=plots[pointplot3d](listin,symbol=POINT,color=red):
plots[display](pin, pout, pf);
print(` actual = `, actualf);
estimate:= evalf(volumeofbox*count/numberofpoints):
print(` estimate = `, estimate);
Error:= estimate - actualf:
print(` error = `, Error);
percenterror:= Error / actualf:
print(` relative error = `, percenterror);</Text-field>
</Input>
</Group>
<Group labelreference="L6">
<Input>
<Text-field style="Normal" layout="Normal"></Text-field>
<Text-field style="Normal" layout="Normal">How does your error compare to that of one of your classmates or to a second calculation you produce? Note what happens when you increase the number of points you use for the calculation.</Text-field>
<Text-field style="Normal" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L7">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">numberofpoints:=3000:
volumeofbox:=(xmax-xmin)*(ymax-ymin)*(zmax-zmin):
count:=0:
listin:=[]:
listout:=[]:
Random:=proc(a, b)
evalf(rand(ceil(a*10^Digits)..floor(b*10^Digits))()/10^Digits);
end:
for i from 1 to numberofpoints do
 x:=Random(xmin,xmax):
 y:=Random(ymin,ymax):
 z:=Random(zmin,zmax):
  if z &lt; f(x,y) then 
    listin:=[op(listin),[x,y,z]]: 
    count:= count + 1:
   else listout:=[op(listout),[x,y,z]] 
  fi:
od:
pout:=plots[pointplot3d](listout,symbol=POINT,color=black):
pin:=plots[pointplot3d](listin,symbol=POINT,color=red):
plots[display](pin, pout, pf);
print(` actual = `, actualf);
estimate:= evalf(volumeofbox*count/numberofpoints):
print(` estimate = `, estimate);
Error:= estimate - actualf:
print(` error = `, Error);
relativwerror:= Error / actualf:
print(` relative error = `, relativeerror);</Text-field>
</Input>
</Group>
<Group labelreference="L8">
<Input>
<Text-field style="Normal" layout="Normal">
Does this method seem very accurate?  We will analyze the error involved in such an approximation.</Text-field>
<Text-field style="Normal" layout="Normal"></Text-field>
</Input>
</Group>
</Section>
<Section collapsed="true" MultipleChoiceAnswerIndex="-1" MultipleChoiceRandomizeChoices="false" TrueFalseAnswerIndex="-1" EssayAnswerRows="5" EssayAnswerColumns="60"><Title>
<Text-field style="Heading 1" layout="Heading 1">You Try It: Part I</Text-field></Title>
<Text-field style="Normal" layout="Normal"></Text-field>
<Text-field style="Normal" layout="Normal">Choose your own function; just remember to make it nonnegative over the region of integration. The only commands you need to enter in the following template are your function and minimum and maximum values for each of your variables (leave your <Font style="_cstyle278">zmin</Font> at 0). Then simply execute the rest of the worksheet, excluding the first cell that defined the function used above. 
</Text-field>
<Text-field style="Normal" layout="Normal">You should realize that the bigger your rectangular region, the more points you will need to generate to get an answer that is reasonably accurate. Why?
</Text-field>
<Text-field style="Normal" layout="Normal">We will begin by plotting the function and letting <Font style="_cstyle279">Maple</Font> estimate the volume between the surface and the<Font style="_cstyle281"> xy</Font>-plane over the domain specified. Be sure to stay above the <Font style="_cstyle280">xy</Font>-plane.</Text-field>
<Text-field style="Normal" layout="Normal"></Text-field>
<Group labelreference="L9">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">unassign('x,y'):
g:=(x,y)-&gt;sin(x-y)^2:
xmin:=-4:
xmax:=4:
ymin:=0:
ymax:=3:
zmin:=0:
zmax:=1:
pf:=plot3d(g,xmin..xmax,ymin..ymax,view=zmin..zmax,axes=boxed,
orientation=[-61,40],grid=[20,20],orientation=[55,72]):
plots[display](pf);
actualg:=evalf(Int(Int(g(x,y),x=xmin..xmax),y=ymin..ymax)):
actual_volume := actualg;</Text-field>
</Input>
</Group>
<Group labelreference="L10">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">numberofpoints:=1000:
volumeofbox:=(xmax-xmin)*(ymax-ymin)*(zmax-zmin):
count:=0:
listin:=[]:
listout:=[]:
Random:=proc(a, b)
evalf(rand(ceil(a*10^Digits)..floor(b*10^Digits))()/10^Digits);
end:
for i from 1 to numberofpoints do
 x:=Random(xmin,xmax):
 y:=Random(ymin,ymax):
 z:=Random(zmin,zmax):
  if z &lt; evalf(g(x,y)) then 
    listin:=[op(listin),[x,y,z]]: 
    count:= count + 1:
   else listout:=[op(listout),[x,y,z]] 
  fi:
od:
pout:=plots[pointplot3d](listout,symbol=POINT,color=black):
pin:=plots[pointplot3d](listin,symbol=POINT,color=red):
plots[display](pin, pout, pf);
print(` actual = `, actualg);
estimate:= evalf(volumeofbox*count/numberofpoints):
print(` estimate = `, estimate);
Error:= estimate - actualg:
print(` error = `, Error);
relativeerror:= Error / actualg:
print(` relative error = `, relativeerror);</Text-field>
</Input>
</Group>
</Section>
<Section collapsed="true" MultipleChoiceAnswerIndex="-1" MultipleChoiceRandomizeChoices="false" TrueFalseAnswerIndex="-1" EssayAnswerRows="5" EssayAnswerColumns="60"><Title>
<Text-field style="Heading 1" layout="Heading 1">Part II: Error Analysis</Text-field></Title>
<Text-field style="Normal" layout="Normal"></Text-field>
<Text-field style="Normal" layout="Normal">In this part, we follow the procedure above with 500 points; then, we repeat that procedure 200 times and look at the pattern of the errors. Because of the many steps involved, this computation may take several minutes.</Text-field>
<Text-field style="Normal" layout="Normal"></Text-field>
<Group labelreference="L11">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">plotsetup(gdi):
symbol=POINT,
unassign('x,y,z'):
numberofpoints:=500:
repeat:=200:
xmin:=0:
xmax:=1.5:
ymin:=0:
ymax:=2:
zmin:=0:
zmax:=1:
count:=0:
volumeofbox:=(xmax-xmin)*(ymax-ymin)*(zmax-zmin): 
errorlist:=[]:
#actual:=evalf(Int(Int(f(x,y),x=xmin..xmax),y=ymin..ymax)):
print(` actual = `, actualf);
Random:=proc(a, b)
evalf(rand(ceil(a*10^Digits)..floor(b*10^Digits))()/10^Digits);
end:
for i from 1 to repeat do
 count:=0;
 for j from 1 to numberofpoints do
  x:=Random(xmin,xmax):
  y:=Random(ymin,ymax):
  z:=Random(zmin,zmax):
  if z &lt; evalf(f(x,y)) then count:= count + 1: fi:
 od:
  estimate:= evalf(volumeofbox*count/numberofpoints):
  Error:= estimate - actualf:
  errorlist:=[op(errorlist),Error]:
od:
percenterrorlist:=errorlist/actualf:
plotsetup(default):
plots[pointplot]([seq([i,percenterrorlist[i]],i=1..repeat)],connect=true);
</Text-field>
</Input>
</Group>
<Group labelreference="L12">
<Input>
<Text-field style="Normal" layout="Normal">
Look at the pattern of your errors. These are referred to as random errors, and they should usually be centered around 0 and should show no particular pattern. We can order them and look at that picture as well.
</Text-field>
</Input>
</Group>
<Group labelreference="L13">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">sortlist:=sort(percenterrorlist):
plots[pointplot]([seq([i,sortlist[i]],i=1..repeat)],connect=true);</Text-field>
</Input>
</Group>
<Group labelreference="L14">
<Input>
<Text-field style="Normal" layout="Normal">
You should run this again, increasing the number of repeats and/or the number of points to see what happens to the errors. Which will decrease your error size?
</Text-field>
</Input>
</Group>
</Section>
<Section collapsed="true" MultipleChoiceAnswerIndex="-1" MultipleChoiceRandomizeChoices="false" TrueFalseAnswerIndex="-1" EssayAnswerRows="5" EssayAnswerColumns="60"><Title>
<Text-field style="Heading 1" layout="Heading 1">You Try It: Part II</Text-field></Title>
<Text-field style="Normal" layout="Normal"></Text-field>
<Text-field style="Normal" layout="Normal">You can extend the problem you began in the previous <Font style="_cstyle268">You Try It</Font> section by analyzing your <Font style="_cstyle282">errorlist</Font> when you repeat the Monte Carlo method with 500 points being generated each of 100 times. Be patient.</Text-field>
<Text-field style="Normal" layout="Normal"></Text-field>
<Group labelreference="L15">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">numberofpoints:=500:
repeat:=100:
g:=(x,y)-&gt;sin(x-y)^2:
xmin:=-4:
xmax:=4:
ymin:=0:
ymax:=3:
zmin:=0:
zmax:=1:
volumeofbox:=(xmax-xmin)*(ymax-ymin)*(zmax-zmin):
errorlist:=[]:
print(` actual = `, actualg);
count:=0:
Random:=proc(a, b)
evalf(rand(ceil(a*10^Digits)..floor(b*10^Digits))()/10^Digits);
end:
for i from 1 to repeat do
 count:=0:
 for j from 1 to numberofpoints do
  x:=Random(xmin,xmax):
  y:=Random(ymin,ymax):
  z:=Random(zmin,zmax):
  if z &lt; evalf(g(x,y)) then count:= count + 1: fi:
 od:
  estimate:= evalf(volumeofbox*count/numberofpoints):
  Error:= estimate - actualg:
  errorlist:=[op(errorlist),Error]:
od:
percenterrorlist:= errorlist/actualg:
plots[pointplot]([seq([i,percenterrorlist[i]],i=1..repeat)],
connect=true);
plotsetup(default):</Text-field>
</Input>
</Group>
<Group labelreference="L17">
<Input>
<Text-field style="Normal" layout="Normal">
Are your errors centerd around 0? If not, there may be a mistake here.
</Text-field>
<Text-field style="Normal" layout="Normal">See what happens to the range of your errors when you increase the <Font style="_cstyle283">numberofpoints</Font> command above.
</Text-field>
</Input>
</Group>
<Group labelreference="L19" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"><Equation executable="false" style="2D Input" input-equation="" display="LUklbXJvd0c2Iy9JK21vZHVsZW5hbWVHNiJJLFR5cGVzZXR0aW5nR0koX3N5c2xpYkdGJzYmLUkjbWlHRiQ2I1EhRicvJStmb3JlZ3JvdW5kR1EoWzAsMCwwXUYnLyUrYmFja2dyb3VuZEdRLlsyNTUsMjU1LDI1NV1GJy8lLG1hdGh2YXJpYW50R1Enbm9ybWFsRic=">JSFH</Equation></Text-field>
</Input>
</Group>
<Group labelreference="L18" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"><Equation executable="false" style="2D Input" input-equation="" display="LUklbXJvd0c2Iy9JK21vZHVsZW5hbWVHNiJJLFR5cGVzZXR0aW5nR0koX3N5c2xpYkdGJzYmLUkjbWlHRiQ2I1EhRicvJStmb3JlZ3JvdW5kR1EoWzAsMCwwXUYnLyUrYmFja2dyb3VuZEdRLlsyNTUsMjU1LDI1NV1GJy8lLG1hdGh2YXJpYW50R1Enbm9ybWFsRic=">JSFH</Equation></Text-field>
</Input>
</Group>
</Section>
</Section>
<Text-field superscript="false" placeholder="false" executable="false" selection-placeholder="false" italic="false" size="12" bold="false" subscript="false" family="Times New Roman" opaque="false" underline="false" background="[255,255,255]" readonly="false" foreground="[0,0,0]" alignment="left" firstindent="0" spacebelow="0" leftmargin="0" linespacing="0.0" initial="0" linebreak="space" rightmargin="0" bulletsuffix="" spaceabove="0" bullet="none" pagebreak-before="false"></Text-field>
</Worksheet>