<?xml version="1.0" encoding="UTF-8"?>
<Worksheet><Version major="6" minor="1"/><View-Properties><Zoom percentage="100"/></View-Properties><Styles><Layout alignment="left" name="Input"/><Layout alignment="left" name="Text"/><Layout alignment="left" bullet="none" firstindent="0.0" leftmargin="0.0" linebreak="space" linespacing="0.0" name="Normal" rightmargin="0.0" spaceabove="0.0" spacebelow="0.0"/><Layout alignment="left" name="Title"/><Font background="[0,0,0]" bold="true" executable="true" family="Monospaced" foreground="[255,0,0]" name="Maple Input" opaque="false" size="12"/><Font background="[0,0,0]" family="Times New Roman" name="Text" size="12"/><Font background="[0,0,0]" bold="true" family="Times New Roman" name="_S1" size="12"/><Font background="[0,0,0]" bold="true" executable="true" family="Monospaced" foreground="[255,0,0]" name="Input" size="12"/><Font background="[0,0,0]" family="Arial" name="Title" size="36"/></Styles><Text-field spacebelow="15.0"><Font background="[0,0,0]" family="Times New Roman"> </Font></Text-field><Group><Text-field layout="Title" style="Title">Explorations of the Alternating Harmonic Series</Text-field></Group><Text-field spacebelow="1.0"><Font background="[0,0,0]" family="Times New Roman" size="9"> </Font></Text-field><Group><Text-field layout="Text" style="Text">This notebook provides explorations of the rearrangements of the alternating harmonic series. Click on the formula given below and then press the ENTER key. When you are asked if you want to evaluate all the initialization cells, answer YES. When Mathematica warns that there might be a problem, proceed and answer EVALUATE.</Text-field></Group><Group><Text-field layout="Text" style="Text">The command AHS[r,s,m] calculates the sum of the first (r+s)m terms from the rearranged alternating harmonic series in which we rearrange the series so that the first r positive terms are followed by the first s negative terms, then the next r positive terms followed by the next s negative terms, and so on. Check the value of the original alternating harmonic series and the series with r=1, s=2, both taken out to a total of six million terms.</Text-field></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input">AHS := (r, s, m) -&gt; evalf(Sum(1/(2*j-1),j = 1 .. r*m))-evalf(Sum(1/2/j,j = 1 .. s*m)) ;</Text-field></Input></Group><Group><Input><Text-field layout="Input" prompt="&gt; " style="Input">AHS(2,3,100000);</Text-field></Input></Group><Group><Input><Text-field layout="Input" prompt="&gt; " style="Input">AHS(1,2,2000000);</Text-field></Input></Group><Group><Text-field layout="Text" style="Text">The command AHSGraph[r,s,m] finds the sum of the first (r+s)m terms of the alternating harmonic series as well 20 partials sums. It lists the values of these partial sums and plots their values.</Text-field></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input">AHSList := (r,s,m) -&gt; [seq([(r+s)*floor(k*m/20)+r*(k-2*floor(1/2*k)), AHS(r,s,floor(k*m)/20)],k = 1 .. 20)];</Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input">AHSList(2,3,1000);</Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input">plots[listplot](AHSList(2,3,1000));</Text-field></Input></Group><Group><Text-field layout="Text" style="_S1">Challenge problem</Text-field></Group><Group><Text-field layout="Text" style="Text">We know that lim_{m -&gt; <Equation executable="true" style="Text">SSlpbmZpbml0eUclKnByb3RlY3RlZEc=</Equation>}AHS(1, 1, m) = Log[2] and lim_{m -&gt; <Equation executable="true" style="Text">SSlpbmZpbml0eUclKnByb3RlY3RlZEc=</Equation>}AHS(1, 2, m) = log(2)\/2. There is a general formula for lim_{m -&gt; <Equation executable="true" style="Text">SSlpbmZpbml0eUclKnByb3RlY3RlZEc=</Equation>} AHS(r, s, m). Try to guess it .  You may want to use the Inverse Symbolic Calculator at http://www.cecm.sfu.ca/projects/ISC/ISCmain.html .  The ISC takes a decimal and returns all exact quantities (such as log 2) whose decimal digits agree with those that have been entered.</Text-field></Group><Text-field/></Worksheet>
