<?xml version="1.0" encoding="UTF-8"?>
<Worksheet>
<Version major="2021" minor="2"/>
<Label-Scheme value="2" prefix=""/>
<View-Properties presentation="false" autoexpanding_sections="true" UserProfileName="Maple Default Profile" NumericFormat-ApplyInteger="true" NumericFormat-ApplyRational="true" NumericFormat-ApplyExponent="false" editable="true">
</View-Properties>
<MapleNet-Properties prettyprint="3" warnlevel="3" compactdisplay="false" preplot="" helpbrowser="standard" displayprecision="-1" echo="1" scientificx="true" unitattributes="&quot;fontweight&quot; = &quot;bold&quot;" imaginaryunit="I" longdelim="true" elisiontermsthreshold="10000" elisiondigitsafter="100" elisiondigitsbefore="100" plotdevice="inline" errorbreak="1" plotoptions="" plotdriver="opengl" quiet="false" elisiontermsbefore="100" elisiontermsafter="100" historytimestamp="false" screenwidth="79" indentamount="4" plotoutput="terminal" screenpixelheight="1080" rtablesize="[10, 10]" useclientjvm="true" format="worksheet" labelwidth="20" postplot="" typesetting="extended" ansi="false" ansicolor="[]" elisiondigitsthreshold="10000" showassumed="1" ansilprint="false" trailingsemicolon="true" errorcursor="false" labelling="true" screenheight="25" prompt="&gt; " verboseproc="1" latexwidth="8.0" ShowLabels="true"/>
<Styles>
<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 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="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="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="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="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="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="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="Ordered List 2" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Ordered List 3" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Ordered List 4" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="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="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="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 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="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="Atomic Variable" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[175,0,175]" italic="true" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="HyperlinkWarning" background="[255,255,255]" bold="false" executable="false" family="Courier New" foreground="[0,0,255]" italic="false" opaque="false" readonly="true" size="12" subscript="false" superscript="false" underline="true" 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="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="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="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="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="Code" background="[255,255,255]" bold="false" executable="false" family="Courier New" foreground="[255,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="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="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="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="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="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="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="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="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="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="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="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="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="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 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="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="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="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="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="Header and Footer" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="10" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="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="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="HyperlinkError" background="[255,255,255]" bold="false" executable="false" family="Courier New" foreground="[255,0,255]" italic="false" opaque="false" readonly="true" size="12" subscript="false" superscript="false" underline="true" 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="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="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="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" placeholder="false"/>
<Font name="2D Math" background="[255,255,255]" bold="false" executable="true" 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="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="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="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="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="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="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="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="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="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="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="Caption Reference" 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="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="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="Maple Input Placeholder" background="[255,255,255]" bold="true" executable="true" family="Courier New" foreground="[200,0,200]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="true"/>
<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="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="Equation Label" background="[255,255,255]" bold="true" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="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="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="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="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="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="Caption Text" 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"/>
<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="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="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="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" 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="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="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="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="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" 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="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="Ordered List 1" alignment="left" bullet="numeric" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="3" spacebelow="3" linebreak="space" pagebreak-before="false" initial="-1" bulletsuffix=""/>
<Layout name="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="Ordered List 2" alignment="left" bullet="alphabetic" firstindent="0" leftmargin="36" rightmargin="0" linespacing="0.0" spaceabove="3" spacebelow="3" linebreak="space" pagebreak-before="false" initial="-1" bulletsuffix=""/>
<Layout name="Ordered List 3" alignment="left" bullet="roman" firstindent="0" leftmargin="72" rightmargin="0" linespacing="0.0" spaceabove="3" spacebelow="3" linebreak="space" pagebreak-before="false" initial="-1" bulletsuffix=""/>
<Layout name="Ordered List 4" alignment="left" bullet="ALPHABETIC" firstindent="0" leftmargin="108" rightmargin="0" linespacing="0.0" spaceabove="3" spacebelow="3" linebreak="space" pagebreak-before="false" initial="-1" bulletsuffix=""/>
<Layout name="Ordered List 5" alignment="left" bullet="ROMAN" firstindent="0" leftmargin="144" rightmargin="0" linespacing="0.0" spaceabove="3" spacebelow="3" linebreak="space" pagebreak-before="false" initial="-1" bulletsuffix=""/>
<Layout name="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="HyperlinkError" alignment="left" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="0" spacebelow="0" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="HyperlinkWarning" alignment="left" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="0" spacebelow="0" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="Bullet Item" alignment="left" bullet="dot" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="3" spacebelow="3" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="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="List Item" alignment="left" bullet="indent" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="3" spacebelow="3" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="Dash Item" alignment="left" bullet="dash" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="3" spacebelow="3" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="Error" alignment="left" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="0" spacebelow="0" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="Title" alignment="centred" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="12" spacebelow="12" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="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="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=""/>
<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 2" pen-color="[0,0,255]" pen-height="1.0" pen-width="1.0" pen-opacity="1.0"/>
<Pencil-style name="Pencil 3" pen-color="[0,0,0]" pen-height="3.0" pen-width="3.0" pen-opacity="1.0"/>
<Pencil-style name="Pencil 4" pen-color="[0,0,255]" pen-height="3.0" pen-width="3.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"/>
<Highlighter-style name="Highlighter 5" pen-color="[255,255,0]" pen-height="48.0" pen-width="48.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 4" pen-color="[0,255,255]" pen-height="32.0" pen-width="32.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 2" pen-color="[255,204,0]" pen-height="14.0" pen-width="14.0" pen-opacity="0.8"/>
</Styles>
<Startup-Code startupcode=""/>
<Task-table>
    <Task-category name="&lt;default&gt;"/>
</Task-table>
<Task/>
<Section collapsed="true" isCollapsible="true" drawButton="true" MultipleChoiceAnswerIndex="-1" MultipleChoiceRandomizeChoices="false" TrueFalseAnswerIndex="-1" EssayAnswerRows="5" EssayAnswerColumns="60"><Title><Text-field style="Heading 1" layout="Heading 1">Convergence of the Taylor series of sin(<Font italic="true">x</Font>)</Text-field></Title>
<Group labelreference="L1074" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">restart;</Text-field>
</Input>
</Group>
<Group labelreference="L1105" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">with(plots):</Text-field>
</Input>
</Group>
<Group labelreference="L1107" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">kk:=22:</Text-field>
</Input>
</Group>
<Group hide-input="false" labelreference="L1104" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">sink := (x,k) -&gt; sum(x^(2*n+1)/(2*n+1)!*(-1)^n,n=0..k);</Text-field>
</Input>
</Group>
<Group labelreference="L1106" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field style="Text" layout="Normal">WARNING: the minimum FPS is 1, must write 1 Enter!</Text-field><Text-field prompt="&gt; " style="Maple Input" layout="Normal">animate(plot,[sink(x,k),x=-Pi*5..Pi*5,y=-5..5],k=0..kk,frames=kk+1);</Text-field>
</Input>
</Group>
<Group labelreference="L1136" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">Digits:=16:</Text-field>
</Input>
</Group>
<Group hide-input="false" labelreference="L1075" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">for k from 3 to 14 do fsolve(sink(x,k)=0,x=3..4); end do;</Text-field>
</Input>
</Group>
</Section>
<Section collapsed="true" isCollapsible="true" drawButton="true" MultipleChoiceAnswerIndex="-1" MultipleChoiceRandomizeChoices="false" TrueFalseAnswerIndex="-1" EssayAnswerRows="5" EssayAnswerColumns="60"><Title><Text-field style="Heading 1" layout="Heading 1"><Font encoding="UTF-8">Taylor expansion and the Pad\303\251 approximant</Font></Text-field></Title><Text-field style="Text" layout="Normal">Aproximate function exp(<Font italic="true">x</Font>) by (1+<Font italic="true">ax</Font>)/(<Font italic="true">b</Font>+<Font italic="true">cx</Font>)</Text-field>
<Group labelreference="L1007" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">restart;</Text-field>
</Input>
</Group>
<Group hide-input="false" labelreference="L986" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">series(exp(x),x);</Text-field>
</Input>
</Group>
<Group hide-input="false" labelreference="L991" drawlabel="true">
<Input><Text-field style="Text" layout="Normal"><Font encoding="UTF-8">exp(0)=1 \342\207\222 </Font><Font italic="true">b</Font>=1</Text-field><Text-field prompt="&gt; " style="Maple Input" layout="Normal">series((1+a*x)/(1+c*x),x);</Text-field>
</Input>
</Group>
<Group hide-input="false" labelreference="L997" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">solve({a-c=1,(-a+c)*c=1/2},{a,c});</Text-field>
</Input>
</Group>
<Group labelreference="L1003" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">with(plots):</Text-field>
</Input>
</Group>
<Group labelreference="L993" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">p1:=plot(exp(x),x=-1..1,color=black,legend=&quot;exp(x)&quot;):</Text-field>
</Input>
</Group>
<Group labelreference="L983" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">p2:=plot(1+x+x^2/2,x=-1..1,color=blue,legend=&quot;Taylor&quot;):</Text-field>
</Input>
</Group>
<Group labelreference="L982" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal"><Font encoding="UTF-8">p3:=plot((1+x/2)/(1-x/2),x=-1..1,color=red,legend=&quot;Pad\303\251&quot;):</Font></Text-field>
</Input>
</Group>
<Group labelreference="L994" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">display({p1,p2,p3});</Text-field>
</Input>
</Group>
<Group labelreference="L1041" drawlabel="true">
<Input><Text-field style="Text" layout="Normal">Deviations:</Text-field><Text-field prompt="&gt; " style="Maple Input" layout="Normal">p2:=plot(1+x+x^2/2-exp(x),x=-1..1,color=blue,legend=&quot;Taylor-exp&quot;):</Text-field>
</Input>
</Group>
<Group labelreference="L1040" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">p3:=plot((1+x/2)/(1-x/2)-exp(x),x=-1..1,color=red<Font encoding="UTF-8">,legend=&quot;Pad\303\251-exp&quot;</Font>):</Text-field>
</Input>
</Group>
<Group labelreference="L987" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">display({p2,p3});</Text-field>
</Input>
</Group>
<Group labelreference="L1179" drawlabel="true">
<Input><Text-field style="Text" layout="Normal">Relative deviations:</Text-field><Text-field prompt="&gt; " style="Maple Input" layout="Normal">p2:=plot((1+x+x^2/2)/exp(x)-1,x=-1..1,color=blue,legend=&quot;Taylor-exp&quot;):</Text-field>
</Input>
</Group>
<Group labelreference="L1178" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">p3:=plot(((1+x/2)/(1-x/2))/exp(x)-1,x=-1..1,color=red<Font encoding="UTF-8">,legend=&quot;Pad\303\251-exp&quot;</Font>):</Text-field>
</Input>
</Group>
<Group labelreference="L1180" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">display({p2,p3});</Text-field>
</Input>
</Group>
<Group labelreference="L1067" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
</Section>
<Section collapsed="true" isCollapsible="true" drawButton="true" MultipleChoiceAnswerIndex="-1" MultipleChoiceRandomizeChoices="false" TrueFalseAnswerIndex="-1" EssayAnswerRows="5" EssayAnswerColumns="60"><Title><Text-field style="Heading 1" layout="Heading 1">Taylor expansion and the continued fraction</Text-field></Title><Text-field style="Text" layout="Normal">Compare the Taylor expansion of function tan(<Font italic="true">x</Font>) to <Font italic="true">x</Font><Font superscript="true">5</Font> with the corresponding continued fraction. Convert the fraction to the <Font encoding="UTF-8">Pad\303\251 aproximant.</Font></Text-field><Text-field style="Text" layout="Normal">Hint: tan(<Font italic="true">x</Font>) = <Font italic="true">x</Font><Font encoding="UTF-8"> // 1\342\210\222</Font><Font italic="true">x</Font><Font superscript="true">2</Font><Font encoding="UTF-8"> // 3\342\210\222</Font><Font italic="true">x</Font><Font superscript="true">2</Font><Font encoding="UTF-8"> // 5\342\210\222</Font><Font italic="true">x</Font><Font superscript="true">2</Font> // ...</Text-field>
<Group labelreference="L1052" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">restart;</Text-field>
</Input>
</Group>
<Group labelreference="L1066" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">with(plots):</Text-field>
</Input>
</Group>
<Group hide-input="false" labelreference="L1045" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">series(tan(x),x,8);</Text-field>
</Input>
</Group>
<Group labelreference="L1050" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">p1:=plot(tan(x),x=0..1.5,color=black,legend=&quot;tan(x)&quot;):</Text-field>
</Input>
</Group>
<Group labelreference="L1044" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">p2:=plot(x+(1/3)*x^3+(2/15)*x^5,x=0..1.5,color=blue,legend=&quot;Taylor&quot;):</Text-field>
</Input>
</Group>
<Group labelreference="L1072" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal"><Font encoding="UTF-8">p3:=plot(x/(1-x^2/(3-x^2/5)),x=0..1.5,color=red,legend=&quot;Pad\303\251&quot;):</Font></Text-field>
</Input>
</Group>
<Group labelreference="L1047" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">display({p1,p2,p3});</Text-field>
</Input>
</Group>
<Group hide-input="false" labelreference="L1073" drawlabel="true">
<Input><Text-field style="Text" layout="Normal"><Font encoding="UTF-8">singularity of Pad\303\251(</Font><Font italic="true">x</Font><Font superscript="true">5</Font>)</Text-field><Text-field prompt="&gt; " style="Maple Input" layout="Normal">simplify(x/(1-x^2/(3-x^2/5)));</Text-field>
</Input>
</Group>
<Group hide-input="false" labelreference="L1043" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">fsolve(-5+2*x^2,x=1.5);</Text-field>
</Input>
</Group>
<Group hide-input="false" labelreference="L1042" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">evalf(Pi/2);</Text-field>
</Input>
</Group>
<Group labelreference="L1054" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
</Section>
<Section collapsed="true" isCollapsible="true" drawButton="true" MultipleChoiceAnswerIndex="-1" MultipleChoiceRandomizeChoices="false" TrueFalseAnswerIndex="-1" EssayAnswerRows="5" EssayAnswerColumns="60"><Title><Text-field style="Heading 1" layout="Heading 1">Legendre polynomials</Text-field></Title>
<Group labelreference="L988" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">restart;</Text-field>
</Input>
</Group>
<Group labelreference="L1014" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">with(plots):</Text-field>
</Input>
</Group>
<Group hide-input="false" labelreference="L1231" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">LegendreP(0,x);</Text-field>
</Input>
</Group>
<Group hide-input="false" labelreference="L1232" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">LegendreP(1,x);</Text-field>
</Input>
</Group>
<Group hide-input="false" labelreference="L1233" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">expand(LegendreP(2,x));</Text-field>
</Input>
</Group>
<Group hide-input="false" labelreference="L1234" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">expand(LegendreP(3,x));</Text-field>
</Input>
</Group>
<Group hide-input="false" labelreference="L1237" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field style="Text" layout="Normal">Generating function: <Font encoding="UTF-8">1/\342\210\232(1\342\210\2222</Font><Font italic="true">xt</Font>+<Font italic="true">t</Font><Font encoding="UTF-8">\302\262)</Font></Text-field><Text-field prompt="&gt; " style="Maple Input" layout="Normal">simplify(taylor(sqrt(1/(1-2*x*t+t^2)),t=0,4));</Text-field>
</Input>
</Group>
<Group hide-input="false" labelreference="L1236" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field style="Text" layout="Normal">Orthogonality:</Text-field><Text-field prompt="&gt; " style="Maple Input" layout="Normal">int(LegendreP(3,x)*LegendreP(4,x),x=-1..1);</Text-field>
</Input>
</Group>
<Group labelreference="L1235" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">n:=6:</Text-field>
</Input>
</Group>
<Group hide-input="false" labelreference="L1069" drawlabel="true">
<Input><Text-field style="Text" layout="Normal">Normalization:<Font encoding="UTF-8"> \342\210\253</Font><Font italic="true">P</Font><Font subscript="true">n</Font>(<Font italic="true">x</Font><Font encoding="UTF-8">)\302\262=2/(2</Font><Font italic="true">n</Font>+1)</Text-field><Text-field prompt="&gt; " style="Maple Input" layout="Normal">int(LegendreP(n,x)^2,x=-1..1);</Text-field>
</Input>
</Group>
<Group labelreference="L1017" drawlabel="true">
<Input><Text-field style="Text" layout="Normal">Graphs of normalized Legendre polynomials:</Text-field><Text-field prompt="&gt; " style="Maple Input" layout="Normal">for i from 0 to n do p[i]:=plot(LegendreP(i,x)*sqrt((2*i+1)/2),x=-1..1,color=ColorTools:-Color([1-i/n,abs(2*i/n-1),i/n]),legend=i) end do:</Text-field>
</Input>
</Group>
<Group labelreference="L1008" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">display(seq(p[i],i=0..n));</Text-field>
</Input>
</Group>
<Group hide-input="false" labelreference="L998" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
</Section>
<Section collapsed="true" isCollapsible="true" drawButton="true" MultipleChoiceAnswerIndex="-1" MultipleChoiceRandomizeChoices="false" TrueFalseAnswerIndex="-1" EssayAnswerRows="5" EssayAnswerColumns="60"><Title><Text-field style="Heading 1" layout="Heading 1">Aproximation by the Legendre polynomials</Text-field></Title><Text-field style="Text" layout="Normal">Aproximate function sin(<Font italic="true">x</Font><Font encoding="UTF-8">\317\200/2) in [\342\210\2221,1] by the </Font>Legendre polynomials</Text-field>
<Group labelreference="L1011" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">restart;</Text-field>
</Input>
</Group>
<Group labelreference="L999" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">with(plots):</Text-field>
</Input>
</Group>
<Group hide-input="false" labelreference="L996" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">n:=3;</Text-field>
</Input>
</Group>
<Group hide-input="false" labelreference="L989" drawlabel="true">
<Input><Text-field style="Text" layout="Normal">Coefficients of expansion</Text-field><Text-field prompt="&gt; " style="Maple Input" layout="Normal">for i from 0 to n do a[i]:=evalf((2*i+1)/2*int(sin(x*Pi/2)*LegendreP(i,x),x=-1..1)) end do;</Text-field>
</Input>
</Group>
<Group labelreference="L1018" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">p1:=plot(sin(x*Pi/2),x=-1..1,color=black,legend=sin):</Text-field>
</Input>
</Group>
<Group labelreference="L1009" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">p2:=plot(a[1]*LegendreP(1,x),x=-1..1,color=green,legend=Leg_1):</Text-field>
</Input>
</Group>
<Group labelreference="L1025" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">p3:=plot(a[1]*LegendreP(1,x)+a[3]*LegendreP(3,x),x=-1..1,color=red,legend=Leg_3):</Text-field>
</Input>
</Group>
<Group labelreference="L1019" drawlabel="true">
<Input><Text-field style="Text" layout="Normal">Taylor for comparison</Text-field><Text-field prompt="&gt; " style="Maple Input" layout="Normal">p4:=plot(x*Pi/2-(x*Pi/2)^3/6,x=-1..1,color=blue,legend=Taylor_3):</Text-field>
</Input>
</Group>
<Group labelreference="L1035" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">display({p1,p2,p3,p4});</Text-field>
</Input>
</Group>
<Group labelreference="L1037" drawlabel="true">
<Input><Text-field style="Text" layout="Normal">Errors of the approximation</Text-field><Text-field prompt="&gt; " style="Maple Input" layout="Normal">p2:=plot(a[1]*LegendreP(1,x)-sin(x*Pi/2),x=-1..1,color=green,legend=Leg_1):</Text-field>
</Input>
</Group>
<Group labelreference="L1033" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">p3:=plot(a[1]*LegendreP(1,x)+a[3]*LegendreP(3,x)-sin(x*Pi/2),x=-1..1,color=red,legend=Leg_3):</Text-field>
</Input>
</Group>
<Group labelreference="L1012" drawlabel="true">
<Input><Text-field style="Text" layout="Normal">Taylor for comparison</Text-field><Text-field prompt="&gt; " style="Maple Input" layout="Normal">p4:=plot(x*Pi/2-(x*Pi/2)^3/6-sin(x*Pi/2),x=-1..1,color=blue,legend=Taylor_3):</Text-field>
</Input>
</Group>
<Group labelreference="L1004" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">display({p2,p3,p4});</Text-field>
</Input>
</Group>
<Group labelreference="L1015" drawlabel="true">
<Input><Text-field style="Text" layout="Normal">Once more the error to <Font italic="true">x</Font><Font superscript="true">3</Font> zoomed in:</Text-field><Text-field prompt="&gt; " style="Maple Input" layout="Normal">display({p3});</Text-field>
</Input>
</Group>
</Section>
<Section collapsed="true" isCollapsible="true" drawButton="true" MultipleChoiceAnswerIndex="-1" MultipleChoiceRandomizeChoices="false" TrueFalseAnswerIndex="-1" EssayAnswerRows="5" EssayAnswerColumns="60"><Title><Text-field style="Heading 1" layout="Heading 1">Chebyshev polynomials</Text-field></Title>
<Group labelreference="L1000" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">restart;</Text-field>
</Input>
</Group>
<Group labelreference="L1010" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">with(plots):</Text-field>
</Input>
</Group>
<Group hide-input="false" labelreference="L992" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">n:=6;</Text-field>
</Input>
</Group>
<Group labelreference="L990" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">for i from 0 to n do p[i]:=plot(ChebyshevT(i,x),x=-1..1,color=ColorTools:-Color([1-i/n,abs(2*i/n-1),i/n]),legend=i) end do:</Text-field>
</Input>
</Group>
<Group labelreference="L1005" drawlabel="true">
<Input><Text-field style="Text" layout="Normal">First 7 polynomials (not normalized)</Text-field><Text-field prompt="&gt; " style="Maple Input" layout="Normal">display(seq(p[i],i=0..n));</Text-field>
</Input>
</Group>
</Section>
<Section collapsed="true" isCollapsible="true" drawButton="true" MultipleChoiceAnswerIndex="-1" MultipleChoiceRandomizeChoices="false" TrueFalseAnswerIndex="-1" EssayAnswerRows="5" EssayAnswerColumns="60"><Title><Text-field style="Heading 1" layout="Heading 1">Aproximation by the Chebyshev polynomials</Text-field></Title><Text-field style="Text" layout="Normal">Aproximate function sin(<Font italic="true">x</Font><Font encoding="UTF-8">\317\200/2) in [-1,1] by the </Font>Chebyshev polynomials</Text-field>
<Group labelreference="L1055" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">restart;</Text-field>
</Input>
</Group>
<Group labelreference="L1057" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">with(plots):</Text-field>
</Input>
</Group>
<Group hide-input="false" labelreference="L1001" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">n:=3;</Text-field>
</Input>
</Group>
<Group labelreference="L1039" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">Digits:=16:</Text-field>
</Input>
</Group>
<Group hide-input="false" labelreference="L1059" drawlabel="true">
<Input><Text-field style="Text" layout="Normal">Coefficients of the expansion:</Text-field><Text-field prompt="&gt; " style="Maple Input" layout="Normal">for i from 0 to n do a[i]:=evalf(2/Pi*int(sin(x*Pi/2)*ChebyshevT(i,x)/sqrt(1-x^2),x=-1..1)) end do;</Text-field>
</Input>
</Group>
<Group labelreference="L1021" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">p1:=plot(sin(x*Pi/2),x=-1..1,color=black,legend=&quot;sin&quot;):</Text-field>
</Input>
</Group>
<Group labelreference="L1023" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">p2:=plot(a[1]*ChebyshevT(1,x),x=-1..1,color=blue,legend=&quot;Cheb_1&quot;):</Text-field>
</Input>
</Group>
<Group labelreference="L1065" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">p3:=plot(a[1]*ChebyshevT(1,x)+a[3]*ChebyshevT(3,x),x=-1..1,color=red,legend=&quot;Cheb_3&quot;):</Text-field>
</Input>
</Group>
<Group labelreference="L1053" drawlabel="true">
<Input><Text-field style="Text" layout="Normal">Taylor for comparison</Text-field><Text-field prompt="&gt; " style="Maple Input" layout="Normal">p4:=plot(x*Pi/2-(x*Pi/2)^3/6,x=-1..1,color=green,legend=&quot;Taylor_3&quot;):</Text-field>
</Input>
</Group>
<Group labelreference="L1030" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">display({p1,p2,p3,p4});</Text-field>
</Input>
</Group>
<Group labelreference="L1028" drawlabel="true">
<Input><Text-field style="Text" layout="Normal">Errors of the approximation</Text-field><Text-field prompt="&gt; " style="Maple Input" layout="Normal">p2:=plot(a[1]*ChebyshevT(1,x)-sin(x*Pi/2),x=-1..1,color=blue,legend=&quot;Cheb_1&quot;):</Text-field>
</Input>
</Group>
<Group labelreference="L1061" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">p3:=plot(a[1]*ChebyshevT(1,x)+a[3]*ChebyshevT(3,x)-sin(x*Pi/2),x=-1..1,color=red,legend=&quot;Cheb_3&quot;):</Text-field>
</Input>
</Group>
<Group labelreference="L1048" drawlabel="true">
<Input><Text-field style="Text" layout="Normal">Taylor for comparison</Text-field><Text-field prompt="&gt; " style="Maple Input" layout="Normal">p4:=plot(x*Pi/2-(x*Pi/2)^3/6-sin(x*Pi/2),x=-1..1,color=green,legend=&quot;Taylor_3&quot;):</Text-field>
</Input>
</Group>
<Group labelreference="L1024" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">display({p2,p3,p4});</Text-field>
</Input>
</Group>
<Group labelreference="L1046" drawlabel="true">
<Input><Text-field style="Text" layout="Normal">Once more the error to <Font italic="true">x</Font><Font superscript="true">3</Font> zoomed in:</Text-field><Text-field prompt="&gt; " style="Maple Input" layout="Normal">display({p3});</Text-field>
</Input>
</Group>
<Group labelreference="L1016" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field style="Text" layout="Normal">The max error is half of the error of the approximation by Legendre polynomials of the same order.</Text-field><Text-field style="Text" layout="Normal"></Text-field><Text-field style="Text" layout="Normal"><Font bold="true">Shortcut:</Font> The approximation by Chebyshev polynomials can be obtained directly by (the last parameter is the precision).</Text-field><Text-field prompt="&gt; " style="Maple Input" layout="Normal">with(numapprox):</Text-field>
</Input>
</Group>
<Group hide-input="false" labelreference="L1006" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">ch:=chebyshev(sin(x*Pi/2),x=-1..1,0.1);</Text-field>
</Input>
</Group>
<Group hide-input="false" labelreference="L1002" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field style="Text" layout="Normal">cannot use 'expand', this is the trick:</Text-field><Text-field prompt="&gt; " style="Maple Input" layout="Normal">pol:=eval(ch,T=orthopoly[T]);</Text-field>
</Input>
</Group>
<Group hide-input="false" labelreference="L1013" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">expand(a[1]*ChebyshevT(1,x)+a[3]*ChebyshevT(3,x)-pol);</Text-field>
</Input>
</Group>
</Section>
<Section collapsed="true" isCollapsible="true" drawButton="true" MultipleChoiceAnswerIndex="-1" MultipleChoiceRandomizeChoices="false" TrueFalseAnswerIndex="-1" EssayAnswerRows="5" EssayAnswerColumns="60"><Title><Text-field style="Heading 1" layout="Heading 1">Comparison of Legendre and Chebyshev approximations</Text-field></Title>
<Group labelreference="L1238" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">restart;</Text-field>
</Input>
</Group>
<Group labelreference="L1239" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">with(plots):</Text-field>
</Input>
</Group>
<Group labelreference="L1240" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">L3:=plot(1.553191199*x - 0.5622283270*x^3 - sin(x*Pi/2),x=-1..1,color=blue,legend=&quot;Legendre_3&quot;):</Text-field>
</Input>
</Group>
<Group labelreference="L1242" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">C3:=plot(1.547863507573324*x - 0.5522871063487684*x^3 - sin(x*Pi/2),x=-1..1,color=red,legend=&quot;Chebyshev_3&quot;):</Text-field>
</Input>
</Group>
<Group labelreference="L1241" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">display({L3,C3});</Text-field>
</Input>
</Group>
</Section>
<Section collapsed="true" isCollapsible="true" drawButton="true" MultipleChoiceAnswerIndex="-1" MultipleChoiceRandomizeChoices="false" TrueFalseAnswerIndex="-1" EssayAnswerRows="5" EssayAnswerColumns="60"><Title><Text-field style="Heading 1" layout="Heading 1">Interpolation by a polynomial and a rational function</Text-field></Title><Text-field style="Text" layout="Normal"><Font bold="true">a) </Font>Interpolate points sin(<Font italic="true">x</Font>), <Font italic="true">x</Font>=<Font italic="true">n</Font><Font encoding="UTF-8">\317\200/6, </Font><Font italic="true">n</Font>=0..3, by the Lagrange polynomial and show the difference of this polynomial from function sin(<Font italic="true">x</Font>).</Text-field>
<Group hide-input="false" labelreference="L1031" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">restart;</Text-field>
</Input>
</Group>
<Group hide-input="false" labelreference="L1051" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">xtab:=map(x-&gt;x*Pi/6,[$ 0..3]);</Text-field>
</Input>
</Group>
<Group hide-input="false" labelreference="L1049" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">ytab:=map(x-&gt;sin(x),xtab);</Text-field>
</Input>
</Group>
<Group labelreference="L1262" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">Pnodes:=plot(xtab,ytab,color=blue,style=point,legend=&quot;nodes&quot;):</Text-field>
</Input>
</Group>
<Group hide-input="false" labelreference="L1063" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">y:=ytab[1]*(x-xtab[2])/(xtab[1]-xtab[2])*(x-xtab[3])/(xtab[1]-xtab[3])*(x-xtab[4])/(xtab[1]-xtab[4])
  +ytab[2]*(x-xtab[1])/(xtab[2]-xtab[1])*(x-xtab[3])/(xtab[2]-xtab[3])*(x-xtab[4])/(xtab[2]-xtab[4])
  +ytab[3]*(x-xtab[1])/(xtab[3]-xtab[1])*(x-xtab[2])/(xtab[3]-xtab[2])*(x-xtab[4])/(xtab[3]-xtab[4])
  +ytab[4]*(x-xtab[1])/(xtab[4]-xtab[1])*(x-xtab[2])/(xtab[4]-xtab[2])*(x-xtab[3])/(xtab[4]-xtab[3]);</Text-field>
</Input>
</Group><Text-field style="Text" layout="Normal"></Text-field>
<Group labelreference="L1020" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">with(plots):</Text-field>
</Input>
</Group>
<Group labelreference="L1058" drawlabel="true">
<Input><Text-field style="Text" layout="Normal">accurately:</Text-field><Text-field prompt="&gt; " style="Maple Input" layout="Normal">p1:=plot(sin(x),x=-Pi/2..Pi,color=black,legend=&quot;exact&quot;):</Text-field>
</Input>
</Group>
<Group labelreference="L1062" drawlabel="true">
<Input><Text-field style="Text" layout="Normal">polynomial:</Text-field><Text-field prompt="&gt; " style="Maple Input" layout="Normal">p2:=plot(y,x=-Pi/2..Pi,color=red,legend=&quot;poly&quot;):</Text-field>
</Input>
</Group>
<Group labelreference="L1060" drawlabel="true">
<Input><Text-field style="Text" layout="Normal"><Font encoding="UTF-8">NB: interpolated in [0,\317\200/2], shown in wider interval [-\317\200/2,\317\200]</Font></Text-field><Text-field prompt="&gt; " style="Maple Input" layout="Normal">display({p1,p2,Pnodes});</Text-field>
</Input>
</Group>
<Group labelreference="L1287" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">Znodes:=plot(xtab,[0,0,0,0],color=blue,style=point,legend=&quot;nodes&quot;):</Text-field>
</Input>
</Group>
<Group labelreference="L1022" drawlabel="true">
<Input><Text-field style="Text" layout="Normal">The difference shown in <Font encoding="UTF-8">[-\317\200/8,\317\200/2+\317\200/8]</Font></Text-field><Text-field prompt="&gt; " style="Maple Input" layout="Normal"><Font encoding="UTF-8">pd1:=plot(y-sin(x),x=-Pi/8..Pi/2+Pi/8,color=green,legend=&quot;poly \342\210\222 exact&quot;):</Font></Text-field>
</Input>
</Group>
<Group labelreference="L1434" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">display(pd1,Znodes);</Text-field>
</Input>
</Group>
<Group hide-input="false" labelreference="L981" drawlabel="true">
<Input><Text-field style="Text" layout="Normal"><Font bold="true">b) As above, but use function </Font><Font italic="true">f</Font>(<Font italic="true">x</Font>)=(<Font italic="true">a</Font>+<Font italic="true">bx</Font>+<Font italic="true">cx</Font><Font encoding="UTF-8">\302\262</Font>)/(1+<Font italic="true">dx</Font>), with the same number of parameters.</Text-field><Text-field prompt="&gt; " style="Maple Input" layout="Normal">f:=x-&gt;(a+b*x+c*x^2)/(1+d*x);</Text-field>
</Input>
</Group>
<Group labelreference="L1036" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">#f:=x-&gt;(a+b*x)/(1+c*x+d*x^2);</Text-field>
</Input>
</Group>
<Group labelreference="L980" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal"># f:=x-&gt;(a+b*x+c*x^2+d*x^3);</Text-field>
</Input>
</Group>
<Group hide-input="false" labelreference="L1032" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">eq1:=f(xtab[1])=ytab[1];</Text-field>
</Input>
</Group>
<Group hide-input="false" labelreference="L1034" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">eq2:=f(xtab[2])=ytab[2];</Text-field>
</Input>
</Group>
<Group hide-input="false" labelreference="L1026" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">eq3:=f(xtab[3])=ytab[3];</Text-field>
</Input>
</Group>
<Group hide-input="false" labelreference="L1038" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">eq4:=f(xtab[4])=ytab[4];</Text-field>
</Input>
</Group>
<Group hide-input="false" labelreference="L979" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">res:=solve({eq1,eq2,eq3,eq4},{a,b,c,d});</Text-field>
</Input>
</Group>
<Group labelreference="L1027" drawlabel="true">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">assign(res);</Text-field>
</Input>
</Group>
<Group labelreference="L984" drawlabel="true">
<Input><Text-field style="Text" layout="Normal">Deviations from the rational function <Font italic="true">f</Font>(<Font italic="true">x</Font>)</Text-field><Text-field prompt="&gt; " style="Maple Input" layout="Normal"><Font encoding="UTF-8">pdr:=plot(f(x)-sin(x),x=-Pi/6..Pi*4/6,color=red,legend=&quot;poly/poly \342\210\222 exact&quot;):</Font></Text-field>
</Input>
</Group>
<Group labelreference="L1029" drawlabel="true">
<Input><Text-field style="Text" layout="Normal">Here the polynomial approximation works better:</Text-field><Text-field prompt="&gt; " style="Maple Input" layout="Normal">display(pd1,pdr,Znodes);</Text-field>
</Input>
</Group>
<Group hide-input="false" labelreference="L1056" drawlabel="true">
<Input><Text-field style="Text" layout="Normal"><Font bold="true">Shortcut:</Font> how to construct a polynomial going through given points</Text-field>
</Input>
</Group>
<Group hide-input="false" labelreference="L1070" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">pairs:=map(i-&gt;[xtab[i],ytab[i]],[$ 1..4]);</Text-field>
</Input>
</Group>
<Group hide-input="false" labelreference="L1064" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">yshortcut:=CurveFitting[PolynomialInterpolation](pairs,x)</Text-field>
</Input>
</Group>
<Group hide-input="false" labelreference="L1068" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">expand(y-yshortcut)</Text-field>
</Input>
</Group>
<Group labelreference="L1433" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
</Section>
</Worksheet>