<?xml version="1.0" encoding="UTF-8"?>
<Worksheet><Version major="6" minor="0"/><View-Properties><Zoom percentage="100"/></View-Properties><Styles><Layout alignment="left" firstindent="0.0" leftmargin="0.0" linebreak="space" linespacing="0.0" name="Heading 2" rightmargin="0.0" spaceabove="8.0" spacebelow="2.0"/><Layout alignment="left" firstindent="0.0" leftmargin="0.0" linebreak="space" linespacing="0.0" name="Heading 1" rightmargin="0.0" spaceabove="8.0" spacebelow="4.0"/><Layout alignment="left" 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="false" family="Times New Roman" foreground="[0,0,0]" italic="false" name="Heading 2" readonly="false" size="14" underline="false"/><Font background="[0,0,0]" bold="true" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" name="Heading 1" readonly="false" size="18" underline="false"/><Font background="[0,0,0]" bold="true" executable="true" family="Monospaced" foreground="[255,0,0]" name="Maple Input"/><Font background="[0,0,0]" family="Times New Roman" name="Page Number" underline="false"/><Font background="[0,0,0]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" name="Normal" readonly="false" size="12" underline="false"/><Font background="[0,0,0]" bold="true" name="_cstyle256" size="24"/><Font background="[0,0,0]" family="Times New Roman" name="2D Comment" underline="false"/></Styles><Page-Numbers enabled="false" first-number="1" first-numbered-page="1" horizontal-location="right" style="Page Number" vertical-location="bottom"/><Text-field layout="Normal" style="Normal"><Font encoding="ISO8859-1" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" style="_cstyle256" underline="false">\334bung 7 - 24.05.04</Font></Text-field><Text-field layout="Normal" style="Normal"/><Section collapsed="true"><Title><Text-field layout="Heading 1" style="Heading 1">Funktionen</Text-field></Title><Text-field layout="Normal" style="Normal"/><Section collapsed="true"><Title><Text-field layout="Heading 2" style="Heading 2">List Tools</Text-field></Title><Text-field layout="Normal" style="Normal"/><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false">Length  := proc(ll) return nops(ll); end proc:
Last    := proc(ll) return op(-1, ll); end proc:
Append  := proc(ll, x) return [op(ll), x]; end proc:
Prepend := proc(ll, x) return [x, op(ll)]; end proc:
Member  := proc(ll, p) return op(p, ll); end proc:
Take    := proc(ll, n)
             if n &gt; 0 then return [ op(1..n, ll) ]
             elif n &lt; 0 then return [ op(n..-1, ll) ]
             end if;  
           end proc:
Total   := proc(ll)
             local i;
             return sum(Member(ll,i),i=1..Length(ll));
           end proc:
Count   := proc(ll, x)
             local i,r;
             r := 0;
             for i from 1 by 1 to Length(ll) do
                if Member(ll,i) = x then r := r+1 end if;
             end do;
             return r;
            end proc:
Times   := proc(l1, l2)
             local i, r;
             r := [];
             if Length(l1) = Length(l2) then
               for i from 1 to Length(l1) do
                 r := Append(r, Member(l1, i)*Member(l2, i));
               end do: 
             end if;
             return r;
           end proc:</Font></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"><Font italic="false" size="12" underline="false">with(plots):</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input></Group><Text-field layout="Normal" style="Normal"/></Section><Text-field layout="Normal" style="Normal"/><Section><Title><Text-field layout="Heading 2" style="Heading 2">Einfache Quadraturen</Text-field></Title><Text-field layout="Normal" style="Normal"/><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false"># trapez: integriert fnc im Intervall [a,b] mit Schrittweite n nach der
#         Trapezformel
#</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false">trapez := proc(fnc,n,a,b)
  local h,i,res;
  h := (b-a)/n;
  res := (fnc(a)+fnc(b))/2;
  res := res+sum(fnc(a+i*h), i=1..n-1);
  return evalf(res*h);
end proc:</Font></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"><Font italic="false" size="12" underline="false"># mitte: integriert fnc im Intervall [a,b] mit Schrittweite 2n nach der
#        Mittelpunktsformel
#</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false">mitte := proc(fnc,n,a,b)
  local h,i,res;
  h := (b-a)/(2*n);
  res := 0;
  for i from 1 by 2 to 2*n-1 do
    res := res+fnc(a+i*h);
  end do;
  return evalf(res*2*h);
end proc:</Font></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"><Font italic="false" size="12" underline="false"># simpson: integriert fnc im Intervall [a,b] mit Schrittweite 2n nach der
#          Simpson'schen Regel
#</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false">simpson := proc(fnc,n,a,b)
  local h,i,res,s;
  h := (b-a)/(2*n);
  res := fnc(a)+fnc(b);
  s := 0;
  for i from 1 by 2 to 2*n-1 do
    s := s+fnc(a+i*h);
  end do;
  res := res+4*s;
  s := 0;
  for i from 2 by 2 to 2*n-2 do
    s := s+fnc(a+i*h);
  end do;
  res := res+2*s;
  return evalf(res*h/3);
end proc:</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input></Group><Text-field layout="Normal" style="Normal"/></Section><Text-field layout="Normal" style="Normal"/><Section><Title><Text-field layout="Heading 2" style="Heading 2">Gauss'sche Quadratur</Text-field></Title><Text-field layout="Normal" style="Normal"/><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font encoding="ISO8859-1" italic="false" size="12" underline="false"># rnl, cnl: Nullstellen und Koeffizienten der Lagrange-Ploynome f\374r n=2..5</Font><Font italic="false" size="12" underline="false">
#</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false">rnl := [
         [-1/sqrt(3), 1/sqrt(3)], [-sqrt(3/5), 0, sqrt(3/5)],
         [-sqrt((3 + 2*sqrt(6/5))/7), -sqrt((15 - 2*sqrt(30))/35), 
           sqrt((15 - 2*sqrt(30))/35), sqrt((3 + 2*sqrt(6/5))/7)],
         [-sqrt((5 + 2*sqrt(10/7))/9), -sqrt((35 - 2*sqrt(70))/63), 0, 
           sqrt((35 - 2*sqrt(70))/63), sqrt((5 + 2*sqrt(10/7))/9)]
       ]:</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false">cnl := [
         [1, 1], [0.5555555556, 0.8888888889, 0.5555555556],
         [0.3478548451, 0.6521451549, 0.6521451549, 0.3478548451],
         [0.2369268850, 0.4786286705, 0.5688888889, 0.4786286705, 0.2369268850]
       ]:</Font></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"><Font italic="false" size="12" underline="false"># gauss: integriert fnc im Intervall [a,b] mit Guass'scher Quadratur der
#        Ordnung n
#</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false">gauss := proc(fnc,n,a,b)
  local res,i,rl,cl,s;
  if n&lt;2 or n&gt;5 then return 0; end if;
  res := (b-a)/2;
  rl := Member(rnl,n-1);
  cl := Member(cnl,n-1);
  s := sum(Member(cl,i)*fnc(((b-a)*Member(rl,i)+a+b)/2), i=1..n);
  return evalf(res*s);
end proc:</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input></Group><Text-field layout="Normal" style="Normal"/></Section><Text-field layout="Normal" style="Normal"/><Section><Title><Text-field layout="Heading 2" style="Heading 2">Romberg-Integration</Text-field></Title><Text-field layout="Normal" style="Normal"/><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false"># romb: Integriert nach Romberg-Schema
# </Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false">romb := proc(fnc,a,b,k,j)
  local r,h,res;
  h := u -&gt; (b-a)/2^(u-1);
  r := proc(u,v)
    option remember;
    local i;
    if u=1 and v=1 then
      return( (fnc(a)+fnc(b))*(b-a)/2 );
    elif v=1 then
      return( (1/2)*(r(u-1,1)+h(u-1)*sum(fnc(a+(2*i-1)*h(u)),i=1..2^(u-2))) );
    else
      return( r(u,v-1)+(r(u,v-1)-r(u-1,v-1))/(4^(v-1)-1) );
    end if;
  end proc;
  res :=r(k,j); 
  return evalf(res);
end proc:</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input></Group><Text-field layout="Normal" style="Normal"/></Section><Text-field layout="Normal" style="Normal"/></Section><Text-field layout="Normal" style="Normal"/><Section collapsed="true"><Title><Text-field layout="Heading 1" style="Heading 1">Aufgabe 1</Text-field></Title><Text-field layout="Normal" style="Normal"/><Text-field layout="Normal" style="Normal">AWP:  <Equation input-equation="y[tt]+c[1]*y[t]+y^3 = c[2]*sin(t);" style="2D Comment">NiMvLCgmJSJ5RzYjJSN0dEciIiIqJiYlImNHNiNGKUYpJkYmNiMlInRHRilGKSokRiYiIiRGKSomJkYsNiMiIiNGKS0lJHNpbkdGL0Yp</Equation>  ,  <Equation input-equation="y(0) = 1;" style="2D Comment">NiMvLSUieUc2IyIiISIiIg==</Equation>  ,  <Equation input-equation="y[t](0) = 0;" style="2D Comment">NiMvLSYlInlHNiMlInRHNiMiIiFGKg==</Equation>    <Equation input-equation="c[1] = 5*10^(-2);" style="2D Comment">NiMvJiUiY0c2IyIiIiomIiImRicpIiM1LCQiIiMhIiJGJw==</Equation>  ,  <Equation input-equation="c[2] = 7.5;" style="2D Comment">NiMvJiUiY0c2IyIiIy0lJkZsb2F0RzYkIiN2ISIi</Equation>   ,  0 &lt;= t &lt;= 100</Text-field><Text-field layout="Normal" style="Normal"/><Text-field layout="Normal" style="Normal">DGL-System:   <Equation input-equation="u1[t] = u2;" style="2D Comment">NiMvJiUjdTFHNiMlInRHJSN1Mkc=</Equation>  ,  <Equation input-equation="u2[t] = c[2]*sin(t)-c[1]*u2-u1^3;" style="2D Comment">NiMvJiUjdTJHNiMlInRHLCgqJiYlImNHNiMiIiMiIiItJSRzaW5HRiZGLkYuKiYmRis2I0YuRi5GJUYuISIiKiQlI3UxRyIiJEY0</Equation>  ,  <Equation input-equation="u1(0) = 1;" style="2D Comment">NiMvLSUjdTFHNiMiIiEiIiI=</Equation>  ,  <Equation input-equation="u2(0) = 0;" style="2D Comment">NiMvLSUjdTJHNiMiIiFGJw==</Equation>  </Text-field><Text-field layout="Normal" style="Normal"/><Text-field layout="Normal" style="Normal"/><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false"># Approximation
#</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false">c1 := 0.05:
c2 := 7.5:
f1 := (t,u1,u2) -&gt; u2: 
f2 := (t,u1,u2) -&gt; c2*sin(t)-c1*u2-u1^3:</Font></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"><Font italic="false" size="12" underline="false">a := 0:
b := 100:
n := 3000:
h := (b-a)/n:</Font></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"><Font italic="false" size="12" underline="false">au1 := [1]:
au2 := [0]:</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false">for i from 0 to n-1 do

  k11 := evalf( h*f1(a+i*h, Last(au1), Last(au2)));
  k12 := evalf( h*f2(a+i*h, Last(au1), Last(au2)));
  
  k21 := evalf( h*f1( a+(i+1/2)*h, Last(au1)+k11/2, Last(au2)+k12/2));
  k22 := evalf( h*f2( a+(i+1/2)*h, Last(au1)+k11/2, Last(au2)+k12/2));
  
  k31 := evalf( h*f1( a+(i+1/2)*h, Last(au1)+k21/2, Last(au2)+k22/2));
  k32 := evalf( h*f2( a+(i+1/2)*h, Last(au1)+k21/2, Last(au2)+k22/2));
    
  k41 := evalf( h*f1( a+(i+1)*h, Last(au1)+k31, Last(au2)+k32));
  k42 := evalf( h*f2( a+(i+1)*h, Last(au1)+k31, Last(au2)+k32));

  au1 := Append(au1, Last(au1)+(1/6)*(k11+2*k21+2*k31+k41));
  au2 := Append(au2, Last(au2)+(1/6)*(k12+2*k22+2*k32+k42));
  
end do:</Font></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"><Font italic="false" size="12" underline="false">plist := []:
for i from 1 to n do
   plist := Append( plist, [ Member(au1,i), Member(au2,i) ] );
end do:</Font></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"><Font italic="false" size="12" underline="false">listplot(plist);</Font></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><Text-field layout="Normal" style="Normal"/></Section><Text-field layout="Normal" style="Normal"/><Section collapsed="true"><Title><Text-field layout="Heading 1" style="Heading 1">Aufgabe 2</Text-field></Title><Text-field layout="Normal" style="Normal"/><Text-field layout="Normal" style="Normal">DGL's:</Text-field><Text-field layout="Normal" style="Normal">  Beute:  <Equation input-equation="x[t] = x*(c[1]*y-c[2]);" style="2D Comment">NiMvJiUieEc2IyUidEcqJkYlIiIiLCYqJiYlImNHNiNGKUYpJSJ5R0YpRikmRi02IyIiIyEiIkYp</Equation>    =&gt;   u1 = x  </Text-field><Text-field layout="Normal" style="Normal"><Font encoding="ISO8859-1">  J\344ger:   </Font><Equation input-equation="y[t] = y*(c[3]-c[4]*x);" style="2D Comment">NiMvJiUieUc2IyUidEcqJkYlIiIiLCYmJSJjRzYjIiIkRikqJiZGLDYjIiIlRiklInhHRikhIiJGKQ==</Equation>    =&gt;   u2 = y</Text-field><Text-field layout="Normal" style="Normal"/><Text-field layout="Normal" style="Normal"><Font encoding="ISO8859-1">Stabile L\366sungen:  </Font><Equation input-equation="x(0) = 0,y(0) = 0;" style="2D Comment">NiQvLSUieEc2IyIiIUYnLy0lInlHRiZGJw==</Equation>  und  <Equation input-equation="x(0) = 1500,y(0) = 500;" style="2D Comment">NiQvLSUieEc2IyIiISIlKzovLSUieUdGJiIkKyY=</Equation> </Text-field><Text-field layout="Normal" style="Normal"/><Text-field layout="Normal" style="Normal"/><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false"># Approximation: u1(t) = x(t), u2(t) = y(t)
#</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false">c1 := 0.0008:  c2 := 0.4:
c3 := 3.0:     c4 := 0.002:
f1 := (t,u1,u2) -&gt; u1*(c1*u2-c2):
f2 := (t,u1,u2) -&gt; u2*(c3-c4*u1):</Font></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"><Font italic="false" size="12" underline="false">a := 0:
b := 100:
n := 1000:
h := (b-a)/n:</Font></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"><Font italic="false" size="12" underline="false">au1 := [1500]:
au2 := [500]:</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false">for i from 0 to n-1 do

  k11 := evalf( h*f1(a+i*h, Last(au1), Last(au2)));
  k12 := evalf( h*f2(a+i*h, Last(au1), Last(au2)));
  
  k21 := evalf( h*f1( a+(i+1/2)*h, Last(au1)+k11/2, Last(au2)+k12/2));
  k22 := evalf( h*f2( a+(i+1/2)*h, Last(au1)+k11/2, Last(au2)+k12/2));
  
  k31 := evalf( h*f1( a+(i+1/2)*h, Last(au1)+k21/2, Last(au2)+k22/2));
  k32 := evalf( h*f2( a+(i+1/2)*h, Last(au1)+k21/2, Last(au2)+k22/2));
    
  k41 := evalf( h*f1( a+(i+1)*h, Last(au1)+k31, Last(au2)+k32));
  k42 := evalf( h*f2( a+(i+1)*h, Last(au1)+k31, Last(au2)+k32));

  au1 := Append(au1, Last(au1)+(1/6)*(k11+2*k21+2*k31+k41));
  au2 := Append(au2, Last(au2)+(1/6)*(k12+2*k22+2*k32+k42));
  
end do:</Font></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"><Font italic="false" size="12" underline="false">plist := []:
for i from 1 to n do
   plist := Append( plist, [ Member(au1,i), Member(au2,i) ] );
end do:</Font></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"><Font italic="false" size="12" underline="false">listplot(plist);</Font></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"><Font encoding="ISO8859-1" italic="false" size="12" underline="false"># Stabile L\366sung</Font><Font italic="false" size="12" underline="false">
#</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false">solve( {x*(c1*y-c2) = 0, y*(c3-c4*x) = 0}, {x,y} );</Font></Text-field><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input></Group><Text-field layout="Normal" style="Normal"/></Section><Text-field layout="Normal" style="Normal"/><Section collapsed="true"><Title><Text-field layout="Heading 1" style="Heading 1">Aufgabe 3</Text-field></Title><Text-field layout="Normal" style="Normal"/><Text-field layout="Normal" style="Normal">Zu Aufgabe (b):</Text-field><Text-field layout="Normal" style="Normal"/><Text-field layout="Normal" style="Normal"><Font encoding="ISO8859-1">Lineare Interpolation:  St\374tzwerte (</Font><Equation input-equation="x[1],y[1];" style="2D Comment">NiQmJSJ4RzYjIiIiJiUieUdGJQ==</Equation>) und (<Equation input-equation="x[2],y[2];" style="2D Comment">NiQmJSJ4RzYjIiIjJiUieUdGJQ==</Equation>)</Text-field><Text-field layout="Normal" style="Normal">   Interpolationsgerade im Intervall [<Equation input-equation="x[1],x[2];" style="2D Comment">NiQmJSJ4RzYjIiIiJkYkNiMiIiM=</Equation>] :  <Equation input-equation="y(x) = a(x-x[1])+y[1];" style="2D Comment">NiMvLSUieUc2IyUieEcsJi0lImFHNiMsJkYnIiIiJkYnNiNGLSEiIkYtJkYlRi9GLQ==</Equation> , wobei <Equation input-equation="a = (y[2]-y[1])/(x[2]-x[1]);" style="2D Comment">NiMvJSJhRyomLCYmJSJ5RzYjIiIjIiIiJkYoNiNGKyEiIkYrLCYmJSJ4R0YpRismRjFGLUYuRi4=</Equation> </Text-field><Text-field layout="Normal" style="Normal"/><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false"># (a)
#</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false">f := x -&gt; sqrt(1+cos(x)^2):</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false">g := x -&gt; simpson(f,32,0,x):</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false">plot(g(x),x=1..50);</Font></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"><Font encoding="ISO8859-1" italic="false" size="12" underline="false"># Lineare Interpolation zwischen x1=31 und x2=32 f\374r x=31.5</Font><Font italic="false" size="12" underline="false">
#</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false">y1 := g(31);
y2 := g(32);
lp := (y2-y1)*0.5+y1;
g(31.5);</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false">(g(32)+g(31))/2;</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false"># Vergleich Maple-intern
#</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false">l := seq( evalf( int( f(x),x=0..k)), k=1..50):</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false">listplot([l]);</Font></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"><Font italic="false" size="12" underline="false">Member([l],32);</Font></Text-field><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input></Group><Text-field layout="Normal" style="Normal"/></Section><Text-field layout="Normal" style="Normal"/><Text-field layout="Normal" style="Normal"/><Text-field layout="Normal" style="Normal"/><Text-field layout="Normal" style="Normal"/><Text-field layout="Normal" style="Normal"/><Text-field layout="Normal" style="Normal"/><Text-field layout="Normal" style="Normal"/><Text-field layout="Normal" style="Normal"/><Text-field/></Worksheet>