<?xml version="1.0" encoding="UTF-8"?>
<Worksheet>
<Version major="7" minor="0"/>
<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="1" 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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<Font name="Normal" background="[255,255,255]" bold="false" executable="false" family="Arial" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="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"/>
<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"/>
<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"/>
<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"/>
<Font name="R3 Font 2" 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"/>
<Font name="Heading 3" background="[255,255,255]" bold="true" executable="false" family="Arial" foreground="[0,0,0]" italic="true" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<Font name="Heading 1" background="[255,255,255]" bold="true" executable="false" family="Arial" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="18" subscript="false" superscript="false" underline="false"/>
<Font name="Title" background="[255,255,255]" bold="true" executable="false" family="Arial" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="18" subscript="false" superscript="false" underline="true"/>
<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"/>
<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"/>
<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"/>
<Font name="2D Math Symbol 2" background="[255,255,255]" bold="false" executable="false" family="SymbolPi" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="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"/>
<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"/>
<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"/>
<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"/>
<Font name="Heading 2" background="[255,255,255]" bold="true" executable="false" family="Arial" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="14" subscript="false" superscript="false" underline="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"/>
<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"/>
<Font name="R3 Font 0" background="[255,255,255]" bold="true" executable="false" family="Arial" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<Layout name="Left Justified Maple Output" alignment="left" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.5" spaceabove="0" spacebelow="0" linebreak="space" pagebreak-before="false" initial="0"/>
<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"/>
<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"/>
<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"/>
<Layout name="Heading 2" alignment="left" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="4" spacebelow="4" linebreak="space" pagebreak-before="false" initial="0"/>
<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"/>
<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"/>
<Layout name="R3 Font 0" alignment="left" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="0" spacebelow="0" linebreak="space" pagebreak-before="false" initial="0"/>
<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"/>
<Layout name="R3 Font 2" alignment="left" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="0" spacebelow="0" linebreak="space" pagebreak-before="false" initial="0"/>
<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"/>
<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"/>
<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"/>
<Layout name="Maple Output" alignment="centred" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.5" spaceabove="0" spacebelow="0" linebreak="space" pagebreak-before="false" initial="0"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<Layout name="Heading 1" alignment="left" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="6" spacebelow="6" linebreak="space" pagebreak-before="false" initial="0"/>
<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"/>
<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"/>
<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>
<Group labelreference="L2" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">restart;</Text-field>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">with(plots):</Text-field>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">with(DEtools):</Text-field>
</Input>
</Group>
<Group labelreference="L3" drawlabel="true">
<Input>
<Text-field style="Title" layout="Title">Numerical Methods<Font family="Arial" bold="true" style="Text" size="18">, <Font underline="true">Scalar Equation</Font></Font></Text-field>
</Input>
</Group>
<Group labelreference="L4" drawlabel="true">
<Input>
<Text-field style="Normal" layout="Normal">The worksheet applies the three numerical methods, Euler, Improved Euler, and Runge-Kutta, to a scalar differential equation.</Text-field>
</Input>
</Group>
<Group labelreference="L5" drawlabel="true">
<Input>
<Text-field style="Normal" layout="Normal">The function, <Equation executable="false" style="2D Comment" input-equation="Typesetting:-mrow(Typesetting:-mi(&quot;f&quot;))">LUklbXJvd0c2Iy9JK21vZHVsZW5hbWVHNiJJLFR5cGVzZXR0aW5nR0koX3N5c2xpYkdGJzYjLUkjbWlHRiQ2OVEiZkYnLyUnZmFtaWx5R1EwVGltZXN+TmV3flJvbWFuRicvJSVzaXplR1EjMTJGJy8lJWJvbGRHUSZmYWxzZUYnLyUnaXRhbGljR1EldHJ1ZUYnLyUqdW5kZXJsaW5lR0Y3LyUqc3Vic2NyaXB0R0Y3LyUsc3VwZXJzY3JpcHRHRjcvJStmb3JlZ3JvdW5kR1EoWzAsMCwwXUYnLyUrYmFja2dyb3VuZEdRLlsyNTUsMjU1LDI1NV1GJy8lJ29wYXF1ZUdGNy8lK2V4ZWN1dGFibGVHRjcvJSlyZWFkb25seUdGNy8lKWNvbXBvc2VkR0Y3LyUqY29udmVydGVkR0Y3LyUraW1zZWxlY3RlZEdGNy8lLHBsYWNlaG9sZGVyR0Y3LyUwZm9udF9zdHlsZV9uYW1lR1ErMkR+Q29tbWVudEYnLyUqbWF0aGNvbG9yR0ZDLyUvbWF0aGJhY2tncm91bmRHRkYvJStmb250ZmFtaWx5R0YxLyUsbWF0aHZhcmlhbnRHUSdpdGFsaWNGJy8lKW1hdGhzaXplR0Y0</Equation>, that is the right-hand side of the differential equation</Text-field>
</Input>
</Group>
<Group labelreference="L6" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">f := (t,y) -&gt; y*(1-y^2);</Text-field>
</Input>
</Group>
<Group labelreference="L7" drawlabel="true">
<Input>
<Text-field style="Text" family="Arial" italic="true" layout="Normal"><Font family="Arial" italic="true">The stepsize</Font></Text-field>
</Input>
</Group>
<Group labelreference="L8" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">h := 0.1;</Text-field>
</Input>
</Group>
<Group labelreference="L9" drawlabel="true">
<Input>
<Text-field style="Normal" layout="Normal">The initial condition</Text-field>
</Input>
</Group>
<Group labelreference="L10" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">T[0] := 0.0; Y[0] := 2.0;</Text-field>
</Input>
</Group>
<Group labelreference="L11" drawlabel="true">
<Input>
<Text-field style="Normal" layout="Normal">The slope at the initial point (x=1,  y=4.0) is</Text-field>
</Input>
</Group>
<Group labelreference="L12" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">f( T[0], Y[0] );</Text-field>
</Input>
</Group>
<Group labelreference="L13" drawlabel="true">
<Input>
<Text-field style="Normal" layout="Normal">The approximate value of the solution at the first point  (t=0.1)  is approximated to be</Text-field>
</Input>
</Group>
<Group labelreference="L14" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">T[1] := T[0] + h:
Y[1] := Y[0] + h*f( T[0], Y[0] ):
printf(`\t t=%1.1f \t y=%1.4f\t k=%1.4f`,T[1], Y[1], f(T[1],Y[1]));</Text-field>
</Input>
</Group>
<Group labelreference="L15" drawlabel="true">
<Input>
<Text-field style="Normal" layout="Normal">Repeating the same steps four more times yields to give the first five steps:</Text-field>
</Input>
</Group>
<Group labelreference="L16" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">T[2] := T[1] + h:
Y[2] := Y[1] + h*f( T[1], Y[1] ):
printf(`\t t=%1.1f \t y=%1.4f \t k=%1.4f`,T[2], Y[2],f(T[2],Y[2]));</Text-field>
</Input>
</Group>
<Group labelreference="L17" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">T[3] := T[2] + h:
Y[3] := Y[2] + h*f( T[2], Y[2]):
printf(`\t t=%1.1f \t y=%1.4f \t k=%1.4f`,T[3], Y[3], f(T[3],Y[3]));</Text-field>
</Input>
</Group>
<Group labelreference="L18" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">T[4] := T[3] + h:
Y[4] := Y[3] + h*f(T[3],Y[3]):
printf(`\t t=%1.1f \t y=%1.4f \t k=%1.4f`,T[4], Y[4], f(T[4],Y[4]));</Text-field>
</Input>
</Group>
<Group labelreference="L19" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">T[5] := T[4] + h:
Y[5] := Y[4] + h*f(T[4],Y[4]):
printf(`\t t=%1.1f \t y=%1.4f \t k=%1.4f`, T[5], Y[5], f(T[5],Y[5]));</Text-field>
</Input>
</Group>
<Group labelreference="L20" drawlabel="true">
<Input>
<Text-field style="Normal" layout="Normal">Combining the solutions into a table and calculating 10 terms up to  t=1.0</Text-field>
</Input>
</Group>
<Group labelreference="L21" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">h := 0.1:
N := 10:
T[0] := 0.0:
Y[0] := 2.0:
printf(` \t Euler method\n`);
printf(`  t_n \t  y_n \t k_n\n`);

for n from 0 to N do 
  K[n] := f(T[n],Y[n]):
  printf(` % 1.2f \t%1.5f \t%01.5f \n`,T[n], Y[n],K[n]);
  T[n+1] := T[n] +h:
  Y[n+1] := Y[n] + h * K[n]:
od:</Text-field>
</Input>
</Group>
<Group labelreference="L22" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L23" drawlabel="true">
<Input>
<Text-field style="Normal" layout="Normal">To understand what has just been computed, let's look at some plots. First, create the direction field for this problem.</Text-field>
</Input>
</Group>
<Group labelreference="L24" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">ODE := diff( y(t), t ) = y(t)*(1-y(t)^2);</Text-field>
</Input>
</Group>
<Group labelreference="L25" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">dir_plot := DEplot( ODE, y, t=0..1,[[y(0)=2]],linecolour=CYAN, y=1..2 ):</Text-field>
</Input>
</Group>
<Group labelreference="L26" drawlabel="true">
<Input>
<Text-field style="Normal" layout="Normal">The points computed in Euler's Method can also be plotted</Text-field>
</Input>
</Group>
<Group labelreference="L27" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">euler_pts := [[T[0],Y[0]], [T[1],Y[1]], [T[2], Y[2]],[T[3],Y[3]],             [T[4],Y[4]], [T[5],Y[5]], [T[6],Y[6]], [T[7],Y[7]], [T[8],Y[8]],
[T[9],Y[9]], [T[10],Y[10]]];</Text-field>
</Input>
</Group>
<Group labelreference="L28" drawlabel="true">
<Input>
<Text-field style="Normal" layout="Normal">Now displace both the phase portrait created by maple and the approximation using Euler's method</Text-field>
</Input>
</Group>
<Group labelreference="L29" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">euler_plot := plot( euler_pts, color=MAGENTA, thickness=2 ):
display( { euler_plot, dir_plot }, 
        title=`Euler's Method, h=0.1` );</Text-field>
</Input>
</Group>
<Group labelreference="L30" drawlabel="true">
<Input>
<Text-field style="Normal" layout="Normal">Observe how the computed solution closely follows the arrows in the direction field.</Text-field>
</Input>
</Group>
<Group labelreference="L31" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L32" drawlabel="true">
<Input>
<Text-field style="Normal" layout="Normal"><Font bold="true">We now implement the improved Euler method for the same differential equation</Font></Text-field>
</Input>
</Group>
<Group labelreference="L33" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L34" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">h := 0.1:
N := 10:
T[0] := 0.0:
IY[0] := 2.0:
printf(` \t Improved Euler method \n`);
printf(`  t_n \t  y_n \t  k1_n \t    k2_n \n`);
for n from 0 to N do 
T[n+1] := T[n] +h:
K1[n] := f(T[n],IY[n]):
Z[n] := IY[n] + h*K1[n]:
K2[n] := f(T[n+1],Z[n]):
printf(` %01.2f \t%01.5f \t%01.5f \t%01.5f \n`, T[n],IY[n],K1[n],K2[n]);
IY[n+1] := IY[n] + 0.5*h*(K1[n]+K2[n]):
od:</Text-field>
</Input>
</Group>
<Group labelreference="L35" drawlabel="true">
<Input>
<Text-field style="Normal" layout="Normal">Check the above steps to convice yourself that this is the improved Euler method.</Text-field>
</Input>
</Group>
<Group labelreference="L36" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L37" drawlabel="true">
<Input>
<Text-field style="Normal" layout="Normal">Plot of the solution using improved Euler in addition to the two previous plots.  </Text-field>
</Input>
</Group>
<Group labelreference="L38" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">improved_euler_pts := [[T[0],IY[0]], [T[1],IY[1]], [T[2],IY[2]],                         [T[3],IY[3]], [T[4],IY[4]], [T[5],IY[5]], [T[6],IY[6]], 
[T[7],IY[7]], [T[8],IY[8]], [T[9],IY[9]], [T[10],IY[10]]]:
improved_euler_plot := plot(improved_euler_pts, color=GREEN, thickness=2 ):
display( { dir_plot,euler_plot, improved_euler_plot }, 
             title=`Improved Euler's Method, h=0.1` );</Text-field>
</Input>
</Group>
<Group labelreference="L39" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L40" drawlabel="true">
<Input>
<Text-field style="Normal" layout="Normal"><Font bold="true">Runge-Kutta for the same differential equation:</Font></Text-field>
</Input>
</Group>
<Group labelreference="L41" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">h := 0.1: h2 := 0.5*h:
N := 10:
T[0] := 0.0:
RKY[0] := 2.0:
print(`Runge-Kutta method`);
printf(`  t_n \t  y_n \t  k1_n \t z1_n \t  k2_n \t\t z2_n \t k3_n \t z3_n \t k4_n \n`);
for n from 0 to N do 
K1[n] := f(T[n],RKY[n]):
Z1[n] := RKY[n] + h2*K1[n]:
K2[n] := f(T[n]+h2,Z1[n]):
Z2[n] := RKY[n] + h2*K2[n]:
K3[n] := f(T[n]+h2,Z2[n]):
Z3[n] := RKY[n] + h*K3[n]:
T[n+1] :+ T[n] + h:
K4[n] := f(T[n+1],Z3[n]):
printf(`%01.2f  \t%01.5f \t%01.5f \t%01.5f \t%01.5f \t%01.5f \t%01.5f \t%01.5f \t%01.5f \n`,
        T[n], RKY[n],K1[n],Z1[n],K2[n],Z2[n],K3[n],Z3[n],K4[n]);
RKY[n+1] := RKY[n] + h*(K1[n]+2*K2[n]+2*K3[n]+K4[n])/6.0:
od:</Text-field>
</Input>
</Group>
<Group labelreference="L42" drawlabel="true">
<Input>
<Text-field style="Normal" layout="Normal">Check the above steps to convice yourself that this is the Runge-Kutta method</Text-field>
</Input>
</Group>
<Group labelreference="L43" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L44" drawlabel="true">
<Input>
<Text-field style="Normal" layout="Normal">The outputs of the three methods can be compared with the exact solution.
For the above example the exact solution is </Text-field>
<Text-field style="2D Comment" layout="Normal"><Equation executable="false" style="2D Comment" input-equation="Typesetting:-mrow(Typesetting:-mi(&quot;&quot;), Typesetting:-msqrt(Typesetting:-mfrac(Typesetting:-mrow(Typesetting:-mi(&quot;C&quot;), Typesetting:-mo(&quot; &quot;, form = &quot;infix&quot;, fence = &quot;false&quot;, separator = &quot;false&quot;, lspace = &quot;0em&quot;, rspace = &quot;0em&quot;, stretchy = &quot;false&quot;, symmetric = &quot;false&quot;, maxsize = &quot;infinity&quot;, minsize = &quot;1&quot;, largeop = &quot;false&quot;, movablelimits = &quot;false&quot;, accent = &quot;false&quot;, font_style_name = &quot;2D Comment&quot;, size = &quot;12&quot;, foreground = &quot;[0,0,0]&quot;, background = &quot;[255,255,255]&quot;), Typesetting:-msup(Typesetting:-mo(&quot;e&quot;, form = &quot;&quot;, fence = &quot;false&quot;, separator = &quot;false&quot;, lspace = &quot;0em&quot;, rspace = &quot;0em&quot;, stretchy = &quot;false&quot;, symmetric = &quot;false&quot;, maxsize = &quot;infinity&quot;, minsize = &quot;1&quot;, largeop = &quot;false&quot;, movablelimits = &quot;false&quot;, accent = &quot;false&quot;, font_style_name = &quot;2D Comment&quot;, size = &quot;12&quot;, foreground = &quot;[0,0,0]&quot;, background = &quot;[255,255,255]&quot;), Typesetting:-mrow(Typesetting:-mo(&quot;(&quot;, form = &quot;prefix&quot;, fence = &quot;true&quot;, separator = &quot;false&quot;, lspace = &quot;thinmathspace&quot;, rspace = &quot;thinmathspace&quot;, stretchy = &quot;true&quot;, symmetric = &quot;false&quot;, maxsize = &quot;infinity&quot;, minsize = &quot;1&quot;, largeop = &quot;false&quot;, movablelimits = &quot;false&quot;, accent = &quot;false&quot;, font_style_name = &quot;2D Comment&quot;, size = &quot;12&quot;, foreground = &quot;[0,0,0]&quot;, background = &quot;[255,255,255]&quot;), Typesetting:-mrow(Typesetting:-mn(&quot;2&quot;), Typesetting:-mo(&quot; &quot;, form = &quot;infix&quot;, fence = &quot;false&quot;, separator = &quot;false&quot;, lspace = &quot;0em&quot;, rspace = &quot;0em&quot;, stretchy = &quot;false&quot;, symmetric = &quot;false&quot;, maxsize = &quot;infinity&quot;, minsize = &quot;1&quot;, largeop = &quot;false&quot;, movablelimits = &quot;false&quot;, accent = &quot;false&quot;, font_style_name = &quot;2D Comment&quot;, size = &quot;12&quot;, foreground = &quot;[0,0,0]&quot;, background = &quot;[255,255,255]&quot;), Typesetting:-msub(Typesetting:-mi(&quot;T&quot;), Typesetting:-mrow(Typesetting:-mi(&quot;n&quot;)), subscriptshift = &quot;0&quot;, placeholder = &quot;false&quot;), Typesetting:-mi(&quot;&quot;)), Typesetting:-mo(&quot;)&quot;, form = &quot;postfix&quot;, fence = &quot;true&quot;, separator = &quot;false&quot;, lspace = &quot;thinmathspace&quot;, rspace = &quot;verythinmathspace&quot;, stretchy = &quot;true&quot;, symmetric = &quot;false&quot;, maxsize = &quot;infinity&quot;, minsize = &quot;1&quot;, largeop = &quot;false&quot;, movablelimits = &quot;false&quot;, accent = &quot;false&quot;, font_style_name = &quot;2D Comment&quot;, size = &quot;12&quot;, foreground = &quot;[0,0,0]&quot;, background = &quot;[255,255,255]&quot;)), superscriptshift = &quot;0&quot;), Typesetting:-mi(&quot;&quot;)), Typesetting:-mrow(Typesetting:-mi(&quot;&quot;), Typesetting:-mrow(Typesetting:-mi(&quot;C&quot;), Typesetting:-mo(&quot; &quot;, form = &quot;infix&quot;, fence = &quot;false&quot;, separator = &quot;false&quot;, lspace = &quot;0em&quot;, rspace = &quot;0em&quot;, stretchy = &quot;false&quot;, symmetric = &quot;false&quot;, maxsize = &quot;infinity&quot;, minsize = &quot;1&quot;, largeop = &quot;false&quot;, movablelimits = &quot;false&quot;, accent = &quot;false&quot;, font_style_name = &quot;2D Comment&quot;, size = &quot;12&quot;, foreground = &quot;[0,0,0]&quot;, background = &quot;[255,255,255]&quot;), Typesetting:-msup(Typesetting:-mo(&quot;e&quot;, form = &quot;&quot;, fence = &quot;false&quot;, separator = &quot;false&quot;, lspace = &quot;0em&quot;, rspace = &quot;0em&quot;, stretchy = &quot;false&quot;, symmetric = &quot;false&quot;, maxsize = &quot;infinity&quot;, minsize = &quot;1&quot;, largeop = &quot;false&quot;, movablelimits = &quot;false&quot;, accent = &quot;false&quot;, font_style_name = &quot;2D Comment&quot;, size = &quot;12&quot;, foreground = &quot;[0,0,0]&quot;, background = &quot;[255,255,255]&quot;), Typesetting:-mrow(Typesetting:-mo(&quot;(&quot;, form = &quot;prefix&quot;, fence = &quot;true&quot;, separator = &quot;false&quot;, lspace = &quot;thinmathspace&quot;, rspace = &quot;thinmathspace&quot;, stretchy = &quot;true&quot;, symmetric = &quot;false&quot;, maxsize = &quot;infinity&quot;, minsize = &quot;1&quot;, largeop = &quot;false&quot;, movablelimits = &quot;false&quot;, accent = &quot;false&quot;, font_style_name = &quot;2D Comment&quot;, size = &quot;12&quot;, foreground = &quot;[0,0,0]&quot;, background = &quot;[255,255,255]&quot;), Typesetting:-mrow(Typesetting:-mi(&quot;&quot;), Typesetting:-mrow(Typesetting:-mn(&quot;2&quot;), Typesetting:-mo(&quot; &quot;, form = &quot;infix&quot;, fence = &quot;false&quot;, separator = &quot;false&quot;, lspace = &quot;0em&quot;, rspace = &quot;0em&quot;, stretchy = &quot;false&quot;, symmetric = &quot;false&quot;, maxsize = &quot;infinity&quot;, minsize = &quot;1&quot;, largeop = &quot;false&quot;, movablelimits = &quot;false&quot;, accent = &quot;false&quot;, font_style_name = &quot;2D Comment&quot;, size = &quot;12&quot;, foreground = &quot;[0,0,0]&quot;, background = &quot;[255,255,255]&quot;), Typesetting:-msub(Typesetting:-mi(&quot;T&quot;), Typesetting:-mrow(Typesetting:-mi(&quot;n&quot;)), subscriptshift = &quot;0&quot;, placeholder = &quot;false&quot;), Typesetting:-mi(&quot;&quot;)), Typesetting:-mo(&quot;\342\210\222&quot;, form = &quot;infix&quot;, fence = &quot;false&quot;, separator = &quot;false&quot;, lspace = &quot;mediummathspace&quot;, rspace = &quot;mediummathspace&quot;, stretchy = &quot;false&quot;, symmetric = &quot;false&quot;, maxsize = &quot;infinity&quot;, minsize = &quot;1&quot;, largeop = &quot;false&quot;, movablelimits = &quot;false&quot;, accent = &quot;false&quot;, font_style_name = &quot;2D Comment&quot;, size = &quot;12&quot;, foreground = &quot;[0,0,0]&quot;, background = &quot;[255,255,255]&quot;), Typesetting:-mn(&quot;1.0&quot;)), Typesetting:-mo(&quot;)&quot;, form = &quot;postfix&quot;, fence = &quot;true&quot;, separator = &quot;false&quot;, lspace = &quot;thinmathspace&quot;, rspace = &quot;verythinmathspace&quot;, stretchy = &quot;true&quot;, symmetric = &quot;false&quot;, maxsize = &quot;infinity&quot;, minsize = &quot;1&quot;, largeop = &quot;false&quot;, movablelimits = &quot;false&quot;, accent = &quot;false&quot;, font_style_name = &quot;2D Comment&quot;, size = &quot;12&quot;, foreground = &quot;[0,0,0]&quot;, background = &quot;[255,255,255]&quot;)), superscriptshift = &quot;0&quot;), Typesetting:-mi(&quot;&quot;)), Typesetting:-mi(&quot;&quot;)), linethickness = &quot;1&quot;, denomalign = &quot;center&quot;, numalign = &quot;center&quot;, bevelled = &quot;false&quot;, foreground = &quot;[0,0,0]&quot;, background = &quot;[255,255,255]&quot;), foreground = &quot;[0,0,0]&quot;, background = &quot;[255,255,255]&quot;), Typesetting:-mi(&quot;&quot;))">LUklbXJvd0c2Iy9JK21vZHVsZW5hbWVHNiJJLFR5cGVzZXR0aW5nR0koX3N5c2xpYkdGJzYlLUkjbWlHRiQ2OVEhRicvJSdmYW1pbHlHUTBUaW1lc35OZXd+Um9tYW5GJy8lJXNpemVHUSMxMkYnLyUlYm9sZEdRJmZhbHNlRicvJSdpdGFsaWNHUSV0cnVlRicvJSp1bmRlcmxpbmVHRjcvJSpzdWJzY3JpcHRHRjcvJSxzdXBlcnNjcmlwdEdGNy8lK2ZvcmVncm91bmRHUShbMCwwLDBdRicvJStiYWNrZ3JvdW5kR1EuWzI1NSwyNTUsMjU1XUYnLyUnb3BhcXVlR0Y3LyUrZXhlY3V0YWJsZUdGNy8lKXJlYWRvbmx5R0Y3LyUpY29tcG9zZWRHRjcvJSpjb252ZXJ0ZWRHRjcvJStpbXNlbGVjdGVkR0Y3LyUscGxhY2Vob2xkZXJHRjcvJTBmb250X3N0eWxlX25hbWVHUSsyRH5Db21tZW50RicvJSptYXRoY29sb3JHRkMvJS9tYXRoYmFja2dyb3VuZEdGRi8lK2ZvbnRmYW1pbHlHRjEvJSxtYXRodmFyaWFudEdRJ2l0YWxpY0YnLyUpbWF0aHNpemVHRjQtSSZtc3FydEdGJDYlLUkmbWZyYWNHRiQ2Ki1GIzYmLUYsNjlRIkNGJ0YvRjJGNUY4RjtGPUY/RkFGREZHRklGS0ZNRk9GUUZTRlVGWEZaRmZuRmhuRltvLUkjbW9HRiQ2M1ExJkludmlzaWJsZVRpbWVzO0YnLyUlZm9ybUdRJmluZml4RicvJSZmZW5jZUdGNy8lKnNlcGFyYXRvckdGNy8lJ2xzcGFjZUdRJDBlbUYnLyUncnNwYWNlR0ZlcC8lKXN0cmV0Y2h5R0Y3LyUqc3ltbWV0cmljR0Y3LyUobWF4c2l6ZUdRKWluZmluaXR5RicvJShtaW5zaXplR1EiMUYnLyUobGFyZ2VvcEdGNy8lLm1vdmFibGVsaW1pdHNHRjcvJSdhY2NlbnRHRjcvJTBmb250X3N0eWxlX25hbWVHRlcvJSVzaXplR0Y0LyUrZm9yZWdyb3VuZEdGQy8lK2JhY2tncm91bmRHRkYtSSVtc3VwR0YkNiUtRmlvNjNRImVGJy9GXXBGLkZfcEZhcEZjcEZmcEZocEZqcEZccUZfcUZicUZkcUZmcUZocUZqcUZcckZeci1GIzYlLUZpbzYzUSIoRicvRl1wUSdwcmVmaXhGJy9GYHBGOkZhcC9GZHBRLnRoaW5tYXRoc3BhY2VGJy9GZ3BGYHMvRmlwRjpGanBGXHFGX3FGYnFGZHFGZnFGaHFGanFGXHJGXnItRiM2Ji1JI21uR0YkNjlRIjJGJ0YvRjJGNS9GOUY3RjtGPUY/RkFGREZHRklGS0ZNRk9GUUZTRlVGWEZaRmZuL0ZpblEnbm9ybWFsRidGW29GaG8tSSVtc3ViR0YkNiYtRiw2OVEiVEYnRi9GMkY1RjhGO0Y9Rj9GQUZERkdGSUZLRk1GT0ZRRlNGVUZYRlpGZm5GaG5GW28tRiM2Iy1GLDY5USJuRidGL0YyRjVGOEY7Rj1GP0ZBRkRGR0ZJRktGTUZPRlFGU0ZVRlhGWkZmbkZobkZbby8lL3N1YnNjcmlwdHNoaWZ0R1EiMEYnLyUscGxhY2Vob2xkZXJHRjdGKy1GaW82M1EiKUYnL0ZdcFEocG9zdGZpeEYnRl5zRmFwRl9zL0ZncFEydmVyeXRoaW5tYXRoc3BhY2VGJ0Zic0ZqcEZccUZfcUZicUZkcUZmcUZocUZqcUZcckZeci8lMXN1cGVyc2NyaXB0c2hpZnRHRml0RistRiM2JUYrLUYjNiZGZW9GaG8tRmFyNiVGY3ItRiM2JUZpci1GIzYmRitGY3MtRmlvNjNRKCZtaW51cztGJ0ZccEZfcEZhcC9GZHBRMG1lZGl1bW1hdGhzcGFjZUYnL0ZncEZjdkZocEZqcEZccUZfcUZicUZkcUZmcUZocUZqcUZcckZeci1GZnM2OVEkMS4wRidGL0YyRjVGaXNGO0Y9Rj9GQUZERkdGSUZLRk1GT0ZRRlNGVUZYRlpGZm5GanNGW29GXHVGY3VGK0YrLyUubGluZXRoaWNrbmVzc0dRIjFGJy8lK2Rlbm9tYWxpZ25HUSdjZW50ZXJGJy8lKW51bWFsaWduR0Zddy8lKWJldmVsbGVkR0Y3RlxyRl5yRlxyRl5yRis=</Equation></Text-field>
<Text-field style="Normal" layout="Normal">where </Text-field>
<Text-field style="2D Comment" layout="Normal"><Equation executable="false" style="2D Comment" input-equation="Typesetting:-mrow(Typesetting:-mi(&quot;&quot;), Typesetting:-mrow(Typesetting:-mi(&quot;C&quot;), Typesetting:-mo(&quot;=&quot;, form = &quot;infix&quot;, fence = &quot;false&quot;, separator = &quot;false&quot;, lspace = &quot;thickmathspace&quot;, rspace = &quot;thickmathspace&quot;, stretchy = &quot;false&quot;, symmetric = &quot;false&quot;, maxsize = &quot;infinity&quot;, minsize = &quot;1&quot;, largeop = &quot;false&quot;, movablelimits = &quot;false&quot;, accent = &quot;false&quot;, font_style_name = &quot;2D Comment&quot;, size = &quot;12&quot;, foreground = &quot;[0,0,0]&quot;, background = &quot;[255,255,255]&quot;), Typesetting:-mfrac(Typesetting:-mrow(Typesetting:-mi(&quot;&quot;), Typesetting:-msubsup(Typesetting:-mi(&quot;Y&quot;), Typesetting:-mrow(Typesetting:-mn(&quot;0&quot;)), Typesetting:-mn(&quot;2&quot;), superscriptshift = &quot;0&quot;, subscriptshift = &quot;0&quot;), Typesetting:-mi(&quot;&quot;)), Typesetting:-mrow(Typesetting:-mi(&quot;&quot;), Typesetting:-mrow(Typesetting:-mi(&quot;&quot;), Typesetting:-mrow(Typesetting:-mi(&quot;&quot;), Typesetting:-msubsup(Typesetting:-mi(&quot;Y&quot;), Typesetting:-mrow(Typesetting:-mn(&quot;0&quot;)), Typesetting:-mn(&quot;2&quot;), superscriptshift = &quot;0&quot;, subscriptshift = &quot;0&quot;), Typesetting:-mi(&quot;&quot;)), Typesetting:-mo(&quot;\342\210\222&quot;, form = &quot;infix&quot;, fence = &quot;false&quot;, separator = &quot;false&quot;, lspace = &quot;mediummathspace&quot;, rspace = &quot;mediummathspace&quot;, stretchy = &quot;false&quot;, symmetric = &quot;false&quot;, maxsize = &quot;infinity&quot;, minsize = &quot;1&quot;, largeop = &quot;false&quot;, movablelimits = &quot;false&quot;, accent = &quot;false&quot;, font_style_name = &quot;2D Comment&quot;, size = &quot;12&quot;, foreground = &quot;[0,0,0]&quot;, background = &quot;[255,255,255]&quot;), Typesetting:-mn(&quot;1.0&quot;)), Typesetting:-mi(&quot;&quot;)), linethickness = &quot;1&quot;, denomalign = &quot;center&quot;, numalign = &quot;center&quot;, bevelled = &quot;false&quot;, foreground = &quot;[0,0,0]&quot;, background = &quot;[255,255,255]&quot;), Typesetting:-mi(&quot;&quot;)), Typesetting:-mi(&quot;&quot;))">LUklbXJvd0c2Iy9JK21vZHVsZW5hbWVHNiJJLFR5cGVzZXR0aW5nR0koX3N5c2xpYkdGJzYlLUkjbWlHRiQ2OVEhRicvJSdmYW1pbHlHUTBUaW1lc35OZXd+Um9tYW5GJy8lJXNpemVHUSMxMkYnLyUlYm9sZEdRJmZhbHNlRicvJSdpdGFsaWNHUSV0cnVlRicvJSp1bmRlcmxpbmVHRjcvJSpzdWJzY3JpcHRHRjcvJSxzdXBlcnNjcmlwdEdGNy8lK2ZvcmVncm91bmRHUShbMCwwLDBdRicvJStiYWNrZ3JvdW5kR1EuWzI1NSwyNTUsMjU1XUYnLyUnb3BhcXVlR0Y3LyUrZXhlY3V0YWJsZUdGNy8lKXJlYWRvbmx5R0Y3LyUpY29tcG9zZWRHRjcvJSpjb252ZXJ0ZWRHRjcvJStpbXNlbGVjdGVkR0Y3LyUscGxhY2Vob2xkZXJHRjcvJTBmb250X3N0eWxlX25hbWVHUSsyRH5Db21tZW50RicvJSptYXRoY29sb3JHRkMvJS9tYXRoYmFja2dyb3VuZEdGRi8lK2ZvbnRmYW1pbHlHRjEvJSxtYXRodmFyaWFudEdRJ2l0YWxpY0YnLyUpbWF0aHNpemVHRjQtRiM2Ji1GLDY5USJDRidGL0YyRjVGOEY7Rj1GP0ZBRkRGR0ZJRktGTUZPRlFGU0ZVRlhGWkZmbkZobkZbby1JI21vR0YkNjNRIj1GJy8lJWZvcm1HUSZpbmZpeEYnLyUmZmVuY2VHRjcvJSpzZXBhcmF0b3JHRjcvJSdsc3BhY2VHUS90aGlja21hdGhzcGFjZUYnLyUncnNwYWNlR0ZfcC8lKXN0cmV0Y2h5R0Y3LyUqc3ltbWV0cmljR0Y3LyUobWF4c2l6ZUdRKWluZmluaXR5RicvJShtaW5zaXplR1EiMUYnLyUobGFyZ2VvcEdGNy8lLm1vdmFibGVsaW1pdHNHRjcvJSdhY2NlbnRHRjcvJTBmb250X3N0eWxlX25hbWVHRlcvJSVzaXplR0Y0LyUrZm9yZWdyb3VuZEdGQy8lK2JhY2tncm91bmRHRkYtSSZtZnJhY0dGJDYqLUYjNiVGKy1JKG1zdWJzdXBHRiQ2Jy1GLDY5USJZRidGL0YyRjVGOEY7Rj1GP0ZBRkRGR0ZJRktGTUZPRlFGU0ZVRlhGWkZmbkZobkZbby1GIzYjLUkjbW5HRiQ2OVEiMEYnRi9GMkY1L0Y5RjdGO0Y9Rj9GQUZERkdGSUZLRk1GT0ZRRlNGVUZYRlpGZm4vRmluUSdub3JtYWxGJ0Zbby1GaHI2OVEiMkYnRi9GMkY1RltzRjtGPUY/RkFGREZHRklGS0ZNRk9GUUZTRlVGWEZaRmZuRlxzRltvLyUxc3VwZXJzY3JpcHRzaGlmdEdRIjBGJy8lL3N1YnNjcmlwdHNoaWZ0R0Zjc0YrLUYjNiVGKy1GIzYmRitGXXItRmNvNjNRKCZtaW51cztGJ0Zmb0Zpb0ZbcC9GXnBRMG1lZGl1bW1hdGhzcGFjZUYnL0ZhcEZedEZicEZkcEZmcEZpcEZccUZecUZgcUZicUZkcUZmcUZocS1GaHI2OVEkMS4wRidGL0YyRjVGW3NGO0Y9Rj9GQUZERkdGSUZLRk1GT0ZRRlNGVUZYRlpGZm5GXHNGW29GKy8lLmxpbmV0aGlja25lc3NHUSIxRicvJStkZW5vbWFsaWduR1EnY2VudGVyRicvJSludW1hbGlnbkdGaHQvJSliZXZlbGxlZEdGN0ZmcUZocUYrRis=</Equation></Text-field>
</Input>
</Group>
<Group labelreference="L45" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">C := Y[0]^2/(Y[0]^2-1):
printf(`  t \t Euler \t    Improved \t   Runge-Kutta  \t Exact Solution\n`);
for n from 0 to N do 
Ex[n] := sqrt(C*exp(2*T[n])/(C*exp(2*T[n])-1.0)):
printf(`%1.2f  \t %1.5f \t   %1.5f \t    %1.5f  \t     %1.5f\n`,
        T[n], Y[n], IY[n], RKY[n], Ex[n]);
od:</Text-field>
</Input>
</Group>
<Group labelreference="L46" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L47" drawlabel="true">
<Input>
<Text-field style="Normal" layout="Normal">Plot the solution using Runge-Kutta and the solution from DEplot:</Text-field>
</Input>
</Group>
<Group labelreference="L48" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">RK_pts := [ [T[0],RKY[0]], [T[1],RKY[1]], [T[2],RKY[2]],
   [T[3],RKY[3]], [T[4],RKY[4]], [T[5],RKY[5]],
   [T[6],RKY[6]], [T[7],RKY[7]], [T[8],RKY[8]],
   [T[9],RKY[9]], [T[10],RKY[10]] ]:
RK_plot := plot(RK_pts, 0..1, 1..2, colour=BLUE, thickness=2 ):
display( {RK_plot, dir_plot},title=`Runge-Kutta Method, h=0.1` );
</Text-field>
</Input>
</Group>
<Group labelreference="L49" drawlabel="true">
<Input>
<Text-field style="Normal" layout="Normal">Notice that the two solution are so close together that you can not tell them apart.</Text-field>
</Input>
</Group>
<Group labelreference="L50" drawlabel="true">
<Input>
<Text-field style="Normal" layout="Normal">Now we display the outputs from the three methods together.</Text-field>
</Input>
</Group>
<Group labelreference="L51" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">display( { dir_plot, euler_plot, improved_euler_plot, RK_plot }, 
    title=`Three Numerical Methods, h=0.1` );</Text-field>
</Input>
</Group>
<Group labelreference="L52" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L54" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"><Equation executable="true" style="2D Input" input-equation="Typesetting:-mrow(Typesetting:-mi(&quot;&quot;))">LUklbXJvd0c2Iy9JK21vZHVsZW5hbWVHNiJJLFR5cGVzZXR0aW5nR0koX3N5c2xpYkdGJzYjLUkjbWlHRiQ2OVEhRicvJSdmYW1pbHlHUTBUaW1lc35OZXd+Um9tYW5GJy8lJXNpemVHUSMxMkYnLyUlYm9sZEdRJmZhbHNlRicvJSdpdGFsaWNHUSV0cnVlRicvJSp1bmRlcmxpbmVHRjcvJSpzdWJzY3JpcHRHRjcvJSxzdXBlcnNjcmlwdEdGNy8lK2ZvcmVncm91bmRHUSpbMjU1LDAsMF1GJy8lK2JhY2tncm91bmRHUS5bMjU1LDI1NSwyNTVdRicvJSdvcGFxdWVHRjcvJStleGVjdXRhYmxlR0Y6LyUpcmVhZG9ubHlHRjcvJSljb21wb3NlZEdGNy8lKmNvbnZlcnRlZEdGNy8lK2ltc2VsZWN0ZWRHRjcvJSxwbGFjZWhvbGRlckdGNy8lMGZvbnRfc3R5bGVfbmFtZUdRKTJEfklucHV0RicvJSptYXRoY29sb3JHRkMvJS9tYXRoYmFja2dyb3VuZEdGRi8lK2ZvbnRmYW1pbHlHRjEvJSxtYXRodmFyaWFudEdRJ2l0YWxpY0YnLyUpbWF0aHNpemVHRjQ=</Equation></Text-field>
</Input>
</Group>
</Worksheet>