<?xml version="1.0" encoding="UTF-8"?>
<Worksheet><Version major="6" minor="1"/><View-Properties><Zoom percentage="100"/></View-Properties><Styles><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"/><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]" bold="false" executable="false" family="Lucida Bright" foreground="[0,0,0]" italic="false" name="Text" opaque="false" size="12" underline="false"/></Styles><Group><Input><Text-field layout="Normal" style="Text"/><Text-field layout="Normal" style="Text">Section 2.2:  Small changes can result in large changes in the solution.  Here are the solutions</Text-field><Text-field layout="Normal" style="Text">to problems 33, 34  and 35 (You'll insert the command for Problem 36)</Text-field><Text-field layout="Normal" style="Text"/></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input">#Problem 33:    (Note: You can insert comments using the # sign)</Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input">F1:=int(1/(y-1)^2,y)=x+C;</Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input">#Problem 33, solve for C:</Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"> solve( subs({x=0,y=1},F1), C);</Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input">#Oops!  y=1 was an equilibrium solution!</Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input">F1:=1;</Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input">#Problem 34:  I copied off the integral above, and repeated the steps</Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input">F2:=int(1/(y-1)^2,y)=x+C;</Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input">solve( subs({x=0,y=101/100},F2), C);</Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input">solve(F2,y);</Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input">F2:=(-1+x-100)/(x-100);</Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input">#Space for Problem 35</Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input">F3:=int(1/((y-1)^2+0.01),y)=x+C;</Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input">solve( subs({x=0,y=1},F3), C);</Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input">solve( subs(C=0,F3), y);</Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input">F3:=1+0.1*tan(0.1*x);</Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input">#Space for Problem 36</Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input">#Plot the functions together, close to the point (0,1)</Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input">plot([F1,F2,F3],x=-12..12,y=0..2,color=[red,black,blue]);</Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input></Group><Group><Input><Text-field layout="Normal" style="Text"/><Text-field layout="Normal" style="Text">Section 2.2:  Separation of Variables with Level Curves</Text-field><Text-field layout="Normal" style="Text"/><Text-field layout="Normal" style="Text">  Here is the solution to Problem 48:  (1)  Solve y'=(8x+5)/(3y^2+1)  (2) Plot the level curves  (3) Plot the solutions</Text-field><Text-field layout="Normal" style="Text">corresponding to initial conditions: (0,-1), (0,2), (-1, 4), (-1, -3)</Text-field><Text-field layout="Normal" style="Text"/><Text-field layout="Normal" style="Text">  Rather than using Maple's built-in solver, we'll solve this manually using separation of variables.  Note</Text-field><Text-field layout="Normal" style="Text">that: </Text-field><Text-field layout="Normal" style="Text"/><Text-field layout="Normal" style="Text">  (3y^2+1)dy = 8x+5  dx</Text-field><Text-field layout="Normal" style="Text"/></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input">Eqn1:=int(3*y^2+1,y)=int(8*x+5,x)+C;</Text-field></Input></Group><Group><Input><Text-field layout="Normal" style="Text"/><Text-field layout="Normal" style="Text">To plot level curves, convert this to the form: f(x,y)=C, so that f(x,y)=y^3+y-4x^2+5x</Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input">f:=y^3+y-4*x^2+5*x;</Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input">with(plots):</Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input">contourplot(f,x=-3..3,y=-3..3);</Text-field></Input></Group><Group><Input><Text-field layout="Normal" style="Text"/><Text-field layout="Normal" style="Text">We can plot the individual solution curves by using "implicitplot" after solving for C.  For example, if the initial</Text-field><Text-field layout="Normal" style="Text">condition was (0,-1):</Text-field><Text-field layout="Normal" style="Text"/></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input">C1:=subs({x=0,y=-1},f);</Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input">implicitplot(f=C1,x=-3..3,y=-3..3);</Text-field></Input></Group><Group><Input><Text-field layout="Normal" style="Text"/><Text-field layout="Normal" style="Text">Equivalently, we can define which contours to plot.  The first initial condition corresponds to the level curve at -2.  We can define the others as well:</Text-field><Text-field layout="Normal" style="Text"/></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input">C2:=subs({x=0,y=2},f);  C3:=subs({x=-1,y=4},f);  C4:=subs({x=-1,y=-3},f);</Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input">contourplot(f,x=-5..5,y=-5..5,grid=[25,25],contours=[C1,C2,C3,C4]);</Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input></Group><Text-field/></Worksheet>