﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="0.99.7610.506"?>
<worksheet xmlns="http://smath.info/schemas/worksheet/1.0">
  <settings ppi="96">
    <identity>
      <id>be8ed228-7b9f-4d88-9521-f6039e697cd5</id>
      <revision>82</revision>
    </identity>
    <calculation>
      <precision>3</precision>
      <exponentialThreshold>5</exponentialThreshold>
      <trailingZeros>false</trailingZeros>
      <significantDigitsMode>false</significantDigitsMode>
      <roundingMode>0</roundingMode>
      <fractions>decimal</fractions>
    </calculation>
    <pageModel active="true" viewMode="0" printGrid="false" printAreas="true" simpleEqualsOnly="false" printBackgroundImages="true">
      <paper id="9" orientation="Portrait" width="827" height="1169" />
      <margins left="39" right="39" top="39" bottom="39" />
      <header alignment="Center" color="#a9a9a9">&amp;[DATE] &amp;[TIME] - &amp;[FILENAME]</header>
      <footer alignment="Center" color="#a9a9a9">&amp;[PAGENUM] / &amp;[COUNT]</footer>
      <backgrounds />
    </pageModel>
    <dependencies>
      <assembly name="SMath Studio Desktop" version="0.99.7610.506" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="Math Region" version="0.99.7610.506" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="Slider Region" version="1.0.7602.37950" guid="0c864749-6fe8-4f62-a74d-f6ac601e52a5" />
      <assembly name="Custom Functions" version="1.1.7486.2690" guid="18dadffd-79a3-4cf9-aee1-d66deb0ea720" />
      <assembly name="SpecialFunctions" version="1.12.7610.506" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
      <assembly name="DotNumerics" version="1.1.7166.24796" guid="2a69099d-3185-4ea7-a130-65f2bf94c8d6" />
      <assembly name="TextRegion" version="1.11.7610.506" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
      <assembly name="PlotRegion" version="1.11.7610.506" guid="c451c2b5-798b-4f08-b9ec-b90963d1ddaa" />
      <assembly name="ComboBoxList Region" version="1.0.7595.37566" guid="fae04ec0-301f-11d3-bf4b-00c04f79efbc" />
    </dependencies>
  </settings>
  <regions type="content">
    <region left="18" top="18" width="295" height="57" color="#000000" fontSize="10">
      <text lang="ger">
        <p bold="true">Gewöhnliche Differenzialgleichungen
Genauigkeitssteuerung bei adaptiven
Lösern</p>
      </text>
      <text lang="eng">
        <p bold="true">Ordinary Differential Equations
Precision control for adaptive solvers</p>
      </text>
    </region>
    <region left="414" top="18" width="63" height="24" color="#000000" fontSize="10">
      <text lang="ger">
        <p href="contents.sm">Inhalt</p>
      </text>
      <text lang="eng">
        <p href="contents.sm">Contents</p>
      </text>
    </region>
    <region left="414" top="36" width="95" height="24" color="#000000" fontSize="10">
      <text lang="ger">
        <p href="Mathematik.sm">Mathematik</p>
      </text>
      <text lang="eng">
        <p href="Mathematik.sm">Mathematics</p>
      </text>
    </region>
    <region left="414" top="54" width="295" height="24" color="#000000" fontSize="10">
      <text lang="ger">
        <p href="Section Math ODE.sm">Gewöhnliche Differenzialgleichungen</p>
      </text>
      <text lang="eng">
        <p href="Section Math ODE.sm">Ordinary Differential Equations</p>
      </text>
    </region>
    <region left="414" top="72" width="95" height="24" color="#000000" fontSize="10">
      <text lang="ger">
        <p href="Section Math ODE Intro.sm">Einführung</p>
      </text>
      <text lang="eng">
        <p href="Section Math ODE Intro.sm">Introduction</p>
      </text>
    </region>
    <region left="18" top="108" width="695" height="57" color="#000000" fontSize="10">
      <text lang="ger">
        <p>Einige Löser verfügen über eine adaptive Algorithmen, bei denen Schrittweite und/oder
Verfahren (implizit oder explizit) anhand von Fehlerschätzern und Genauigkeitsan-
forderungen gesteuert werden.</p>
      </text>
      <text lang="eng">
        <p>Some solvers use adaptive algorithms, where step size and/or integration method 
(implicit/explicit) is controlled using error estimators and tolerance settings.</p>
      </text>
    </region>
    <region left="18" top="180" width="687" height="57" color="#000000" fontSize="10">
      <text lang="ger">
        <p>Bei der Genauigkeitssteuerung unterscheidet man relative und absolute Toleranzen.
Relative Toleranzen geben das maximal zulässige Verhältnis zwischen Fehler und
Funktionswert vor, während absolute Toleranzen direkt den zulässigen Fehler angeben.</p>
      </text>
      <text lang="eng">
        <p>Precision control can be done via relative or absolute tolerances. Relative tolerances
specify the ratio between maximum allowed error and function value, whereas absolute
tolerances directly specify the allowable error.</p>
      </text>
    </region>
    <region left="18" top="252" width="607" height="40" color="#000000" fontSize="10">
      <text lang="ger">
        <p>Gegenwärtig können die Toleranzen nur für alle abhängigen Variablen gleich
gesetzt werden. Dies erfolgt mit den globalen Variablen</p>
      </text>
      <text lang="eng">
        <p>Currently, you can set global values for relative and absolute tolerance. There is 
no way to set individual values for the dependent variables.</p>
      </text>
    </region>
    <region left="36" top="306" width="60" height="24" color="#000000" fontSize="10">
      <math decimalPlaces="4">
        <input>
          <e type="operand">RelTol</e>
        </input>
      </math>
    </region>
    <region left="126" top="306" width="151" height="24" color="#000000" fontSize="10">
      <text lang="ger">
        <p>Relative Toleranz</p>
      </text>
      <text lang="eng">
        <p>relative tolerance</p>
      </text>
    </region>
    <region left="36" top="333" width="60" height="24" color="#000000" fontSize="10">
      <math decimalPlaces="4">
        <input>
          <e type="operand">AbsTol</e>
        </input>
      </math>
    </region>
    <region left="126" top="333" width="151" height="24" color="#000000" fontSize="10">
      <text lang="ger">
        <p>Absolute Toleranz</p>
      </text>
      <text lang="eng">
        <p>absolute tolerance</p>
      </text>
    </region>
    <region top="369" color="#000000">
      <area collapsed="true">
        <title lang="ger">
          <p>Bestimmung der verfügbaren Löser</p>
        </title>
        <title lang="eng">
          <p>Detection of available solvers</p>
        </title>
      </area>
      <region left="18" top="396" width="237" height="353" color="#000000" fontSize="10">
        <math decimalPlaces="4">
          <input>
            <e type="operand">Solvers</e>
            <e type="operand" style="string">al_rkckadapt</e>
            <e type="operand" style="string">dn_AdamsMoulton</e>
            <e type="operand" style="string">dn_ExplicitRK45</e>
            <e type="operand" style="string">dn_GearsBDF</e>
            <e type="operand" style="string">dn_ImplicitRK5</e>
            <e type="operand" style="string">mk52lfa</e>
            <e type="operand" style="string">mk52lfn</e>
            <e type="operand" style="string">rkm9mka</e>
            <e type="operand" style="string">rkm9mkn</e>
            <e type="operand" style="string">rkm9st</e>
            <e type="operand" style="string">gslrk2</e>
            <e type="operand" style="string">gslrk4</e>
            <e type="operand" style="string">gslrk8pd</e>
            <e type="operand" style="string">gslrkck</e>
            <e type="operand" style="string">gslrkf45</e>
            <e type="operand" style="string">mwode113</e>
            <e type="operand" style="string">mwode15s</e>
            <e type="operand" style="string">mwode23</e>
            <e type="operand" style="string">mwode45</e>
            <e type="operand">19</e>
            <e type="operand">1</e>
            <e type="function" args="21">mat</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="261" top="396" width="249" height="26" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">AvailableSolvers</e>
            <e type="operand">0</e>
            <e type="operand">1</e>
            <e type="function" args="2">matrix</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="261" top="423" width="447" height="98" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">str</e>
            <e type="operand">Solvers</e>
            <e type="operand" style="string">IsDefined(</e>
            <e type="operand">str</e>
            <e type="operand" style="string">(1,1,1,1,1))</e>
            <e type="function" args="3">concat</e>
            <e type="function" args="1">str2num</e>
            <e type="operand">AvailableSolvers</e>
            <e type="operand">AvailableSolvers</e>
            <e type="operand">str</e>
            <e type="function" args="2">stack</e>
            <e type="operator" args="2">:</e>
            <e type="operand" style="string"></e>
            <e type="function" args="3">if</e>
            <e type="operand">1</e>
            <e type="operand">1</e>
            <e type="function" args="3">line</e>
            <e type="function" args="3">for</e>
          </input>
        </math>
      </region>
      <region left="261" top="522" width="307" height="100" color="#000000" fontSize="10">
        <math matrixOptions="0,0,1,11">
          <input>
            <e type="operand">AvailableSolvers</e>
          </input>
          <result action="numeric">
            <e type="operand" style="string">al_rkckadapt</e>
            <e type="operand" style="string">dn_AdamsMoulton</e>
            <e type="operand" style="string">dn_ExplicitRK45</e>
            <e type="operand" style="string">dn_GearsBDF</e>
            <e type="operand" style="string">dn_ImplicitRK5</e>
            <e type="operand">5</e>
            <e type="operand">1</e>
            <e type="function" args="7">mat</e>
          </result>
        </math>
      </region>
      <region top="747" color="#000000">
        <area terminator="true" />
      </region>
    </region>
    <region left="18" top="774" width="639" height="40" color="#000000" fontSize="10">
      <text lang="ger">
        <p>Wählen Sie den Löser (Solver) sowie die Toleranzen mit der Auswahlbox und den 
Schiebereglern aus!</p>
      </text>
      <text lang="eng">
        <p>Choose solver and tolerance values using combobox and sliders!</p>
      </text>
    </region>
    <region left="18" top="819" width="210" height="38" color="#000000" fontSize="10">
      <comboboxlist input="AvailableSolvers" inputColumn="1" selected="2" output="Element" outputColumn="1" layout="DropDownList" items="5" firstItem="0" font="Courier New, 10pt" optimization="numeric" decimalPlaces="15" exponentialThreshold="15" significantFigures="0" fractions="decimal" trailingZeros="false" overrideDP="true">
        <ul>
          <li>"al_rkckadapt"</li>
          <li>"dn_AdamsMoulton"</li>
          <li>"dn_ExplicitRK45"</li>
          <li>"dn_GearsBDF"</li>
          <li>"dn_ImplicitRK5"</li>
        </ul>
        <input>
          <e type="operand">Solver</e>
        </input>
      </comboboxlist>
    </region>
    <region left="261" top="828" width="212" height="24" color="#000000" fontSize="10">
      <math decimalPlaces="4">
        <input>
          <e type="operand">Solver</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">dn_AdamsMoulton</e>
        </result>
      </math>
    </region>
    <region left="18" top="873" width="159" height="49" color="#000000" fontSize="10">
      <slider settings="" orientation="Horizontal" maxValue="0" minValue="-16" value="-1" valueLabel="false" increment="1" decimalPlaces="0" tickStyle="None" tickFrequency="0" ticksLabels="false">
        <input>
          <e type="operand">Rel</e>
        </input>
      </slider>
    </region>
    <region left="189" top="891" width="162" height="33" color="#000000" fontSize="10">
      <math decimalPlaces="4">
        <input>
          <e type="operand">RelTol</e>
          <e type="operand">10</e>
          <e type="operand">Rel</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">0.1</e>
        </result>
      </math>
    </region>
    <region left="18" top="945" width="159" height="49" color="#000000" fontSize="10">
      <slider settings="" orientation="Horizontal" maxValue="0" minValue="-16" value="-2" valueLabel="false" increment="1" decimalPlaces="0" tickStyle="None" tickFrequency="0" ticksLabels="false">
        <input>
          <e type="operand">Abs</e>
        </input>
      </slider>
    </region>
    <region left="189" top="954" width="170" height="33" color="#000000" fontSize="10">
      <math decimalPlaces="4">
        <input>
          <e type="operand">AbsTol</e>
          <e type="operand">10</e>
          <e type="operand">Abs</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">0.01</e>
        </result>
      </math>
    </region>
    <region left="18" top="1026" width="311" height="24" color="#000000" fontSize="10">
      <text lang="ger">
        <p>Solverkommando erzeugen und ausführen</p>
      </text>
      <text lang="eng">
        <p>Generate solver command and solution</p>
      </text>
    </region>
    <region left="45" top="1053" width="590" height="54" color="#000000" fontSize="10">
      <math decimalPlaces="4" breaking="17">
        <input>
          <e type="operand">cmd.str</e>
          <e type="operand">y.0</e>
          <e type="operand">x.0</e>
          <e type="operand">x.e</e>
          <e type="operand">m</e>
          <e type="operand">x</e>
          <e type="operand">y</e>
          <e type="function" args="2">D</e>
          <e type="function" args="5">Solver</e>
          <e type="function" args="1">var2str</e>
          <e type="operand" style="string">Solver</e>
          <e type="operand">Solver</e>
          <e type="function" args="3">strrep</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">dn_AdamsMoulton(y.0,x.0,x.e,m,D(x,y))</e>
        </result>
      </math>
    </region>
    <region left="45" top="1107" width="134" height="63" color="#000000" fontSize="10">
      <math decimalPlaces="4">
        <input>
          <e type="operand">x</e>
          <e type="operand">y</e>
          <e type="function" args="2">D</e>
          <e type="operand">y</e>
          <e type="operand">2</e>
          <e type="function" args="2">el</e>
          <e type="operand">y</e>
          <e type="operand">1</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="1">-</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">mat</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="405" top="1116" width="67" height="45" color="#000000" fontSize="10">
      <math decimalPlaces="4">
        <input>
          <e type="operand">y.0</e>
          <e type="operand">0</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">mat</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="180" top="1125" width="52" height="30" color="#000000" fontSize="10">
      <math decimalPlaces="4">
        <input>
          <e type="operand">x.0</e>
          <e type="operand">0</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="252" top="1125" width="69" height="30" color="#000000" fontSize="10">
      <math decimalPlaces="4">
        <input>
          <e type="operand">x.e</e>
          <e type="operand">4</e>
          <e type="operand">π</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="342" top="1125" width="54" height="24" color="#000000" fontSize="10">
      <math decimalPlaces="4">
        <input>
          <e type="operand">m</e>
          <e type="operand">40</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="495" top="1125" width="154" height="32" color="#000000" fontSize="10">
      <math optimize="2">
        <input>
          <e type="operand">L</e>
          <e type="operand">cmd.str</e>
          <e type="function" args="1">str2num</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="387" top="1170" width="240" height="158" color="#000000" fontSize="10">
      <plot type="2d" render="lines" scale_x="4.87730517341854" scale_y="5.15363187805203" scale_z="4.59188600334436" rotate_x="0" rotate_y="0" rotate_z="0" transpose_x="-5" transpose_y="-6" transpose_z="0">
        <input>
          <e type="operand">L</e>
          <e type="operand">2</e>
          <e type="function" args="2">col</e>
          <e type="operand">L</e>
          <e type="operand">3</e>
          <e type="function" args="2">col</e>
          <e type="function" args="2">augment</e>
          <e type="operand">y.0</e>
          <e type="operand">1</e>
          <e type="function" args="2">el</e>
          <e type="operand">y.0</e>
          <e type="operand">2</e>
          <e type="function" args="2">el</e>
          <e type="operand" style="string">o</e>
          <e type="operand">15</e>
          <e type="operand" style="string">red</e>
          <e type="operand">1</e>
          <e type="operand">5</e>
          <e type="function" args="7">mat</e>
          <e type="operand">L</e>
          <e type="operand">m</e>
          <e type="operand">1</e>
          <e type="operator" args="2">+</e>
          <e type="operand">2</e>
          <e type="function" args="3">el</e>
          <e type="operand">L</e>
          <e type="operand">m</e>
          <e type="operand">1</e>
          <e type="operator" args="2">+</e>
          <e type="operand">3</e>
          <e type="function" args="3">el</e>
          <e type="operand" style="string">o</e>
          <e type="operand">15</e>
          <e type="operand" style="string">blue</e>
          <e type="operand">1</e>
          <e type="operand">5</e>
          <e type="function" args="7">mat</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="5">sys</e>
        </input>
      </plot>
    </region>
    <region left="18" top="1188" width="135" height="24" color="#000000" fontSize="10">
      <text lang="ger">
        <p>Lösung anzeigen</p>
      </text>
      <text lang="eng">
        <p>Display solution</p>
      </text>
    </region>
    <region left="45" top="1215" width="146" height="27" color="#000000" fontSize="10">
      <math decimalPlaces="4">
        <input>
          <e type="operand">L</e>
          <e type="operand">1</e>
          <e type="function" args="2">row</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
          <e type="operand">0</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="operand">3</e>
          <e type="function" args="5">mat</e>
        </result>
      </math>
    </region>
    <region left="45" top="1251" width="314" height="27" color="#000000" fontSize="10">
      <math decimalPlaces="4">
        <input>
          <e type="operand">L</e>
          <e type="operand">m</e>
          <e type="operand">1</e>
          <e type="operator" args="2">+</e>
          <e type="function" args="2">row</e>
        </input>
        <result action="numeric">
          <e type="operand">12.5664</e>
          <e type="operand">0.3811</e>
          <e type="operator" args="1">-</e>
          <e type="operand">0.9212</e>
          <e type="operand">1</e>
          <e type="operand">3</e>
          <e type="function" args="5">mat</e>
        </result>
      </math>
    </region>
    <region left="45" top="1287" width="63" height="24" color="#000000" fontSize="10">
      <text lang="eng">
        <p>Exact:</p>
      </text>
    </region>
    <region left="117" top="1287" width="107" height="24" color="#000000" fontSize="10">
      <math decimalPlaces="4">
        <input>
          <e type="operand">4</e>
          <e type="operand">π</e>
          <e type="operator" args="2">*</e>
        </input>
        <result action="numeric">
          <e type="operand">12.5664</e>
        </result>
      </math>
    </region>
    <region left="252" top="1287" width="18" height="24" color="#000000" fontSize="10">
      <math decimalPlaces="4">
        <input>
          <e type="operand">0</e>
        </input>
      </math>
    </region>
    <region left="324" top="1287" width="18" height="24" color="#000000" fontSize="10">
      <math decimalPlaces="4">
        <input>
          <e type="operand">1</e>
        </input>
      </math>
    </region>
    <region left="18" top="1332" width="63" height="24" color="#000000" fontSize="10">
      <text lang="ger">
        <p href="contents.sm">Inhalt</p>
      </text>
      <text lang="eng">
        <p href="contents.sm">Contents</p>
      </text>
    </region>
    <region left="18" top="1350" width="95" height="24" color="#000000" fontSize="10">
      <text lang="ger">
        <p href="Mathematik.sm">Mathematik</p>
      </text>
      <text lang="eng">
        <p href="Mathematik.sm">Mathematics</p>
      </text>
    </region>
    <region left="18" top="1368" width="295" height="24" color="#000000" fontSize="10">
      <text lang="ger">
        <p href="Section Math ODE.sm">Gewöhnliche Differenzialgleichungen</p>
      </text>
      <text lang="eng">
        <p href="Section Math ODE.sm">Ordinary Differential Equations</p>
      </text>
    </region>
    <region left="18" top="1386" width="95" height="24" color="#000000" fontSize="10">
      <text lang="ger">
        <p href="Section Math ODE Intro.sm">Einführung</p>
      </text>
      <text lang="eng">
        <p href="Section Math ODE Intro.sm">Introduction</p>
      </text>
    </region>
    <region left="18" top="1413" width="439" height="40" color="#000000" fontSize="10">
      <text lang="ger">
        <p italic="true">$Author: mkraska $
$Date: 2018-09-15 10:38:13 +0200 (Sa, 15 Sep 2018) $ </p>
      </text>
    </region>
  </regions>
</worksheet>