<?xml version="1.0" encoding="UTF-8"?>
<Worksheet>
<Version major="11" minor="1"/>
<Label-Scheme value="2" prefix=""/>
<View-Properties presentation="false"></View-Properties>
<MapleNet-Properties warnlevel="3" longdelim="true" plotoptions="" echo="1" errorcursor="false" elisiontermsthreshold="10000" elisiontermsbefore="100" errorbreak="1" prettyprint="3" prompt="&gt; " latexwidth="6.0" useclientjvm="true" ansi="false" screenheight="25" labelwidth="20" plotdevice="inline" typesetting="standard" displayprecision="-1" indentamount="4" elisiondigitsthreshold="10000" quiet="false" plotoutput="terminal" rtablesize="10" preplot="" showassumed="0" plotdriver="openviz" elisiontermsafter="100" labelling="true" postplot="" screenwidth="79" elisiondigitsbefore="100" elisiondigitsafter="100" verboseproc="1" imaginaryunit="I" ShowLabels="true"/>
<Styles><Font name="Heading 4" background="[255,255,255]" bold="true" 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="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="Left Justified 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="Help" background="[255,255,255]" bold="false" executable="false" family="Monospaced" foreground="[0,0,255]" italic="false" opaque="false" readonly="true" size="9" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Help Variable" background="[255,255,255]" bold="false" executable="false" family="Monospaced" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" 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="Diagnostic" background="[255,255,255]" bold="false" executable="false" family="Monospaced" foreground="[64,128,64]" italic="false" opaque="false" readonly="true" size="10" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="2D Math Italic Small201203204" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="true" opaque="false" readonly="false" size="1" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Help Bold" 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="Page Number" 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="2D Math Italic Small" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="true" opaque="false" readonly="false" size="1" 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="Help Nonterminal" background="[255,255,255]" bold="true" executable="false" family="Monospaced" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Default" 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="Normal" background="[255,255,255]" bold="false" executable="false" family="Monospaced" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Maple Comment" background="[255,255,255]" bold="true" executable="false" family="Monospaced" 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="[255,255,255]" 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="2D Math Small" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="1" 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="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="Help Fixed" background="[255,255,255]" bold="false" executable="false" family="Monospaced" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="10" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Heading 3" background="[255,255,255]" bold="true" 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="Popup" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,128,128]" italic="true" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="true" placeholder="false"/>
<Font name="Plot Title" background="[255,255,255]" bold="true" 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="2D Input" background="[255,255,255]" bold="false" executable="true" 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="Copyright" 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="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="false"/>
<Font name="2D Math Bold Small" background="[255,255,255]" bold="true" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="1" 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="Fixed Width" background="[255,255,255]" bold="false" executable="false" family="Monospaced" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="10" 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="10" subscript="false" superscript="false" underline="false" placeholder="false"/>
<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="Heading 1" 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="Help Notes" 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="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="true" placeholder="false"/>
<Font name="Help Underlined Bold" background="[255,255,255]" bold="true" 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="Hyperlink" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,128,128]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="true" placeholder="false"/>
<Font name="2D Math Symbol 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 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="Text Output" background="[255,255,255]" bold="false" executable="false" family="Monospaced" foreground="[0,0,255]" italic="false" opaque="false" readonly="true" size="10" 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="Equation Label" background="[255,255,255]" bold="true" executable="false" family="Monospaced" foreground="[0,0,0]" italic="false" 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="Heading 2" background="[255,255,255]" bold="true" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="14" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Plot Text" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="8" 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="2D Math Italic Small201" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="true" opaque="false" readonly="false" size="1" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Help Italic" background="[255,255,255]" 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="Help Heading" background="[255,255,255]" bold="true" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="14" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Output Labels" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="8" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Help Normal" 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="2D Comment" 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="Help Maple Name" background="[255,255,255]" bold="true" executable="false" family="Times New Roman" foreground="[104,64,92]" 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="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Dictionary Hyperlink" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[147,0,15]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="true" placeholder="false"/>
<Font name="Help Emphasized" background="[255,255,255]" 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="Help Italic Bold" background="[255,255,255]" 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="Help Menus" 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="LaTeX" 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="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="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="Prompt" background="[255,255,255]" bold="true" executable="false" family="Monospaced" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" 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="Help Underlined" 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="true" 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="10" 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="Help Underlined Italic" background="[255,255,255]" 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="true" placeholder="false"/>
<Font name="2D Math Italic Small201203" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="true" opaque="false" readonly="false" size="1" 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="10" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="2D Math Bold" 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="2D Math Italic" background="[255,255,255]" 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="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"/>
<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="Ordered List 5" alignment="left" bullet="none" firstindent="0" leftmargin="144" rightmargin="0" linespacing="0.0" spaceabove="3" spacebelow="3" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="Ordered List 1" alignment="left" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="3" spacebelow="3" linebreak="space" 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="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="Bullet Item" alignment="left" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="3" spacebelow="3" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="Left Justified Maple Output" 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="Help" 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="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="Diagnostic" 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="Ordered List 3" alignment="left" bullet="none" firstindent="0" leftmargin="72" rightmargin="0" linespacing="0.0" spaceabove="3" spacebelow="3" 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="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="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="Dash Item" alignment="left" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="3" spacebelow="3" 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="Ordered List 4" alignment="left" bullet="none" firstindent="0" leftmargin="108" rightmargin="0" linespacing="0.0" spaceabove="3" spacebelow="3" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="Maple Output" 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="List Item" alignment="left" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="3" spacebelow="3" 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="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="Fixed Width" 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="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="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="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="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="Ordered List 2" alignment="left" bullet="none" firstindent="0" leftmargin="36" rightmargin="0" linespacing="0.0" spaceabove="3" spacebelow="3" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<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 1" pen-color="[0,0,0]" pen-height="1.0" pen-width="1.0" pen-opacity="1.0"/>
<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 2" pen-color="[0,0,255]" pen-height="1.0" pen-width="1.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"/>
<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 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 1" pen-color="[255,153,255]" pen-height="12.0" pen-width="8.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>
<Page-Numbers enabled="false" first-number="1" first-numbered-page="1" horizontal-location="right" style="Page Number" vertical-location="bottom"/>
<Task-table>
    <Task-category name="&lt;default&gt;">
    </Task-category>
</Task-table>
<Annotation-table>
    <Annotation-category name="&lt;default&gt;">
    </Annotation-category>
</Annotation-table>
<Task>
</Task>
<Group labelreference="L122" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">restart:</Text-field>
</Input>
</Group>
<Group labelreference="L126" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">with(Maplets[Tools]): with(Maplets[Elements]): with(plots): with(plottools):
StartEngine();</Text-field>
</Input>
</Group>
<Group labelreference="L124" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">randomize():</Text-field>
</Input>
</Group>
<Group labelreference="L174" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L131" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">randa:=rand(-3..3):</Text-field>
</Input>
</Group>
<Group labelreference="L166" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">rand2:=rand(0..1):</Text-field>
</Input>
</Group>
<Group labelreference="L165" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">old:=[
[1,1], 
[3,4], [4,3], [6,8], [8,6], [9,12], [12,9], [12,16], [16,12], [15,20], [20,15],
[5,12], [10,24], [15,36], [36,15], [20,48], [48,20], [25,60], [60,25],
[7,24], [24,7], [14,48], [48,14], [8,15], [15,8], [16,30], [30,16],
[12,35], [35,12], [24,70], [70,24], [16,63], [63,16],
[20,21], [21,20], [40,42], [42,40], [28,45], [45,28], [33,56], [56,33],
[36,77], [77,36], [39,80], [80,39], [48,55], [55,48], [65,72], [72,65],
NULL
]:</Text-field>
</Input>
</Group>
<Group labelreference="L163" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">vecs:=[
[1,2,2], [3,4,12], [6,8,24], [9,12,36],
NULL
]:</Text-field>
</Input>
</Group>
<Group labelreference="L168" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">randvec:=rand(1..nops(vecs)):</Text-field>
</Input>
</Group>
<Group labelreference="L248" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L7" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" foreground="[51,153,0]" layout="Normal"><Font foreground="[51,153,0]">ask:=proc()
global pA,pB,pC,angleA,angleB,angleC,Area,VecAB, VecAC, MagAB, MagAC, DotprodA, EqA, VecBA, VecBC, MagBA, MagBC, DotprodB, EqB, VecCA, VecCB, MagCA, MagCB, DotprodC, EqC, crossX, crossY, crossZ,crossVEC, crossMAG, p1, p2, trianglepic;
local </Font><Font foreground="[255,0,0]">vAB, vAC, xmax, xmin, ymax, ymin, zmax, zmin, xwidth, ywidth, zwidth;</Font><Font foreground="[51,153,0]">

pA:=[</Font><Font foreground="[255,0,0]">randa()</Font><Font foreground="[51,153,0]">,</Font><Font foreground="[255,0,0]">randa()</Font><Font foreground="[51,153,0]">,</Font><Font foreground="[255,0,0]">randa</Font><Font foreground="[51,153,0]">()];</Font><Font foreground="[255,0,0]">
vAB:=combinat[randperm](zip(`*`,[(-1)^rand2(),(-1)^rand2(),(-1)^rand2()],vecs[randvec()]));
vAC:=combinat[randperm](zip(`*`,[(-1)^rand2(),(-1)^rand2(),(-1)^rand2()],vecs[randvec()]));
crossX:=vAB[2]*vAC[3]-vAB[3]*vAC[2];
crossY:=-(vAB[1]*vAC[3]-vAB[3]*vAC[1]);
crossZ:=(vAB[1]*vAC[2]-vAB[2]*vAC[1]);
while crossX=0 and crossY=0 and crossZ=0 do 
  vAC:=combinat[randperm](zip(`*`,[(-1)^rand2(),(-1)^rand2(),(-1)^rand2()],vecs[randvec()]));
  crossX:=vAB[2]*vAC[3]-vAB[3]*vAC[2];
  crossY:=-(vAB[1]*vAC[3]-vAB[3]*vAC[1]);
  crossZ:=(vAB[1]*vAC[2]-vAB[2]*vAC[1]);
end do;</Font><Font foreground="[51,153,0]">
pB:=pA+</Font><Font foreground="[255,0,0]">vAB</Font><Font foreground="[51,153,0]">;
pC:=pA</Font><Font foreground="[255,0,0]">+vAC;</Font><Font foreground="[51,153,0]">

Set(point1=pA);
Set(point2=pB);
Set(point3=pC);</Font><Font foreground="[255,0,0]">

Set(vectorAB=&quot;&quot;);
Set(vectorAC=&quot;&quot;);
Set(vectorBC=&quot;&quot;);

Set(lengthAB=&quot;&quot;);
Set(lengthAC=&quot;&quot;);
Set(lengthBC=&quot;&quot;);

Set(ABdotAC=&quot;&quot;);
Set(BAdotBC=&quot;&quot;);
Set(CAdotCB=&quot;&quot;);</Font><Font foreground="[51,153,0]">

Set(anglea=&quot;&quot;);
Set(angleb=&quot;&quot;);
Set(anglec=&quot;&quot;);

Set(cross=&quot;&quot;);
Set(area=&quot;&quot;);

#solve angle A
VecAB:=pB-pA;
VecAC:=pC-pA;
MagAB:=sqrt(VecAB[1]^2+VecAB[2]^2+VecAB[3]^2):
MagAC:=sqrt(VecAC[1]^2+VecAC[2]^2+VecAC[3]^2):
DotprodA:=VecAB[1]*VecAC[1]+VecAB[2]*VecAC[2]+VecAB[3]*VecAC[3]:
EqA:=DotprodA=MagAB*MagAC*cos(thetaA):
angleA:=evalf(solve(EqA,thetaA)*180/Pi):

#solve angle B
VecBA:=pA-pB:
VecBC:=pC-pB:
MagBA:=sqrt(VecBA[1]^2+VecBA[2]^2+VecBA[3]^2):
MagBC:=sqrt(VecBC[1]^2+VecBC[2]^2+VecBC[3]^2):
DotprodB:=VecBA[1]*VecBC[1]+VecBA[2]*VecBC[2]+VecBA[3]*VecBC[3]:
EqB:=DotprodB=MagBA*MagBC*cos(thetaB):
angleB:=evalf(solve(EqB,thetaB)*180/Pi):

#solve angle C
VecCA:=pA-pC:
VecCB:=pB-pC:
MagCA:=sqrt(VecCA[1]^2+VecCA[2]^2+VecCA[3]^2):
MagCB:=sqrt(VecCB[1]^2+VecCB[2]^2+VecCB[3]^2):
DotprodC:=VecCA[1]*VecCB[1]+VecCA[2]*VecCB[2]+VecCA[3]*VecCB[3]:
EqC:=DotprodC=MagCA*MagCB*cos(thetaC):
angleC:=evalf(solve(EqC,thetaC)*180/Pi):

#doing the cross product
crossX:=VecAB[2]*VecBC[3]-VecAB[3]*VecBC[2];
crossY:=-(VecAB[1]*VecBC[3]-VecAB[3]*VecBC[1]);
crossZ:=(VecAB[1]*VecBC[2]-VecAB[2]*VecBC[1]);
crossVEC:=[crossX,crossY,crossZ];

crossMAG:=sqrt(crossX^2+crossY^2+crossZ^2);

Area:=crossMAG/2;

#plot
xmax:=</Font><Font foreground="[255,0,0]">max(pA[1],pB[1],pC[1]): xmin:=min(pA[1],pB[1],pC[1]);</Font><Font foreground="[51,153,0]">
y</Font><Font foreground="[255,0,0]">max:=max(pA[2],pB[2],pC[2]): ymin:=min(pA[2],pB[2],pC[2]);</Font><Font foreground="[51,153,0]">
z</Font><Font foreground="[255,0,0]">max:=max(pA[3],pB[3],pC[3]): zmin:=min(pA[3],pB[3],pC[3]);</Font><Font foreground="[51,153,0]">
xwidth:=xmax-xmin;
ywidth:=ymax-ymin;
zwidth:=zmax-zmin;

</Font><Font foreground="[255,0,0]">p1:=spacecurve([pA,pB,pC,pA], color=red);
p2:=textplot3d({[pA[1],pA[2],pA[3],&quot; A&quot;],
                [pB[1],pB[2],pB[3],&quot; B&quot;],
                [pC[1],pC[2],pC[3],&quot; C&quot;]},
    font=[TIMES,BOLD,16], align=RIGHT, color=blue);
trianglepic:=display(p1,p2,
  view=[(min(pA[1],pB[1],pC[1])-.1*</Font><Font foreground="[51,153,0]">xwidth</Font><Font foreground="[255,0,0]">)..(max(pA[1],pB[1],pC[1])+.1*xwidth),
        (min(pA[2],pB[2],pC[2])-.1*ywidth)..(max(pA[2],pB[2],pC[2])+.1*ywidth),
        (min(pA[3],pB[3],pC[3])-.1*zwidth)..(max(pA[3],pB[3],pC[3])+.1*zwidth)],
  orientation=[30,75], axes=normal, tickmarks=[0,0,0], labels=[x,y,z], </Font><Font foreground="[0,0,255]">thickness=2);</Font><Font foreground="[51,153,0]">
Set(pic=trianglepic);

Set(reply=&quot;&quot;);
end proc:</Font></Text-field>
</Input>
</Group>
<Group labelreference="L227" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L228" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">check_vectorAB:=proc()
global VecAB;
local userAB;
userAB:=Get(vectorAB::anything):

if evalf(abs(userAB[1]-VecAB[1])&lt;=.01*abs(VecAB[1])) and
   evalf(abs(userAB[2]-VecAB[2])&lt;=.01*abs(VecAB[2])) and
   evalf(abs(userAB[3]-VecAB[3])&lt;=.01*abs(VecAB[3]))

   then Set('reply'=&quot;Correct!&quot;)
   else Set('reply'=&quot;Incorrect.  Try again.&quot;)
end if;
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L178" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">show_vectorAB:=proc()
global VecAB;
Set(vectorAB=VecAB);
Set(reply=&quot;Try doing it yourself next time&quot;)
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L148" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L181" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">check_vectorAC:=proc()
global VecAC;
local userAC;
userAC:=Get(vectorAC::anything):

if evalf(abs(userAC[1]-VecAC[1])&lt;=.01*abs(VecAC[1])) and
   evalf(abs(userAC[2]-VecAC[2])&lt;=.01*abs(VecAC[2])) and
   evalf(abs(userAC[3]-VecAC[3])&lt;=.01*abs(VecAC[3]))

   then Set('reply'=&quot;Correct!&quot;)
   else Set('reply'=&quot;Incorrect.  Try again.&quot;)
end if;
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L180" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">show_vectorAC:=proc()
global VecAC;
Set(vectorAC=VecAC);
Set(reply=&quot;Try doing it yourself next time&quot;)
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L149" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L183" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">check_vectorBC:=proc()
global VecBC;
local userBC;
userBC:=Get(vectorBC::anything):

if evalf(abs(userBC[1]-VecBC[1])&lt;=.01*abs(VecBC[1])) and
   evalf(abs(userBC[2]-VecBC[2])&lt;=.01*abs(VecBC[2])) and
   evalf(abs(userBC[3]-VecBC[3])&lt;=.01*abs(VecBC[3]))
   then Set('reply'=&quot;Correct!&quot;)
   else Set('reply'=&quot;Incorrect.  Try again.&quot;)
end if;
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L184" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">show_vectorBC:=proc()
global VecBC;
Set(vectorBC=VecBC);
Set(reply=&quot;Try doing it yourself next time&quot;)
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L150" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L198" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">check_lengthAB:=proc()
global MagAB;
local userLAB;
userLAB:=Get(lengthAB::anything):

if evalf(abs(userLAB-MagAB)&lt;.01*abs(MagAB))
   then Set('reply'=&quot;Correct!&quot;)
   else Set('reply'=&quot;Incorrect.  Try again.&quot;)
end if;
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L199" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">show_lengthAB:=proc()
global MagAB;
Set(lengthAB=MagAB);
Set(reply=&quot;Try doing it yourself next time&quot;)
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L151" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L201" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">check_lengthAC:=proc()
global MagAC;
local userLAC;
userLAC:=Get(lengthAC::anything):

if evalf(abs(userLAC-MagAC)&lt;.01*abs(MagAC))
   then Set('reply'=&quot;Correct!&quot;)
   else Set('reply'=&quot;Incorrect.  Try again.&quot;)
end if;
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L202" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">show_lengthAC:=proc()
global MagAC;
Set(lengthAC=MagAC);
Set(reply=&quot;Try doing it yourself next time&quot;)
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L152" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L205" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">check_lengthBC:=proc()
global MagBC;
local userLBC;
userLBC:=Get(lengthBC::anything):

if evalf(abs(userLBC-MagBC)&lt;.01*abs(MagBC))
   then Set('reply'=&quot;Correct!&quot;)
   else Set('reply'=&quot;Incorrect.  Try again.&quot;)
end if;
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L204" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">show_lengthBC:=proc()
global MagBC;
Set(lengthBC=MagBC);
Set(reply=&quot;Try doing it yourself next time&quot;)
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L190" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L209" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">check_ABdotAC:=proc()
global <Font foreground="[51,153,0]">DotprodA</Font>;
local userABAC;
userABAC:=Get(ABdotAC::anything):

if evalf(abs(userABAC-<Font foreground="[51,153,0]">DotprodA</Font>)&lt;=.01*abs(<Font foreground="[51,153,0]">DotprodA</Font>))
   then Set('reply'=&quot;Correct!&quot;)
   else Set('reply'=&quot;Incorrect.  Try again.&quot;)
end if;
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L212" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">show_ABdotAC:=proc()
global <Font foreground="[51,153,0]">DotprodA</Font>;
Set(ABdotAC=<Font foreground="[51,153,0]">DotprodA</Font>);
Set(reply=&quot;Try doing it yourself next time&quot;)
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L211" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L215" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">check_BAdotBC:=proc()
global <Font foreground="[51,153,0]">DotprodB</Font>;
local userBABC;
userBABC:=Get(BAdotBC::anything):

if evalf(abs(userBABC-<Font foreground="[51,153,0]">DotprodB</Font>)&lt;=.01*abs(<Font foreground="[51,153,0]">DotprodB</Font>))
   then Set('reply'=&quot;Correct!&quot;)
   else Set('reply'=&quot;Incorrect.  Try again.&quot;)
end if;
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L214" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">show_BAdotBC:=proc()
global <Font foreground="[51,153,0]">DotprodB</Font>;
Set(BAdotBC=<Font foreground="[51,153,0]">DotprodB</Font>);
Set(reply=&quot;Try doing it yourself next time&quot;)
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L216" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L218" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">check_CAdotCB:=proc()
global <Font foreground="[51,153,0]">DotprodC</Font>;
local userCACB;
userCACB:=Get(CAdotCB::anything):

if evalf(abs(userCACB-<Font foreground="[51,153,0]">DotprodC</Font>)&lt;=.01*abs(<Font foreground="[51,153,0]">DotprodC</Font>))
   then Set('reply'=&quot;Correct!&quot;)
   else Set('reply'=&quot;Incorrect.  Try again.&quot;)
end if;
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L217" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">show_CAdotCB:=proc()
global <Font foreground="[51,153,0]">DotprodC</Font>;
Set(CAdotCB=<Font foreground="[51,153,0]">DotprodC</Font>);
Set(reply=&quot;Try doing it yourself next time&quot;)
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L234" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"><Equation executable="true" style="2D Input" input-equation="" display="LUkjbWlHNiMvSSttb2R1bGVuYW1lRzYiSSxUeXBlc2V0dGluZ0dJKF9zeXNsaWJHRic2I1EhRic=">JSFH</Equation></Text-field>
</Input>
</Group>
<Group labelreference="L229" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">check_anglea:=proc()
global pA,pB,pC,angleA,angleB,angleC,Area;
local useranglea;
useranglea:=Get(anglea::anything):

if evalf(abs(useranglea-angleA)&lt;.01*abs(angleA))
   then Set('reply'=&quot;Correct!&quot;)
   else Set('reply'=&quot;Incorrect.  Try again.&quot;)
end if;
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L237" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">show_anglea:=proc()
global pA,pB,pC,angleA,angleB,angleC,Area;
Set(anglea=angleA);
Set(reply=&quot;Try doing it yourself next time&quot;)
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L231" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L236" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">check_angleb:=proc()
global pA,pB,pC,angleA,angleB,angleC,Area;
local userangleb;
userangleb:=Get(angleb::anything):

if evalf(abs(userangleb-angleB)&lt;.01*abs(angleB))
   then Set('reply'=&quot;Correct!&quot;)
   else Set('reply'=&quot;Incorrect.  Try again.&quot;)
end if;
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L233" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">show_angleb:=proc()
global pA,pB,pC,angleA,angleB,angleC,Area;
Set(angleb=angleB);
Set(reply=&quot;Try doing it yourself next time&quot;)
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L239" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L230" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">check_anglec:=proc()
global pA,pB,pC,angleA,angleB,angleC,Area;
local useranglec;
useranglec:=Get(anglec::anything):

if evalf(abs(useranglec-angleC)&lt;.01*abs(angleC))
   then Set('reply'=&quot;Correct!&quot;)
   else Set('reply'=&quot;Incorrect.  Try again.&quot;)
end if;
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L232" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">show_anglec:=proc()
global pA,pB,pC,angleA,angleB,angleC,Area;
Set(anglec=angleC);
Set(reply=&quot;Try doing it yourself next time&quot;)
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L238" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L235" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">check_area:=proc()
global pA,pB,pC,angleA,angleB,angleC,Area;
local userarea;
userarea:=Get(area::anything):

if evalf(abs(userarea-Area)&lt;.01*abs(Area))
   then Set('reply'=&quot;Correct!&quot;)
   else Set('reply'=&quot;Incorrect.  Try again.&quot;)
end if;
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L240" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">show_area:=proc()
global pA,pB,pC,angleA,angleB,angleC,Area;
Set(area=Area);
Set(reply=&quot;Try doing it yourself next time&quot;)
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L220" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L241" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" foreground="[255,102,0]" layout="Normal"><Font foreground="[255,102,0]">check_cross:=proc()
global crossVEC;
local usercross;
usercross:=Get(cross::anything):

if evalf(abs(usercross[1]-crossVEC[1])&lt;=.01*abs(crossVEC[1])) and
   evalf(abs(usercross[2]-crossVEC[2])&lt;=.01*abs(crossVEC[2])) and
   evalf(abs(usercross[3]-crossVEC[3])&lt;=.01*abs(crossVEC[3]))

   then Set('reply'=&quot;Correct!&quot;)
   else Set('reply'=&quot;Incorrect.  Try again.&quot;)
end if;
end proc:</Font></Text-field>
</Input>
</Group>
<Group labelreference="L242" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" foreground="[255,102,0]" layout="Normal"><Font foreground="[255,102,0]">show_cross:=proc()
global crossVEC;
Set(cross=crossVEC);
Set(reply=&quot;Try doing it yourself next time&quot;)
end proc:</Font></Text-field>
</Input>
</Group>
<Group labelreference="L243" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L244" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L245" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L246" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L219" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">hint_vectors:=proc()
Set(reply=&quot;A vector is the difference between its two endpoints.  PQ = Q - P  Remember QP = - PQ&quot;)
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L223" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">hint_mags:=proc()
Set(reply=&quot;Use the Pythagorean Thereom.&quot;)
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L221" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">hint_dots:=proc()
Set(reply=&quot;[a1,a2,a3] . [b1,b2,b3] = a1*b1+a2*b2+a3*b3 ... Remember AB is not the same as BA&quot;)
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L132" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">hint_angles:=proc()
Set(reply=&quot;Use the dot product. cos(alpha) = (AB . AC) / (|AB| |AC|)&quot;)
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L121" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">hint_area:=proc()
Set(reply=&quot;The area is half of the magnitude of the cross product of two adjacent vectors.&quot;)
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L247" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">hint_cross:=proc()
Set(reply=&quot;Compute a 3x3 determinant.  (Row 1: i, j, k.    Row 2: AB.    Row 3: AC.)&quot;)
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L118" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L37" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">Triangle:=Maplet(onstartup = RunWindow(MAIN),
Font[helv10](&quot;helvetica&quot;,10),
Window[MAIN]('title'=&quot;Triangles in 3-Space&quot;,
[
  [ Button(&quot;New Problem&quot;, Evaluate('function' = &quot;ask&quot;), background=magenta),
    HorizontalGlue(),
    Button(&quot;Quit&quot;,Shutdown(), background=pink)
  ],
  [ inset=0, spacing=0,
    [ valign=none, halign=none, border=true,
      caption=&quot;Consider the Triangle with Vertices:&quot;,
      [ halign=none, inset=0,
        &quot;A =&quot;,
        TextField[point1](width=9, editable=false, background=white),
        HorizontalGlue(),
        &quot;B =&quot;,
        TextField[point2](width=9, editable=false, background=white)
      ],
      [ halign=none, inset=0,
        HorizontalGlue(),
        &quot;C =&quot;,
        TextField[point3](width=9, editable=false, background=white),
        HorizontalGlue()
      ],
      [ halign=none,
        Plotter[pic](width=250,height=250)
      ]
    ],
    [ inset=0, spacing=0,
      BoxColumn( border=true,
        caption=&quot;Find the Side Vectors:     Answer in the form: [x,y,z]&quot;,
        [ halign=none, inset=0,
          &quot;AB =&quot;, TextField[vectorAB]('width'=8),
          HorizontalGlue(),
          Button(&quot;Check&quot;, Evaluate('function' = &quot;check_vectorAB&quot;), background=green),
          Button(&quot;Show&quot;, Evaluate('function' = &quot;show_vectorAB&quot;), background=yellow),
          Button(&quot;Hint&quot;, Evaluate('function' = &quot;hint_vectors&quot;), background=yellow)
        ],
        [ halign=none, inset=0,
          &quot;AC =&quot;, TextField[vectorAC]('width'=8),
          HorizontalGlue(),
          Button(&quot;Check&quot;, Evaluate('function' = &quot;check_vectorAC&quot;), background=green),
          Button(&quot;Show&quot;, Evaluate('function' = &quot;show_vectorAC&quot;), background=yellow),
          Button(&quot;Hint&quot;, Evaluate('function' = &quot;hint_vectors&quot;), background=yellow)
        ],
	[ halign=none, inset=0,
          &quot;BC =&quot;, TextField[vectorBC]('width'=8),
          HorizontalGlue(),
          Button(&quot;Check&quot;, Evaluate('function' = &quot;check_vectorBC&quot;), background=green),
          Button(&quot;Show&quot;, Evaluate('function' = &quot;show_vectorBC&quot;), background=yellow),
          Button(&quot;Hint&quot;, Evaluate('function' = &quot;hint_vectors&quot;), background=yellow)
        ]
      ),
      BoxColumn( border=true,
        caption=&quot;Compute each Dot Product:&quot;,
        [ halign=none, inset=0,
          &quot;AB . AC =&quot;, TextField[ABdotAC]('width'=7),
          HorizontalGlue(),
          Button(&quot;Check&quot;, Evaluate('function' = &quot;check_ABdotAC&quot;), background=green),
          Button(&quot;Show&quot;, Evaluate('function' = &quot;show_ABdotAC&quot;), background=yellow),
          Button(&quot;Hint&quot;, Evaluate('function' = &quot;hint_dots&quot;), background=yellow)
        ],
        [ halign=none, inset=0,
          &quot;BA . BC =&quot;, TextField[BAdotBC]('width'=7),
          HorizontalGlue(),
          Button(&quot;Check&quot;, Evaluate('function' = &quot;check_BAdotBC&quot;), background=green),
          Button(&quot;Show&quot;, Evaluate('function' = &quot;show_BAdotBC&quot;), background=yellow),
          Button(&quot;Hint&quot;, Evaluate('function' = &quot;hint_dots&quot;), background=yellow)
        ],
        [ halign=none, inset=0, 
          &quot;CA . CB =&quot;, TextField[CAdotCB]('width'=7),
          HorizontalGlue(),
          Button(&quot;Check&quot;, Evaluate('function' = &quot;check_CAdotCB&quot;), background=green),
          Button(&quot;Show&quot;, Evaluate('function' = &quot;show_CAdotCB&quot;), background=yellow),
          Button(&quot;Hint&quot;, Evaluate('function' = &quot;hint_dots&quot;), background=yellow)
        ]
      ),
      BoxColumn( border=true,
       <Font foreground="[255,102,51]"> caption=&quot;Find a Cross Product:     Answer in the form: [x,y,z]&quot;,
        [ halign=none, inset=0,
          &quot;AB x AC =&quot;, TextField[cross]('width'=9),
          Button(&quot;Check&quot;, Evaluate('function' = &quot;check_cross&quot;), background=green),
          Button(&quot;Show&quot;, Evaluate('function' = &quot;show_cross&quot;), background=yellow),
          Button(&quot;Hint&quot;, Evaluate('function' = &quot;hint_cross&quot;), background=yellow)</Font>
        ]
      )
    ],
    [ inset=0, spacing=0,
      BoxColumn( border=true,
        caption=&quot;Find the Magnitude of each Side:&quot;,
        [ halign=none, inset=0,
          &quot;|AB| =&quot;, TextField[lengthAB]('width'=7),
          HorizontalGlue(),
          Button(&quot;Check&quot;, Evaluate('function' = &quot;check_lengthAB&quot;), background=green),
          Button(&quot;Show&quot;, Evaluate('function' = &quot;show_lengthAB&quot;), background=yellow),
          Button(&quot;Hint&quot;, Evaluate('function' = &quot;hint_mags&quot;), background=yellow)
        ],
	[ halign=none, inset=0,
          &quot;|AC| =&quot;, TextField[lengthAC]('width'=7),
          HorizontalGlue(),
          Button(&quot;Check&quot;, Evaluate('function' = &quot;check_lengthAC&quot;), background=green),
          Button(&quot;Show&quot;, Evaluate('function' = &quot;show_lengthAC&quot;), background=yellow),
          Button(&quot;Hint&quot;, Evaluate('function' = &quot;hint_mags&quot;), background=yellow)
        ],
	[ halign=none, inset=0,
          &quot;|BC| =&quot;, TextField[lengthBC]('width'=7), 
          HorizontalGlue(),
          Button(&quot;Check&quot;, Evaluate('function' = &quot;check_lengthBC&quot;), background=green),
          Button(&quot;Show&quot;, Evaluate('function' = &quot;show_lengthBC&quot;), background=yellow),
          Button(&quot;Hint&quot;, Evaluate('function' = &quot;hint_mags&quot;), background=yellow)
        ]
      ),
      BoxColumn( border=true,
        caption=&quot;Find Each Angle&quot;,
        [ halign=none, inset=0,
          &quot;Angle  A  =&quot;, TextField[anglea]('width'=8),
          HorizontalGlue(),
          Button(&quot;Check&quot;, Evaluate('function' = &quot;check_anglea&quot;), background=green),
          Button(&quot;Show&quot;, Evaluate('function' = &quot;show_anglea&quot;), background=yellow),
          Button(&quot;Hint&quot;, Evaluate('function' = &quot;hint_angles&quot;), background=yellow)
        ],
	[ halign=none, inset=0,
          &quot;Angle  B  =&quot;, TextField[angleb]('width'=8),
          HorizontalGlue(),
          Button(&quot;Check&quot;, Evaluate('function' = &quot;check_angleb&quot;), background=green),
          Button(&quot;Show&quot;, Evaluate('function' = &quot;show_angleb&quot;), background=yellow),
          Button(&quot;Hint&quot;, Evaluate('function' = &quot;hint_angles&quot;), background=yellow)
        ],
	[ halign=none, inset=0,
          &quot;Angle  C  =&quot;, TextField[anglec]('width'=8),
          HorizontalGlue(),
          Button(&quot;Check&quot;, Evaluate('function' = &quot;check_anglec&quot;), background=green),
          Button(&quot;Show&quot;, Evaluate('function' = &quot;show_anglec&quot;), background=yellow),
          Button(&quot;Hint&quot;, Evaluate('function' = &quot;hint_angles&quot;), background=yellow)
        ]
      ),
      BoxColumn( border=true,
        caption=&quot;Find the Area&quot;,
        [ halign=none, inset=0,
          &quot;Area = &quot;, TextField[area]('width'=10),
          Button(&quot;Check&quot;, Evaluate('function' = &quot;check_area&quot;), background=green),
          Button(&quot;Show&quot;, Evaluate('function' = &quot;show_area&quot;), background=yellow),
          Button(&quot;Hint&quot;, Evaluate('function' = &quot;hint_area&quot;), background=yellow)
        ]
      )
    ]
  ],
  [ TextField['reply']('width'=70, editable=false, background=white)
  ],
  BoxRow('background'=&quot;#DDFFFF&quot;, 'inset'=0, 'spacing'=0,
    Label(&quot;Programmer: John Horn&quot;, 'font'=helv10),
    HorizontalGlue(),
    Label(&quot;Copyright 2008, P. Yasskin&quot;, 'font'=helv10)
  )
]    
)
):</Text-field>
</Input>
</Group>
<Group labelreference="L128" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">Maplets[Display]( Triangle );</Text-field>
</Input>
</Group>
<Group labelreference="L225" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
</Worksheet>
