Skip to content

Commit

Permalink
deploy: 9203708
Browse files Browse the repository at this point in the history
  • Loading branch information
kriboe90 committed May 2, 2024
1 parent 989b2e1 commit 3913da6
Show file tree
Hide file tree
Showing 57 changed files with 3,936 additions and 3,968 deletions.
Binary file modified _downloads/45a155d43ba67d980c6b387ef4765bbd/einfache_graphik.pdf
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Diff not rendered.
1,513 changes: 762 additions & 751 deletions _images/digital_state.svg

Large diffs are not rendered by default.

4,676 changes: 2,319 additions & 2,357 deletions _images/digital_state_clock.svg

Large diffs are not rendered by default.

Diff not rendered.
Diff not rendered.
242 changes: 121 additions & 121 deletions _images/komplexitaet.svg

Large diffs are not rendered by default.

130 changes: 65 additions & 65 deletions _images/signal_digital_analog.svg

Large diffs are not rendered by default.

174 changes: 87 additions & 87 deletions _images/sort_bubble_p000.svg

Large diffs are not rendered by default.

148 changes: 74 additions & 74 deletions _images/sort_bubble_p095.svg

Large diffs are not rendered by default.

132 changes: 66 additions & 66 deletions _images/sort_selection.svg

Large diffs are not rendered by default.

290 changes: 145 additions & 145 deletions _images/temperatur_digital_all.svg

Large diffs are not rendered by default.

492 changes: 246 additions & 246 deletions _images/temperatur_digital_zoom.svg

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,15 @@
"#### Lösungshinweise"
]
},
{
"cell_type": "markdown",
"source": [
"Die Primzahlen von 2 bis 100 sind:"
],
"metadata": {
"collapsed": false
}
},
{
"cell_type": "code",
"execution_count": 8,
Expand All @@ -162,8 +171,7 @@
"text": [
"[ 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, \n",
" 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, \n",
" 73, 79, 83, 89, 97]\n",
"\n"
" 73, 79, 83, 89, 97]\n"
]
}
],
Expand Down Expand Up @@ -362,19 +370,6 @@
":::"
]
},
{
"cell_type": "markdown",
"metadata": {
"editable": true,
"slideshow": {
"slide_type": ""
},
"tags": []
},
"source": [
"Die Primzahlen von 2 bis 100 sind:"
]
},
{
"cell_type": "raw",
"metadata": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,7 @@ <h3>Aufgabenteil A<a class="headerlink" href="#aufgabenteil-a" title="Link to th
<p>Erstellen Sie eine Liste mit den Zahlen von 2 bis 100 und wenden Sie den Algorithmus auf diese Liste an</p>
<section id="losungshinweise">
<h4>Lösungshinweise<a class="headerlink" href="#losungshinweise" title="Link to this heading">#</a></h4>
<p>Die Primzahlen von 2 bis 100 sind:</p>
<div class="cell tag_remove_input docutils container">
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[ 2, 3, 5, 7, 11, 13, 17, 19, 23, 29,
Expand Down Expand Up @@ -663,7 +664,6 @@ <h4>Lösungsvorschlag<a class="headerlink" href="#id1" title="Link to this headi
Der Algorithmus kann noch weiter optimiert werden, wenn man berücksichtigt, dass jede Zahl als Produkt von Primzahlen darstellbar ist. Nach den ersten <span class="math notranslate nohighlight">\(\sqrt{n}\)</span> Zahlen wurden alle Zahlen aus der Liste gestrichen, deren Primfaktorzerlegung mindestens eine der darin enthaltenen Primzahlen enthällt. Das bedeutet aber, dass die Primfaktorzerlegungen aller folgenden, nicht gestrichenen Zahlen nur aus Primzahlen größer als <span class="math notranslate nohighlight">\(\sqrt{n}\)</span> bestehen können. Da jedoch das Produkt von zwei dieser Zahlen immer größer als <span class="math notranslate nohighlight">\(n\)</span> ist, muss jede noch nicht gestrichene Zahl in der Liste eine Primzahl sein. Folglich kann der Algorithmus beendet werden, sobald die Vielfachen der Zahlen kleiner-gleich <span class="math notranslate nohighlight">\(\sqrt{n}\)</span> überprüft wurden. Für die Komplexität heißt dies:</p>
<p><span class="math notranslate nohighlight">\(\mathcal{O}(n \cdot \ln(\sqrt{n})).\)</span></p>
</div>
<p>Die Primzahlen von 2 bis 100 sind:</p>
</section>
</section>
</section>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -837,8 +837,8 @@ <h3>Lösung<a class="headerlink" href="#id5" title="Link to this heading">#</a><
<section id="pythagoras">
<h2>Pythagoras<a class="headerlink" href="#pythagoras" title="Link to this heading">#</a></h2>
<p>Schreiben Sie ein Programm, dass alle Integer Triplets <span class="math notranslate nohighlight">\(a, b, c\)</span> zwichen 1 und einer beliebigen Grenze findet, die die Gleichung</p>
<div class="amsmath math notranslate nohighlight" id="equation-0dfb391b-4eee-4d18-82f7-4c640b9f23b1">
<span class="eqno">(2.2)<a class="headerlink" href="#equation-0dfb391b-4eee-4d18-82f7-4c640b9f23b1" title="Permalink to this equation">#</a></span>\[\begin{equation}
<div class="amsmath math notranslate nohighlight" id="equation-58040259-73cc-4e60-ab91-909792a452eb">
<span class="eqno">(2.2)<a class="headerlink" href="#equation-58040259-73cc-4e60-ab91-909792a452eb" title="Permalink to this equation">#</a></span>\[\begin{equation}
a² + b² =c²
\end{equation}\]</div>
<p>erfüllen.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -646,8 +646,8 @@ <h3>Lösung<a class="headerlink" href="#id1" title="Link to this heading">#</a><
<section id="temperaturkonversion">
<h2>Temperaturkonversion<a class="headerlink" href="#temperaturkonversion" title="Link to this heading">#</a></h2>
<p>Schreiben Sie ein Programm, welches eine Temperatur von °Fahrenheit nach °Celsius umrechnet und ausgibt. Benutzen Sie die Formel:</p>
<div class="amsmath math notranslate nohighlight" id="equation-563a3a7c-e1e3-4915-afb3-cd687572ba81">
<span class="eqno">(2.1)<a class="headerlink" href="#equation-563a3a7c-e1e3-4915-afb3-cd687572ba81" title="Permalink to this equation">#</a></span>\[\begin{equation}
<div class="amsmath math notranslate nohighlight" id="equation-55fc2303-a302-44fd-8bf6-1dbb928c8736">
<span class="eqno">(2.1)<a class="headerlink" href="#equation-55fc2303-a302-44fd-8bf6-1dbb928c8736" title="Permalink to this equation">#</a></span>\[\begin{equation}
\frac{C}{5} = \frac{F-32}{9}
\end{equation}\]</div>
<p>mit <span class="math notranslate nohighlight">\(C\)</span> der Temperatur in Celsius und <span class="math notranslate nohighlight">\(F\)</span> der Temperatur in Fahrenheit.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -893,9 +893,9 @@ <h3>Random numpy array<a class="headerlink" href="#random-numpy-array" title="Li
</div>
</details>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[37 57 86 84 16 54 17 42 65 60]
51.8
22.994782016796766
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[97 36 42 52 42 86 31 18 61 40]
50.5
23.316303309058235
</pre></div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion content/Exercises/04_numerik/01_trapez/trapez.html
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ <h2>Lösungsvorschlag<a class="headerlink" href="#losungsvorschlag" title="Link
Scipy: 0.0034463689419721374
</pre></div>
</div>
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/tmp/ipykernel_4915/2441456229.py:20: DeprecationWarning: &#39;scipy.integrate.trapz&#39; is deprecated in favour of &#39;scipy.integrate.trapezoid&#39; and will be removed in SciPy 1.14.0
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/tmp/ipykernel_5014/2441456229.py:20: DeprecationWarning: &#39;scipy.integrate.trapz&#39; is deprecated in favour of &#39;scipy.integrate.trapezoid&#39; and will be removed in SciPy 1.14.0
flaeche_sp = sp.integrate.trapz(yi, xi)
</pre></div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion content/Exercises/04_numerik/02_pi_mc/pi_mc.html
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ <h3>Aufgabenteil B<a class="headerlink" href="#id2" title="Link to this heading"
</div>
</div>
<div class="cell_output docutils container">
<img alt="../../../../_images/d640c17060574fca0b32d936de5cf28d765d695b965e1be266196907eaced2b7.png" src="../../../../_images/d640c17060574fca0b32d936de5cf28d765d695b965e1be266196907eaced2b7.png" />
<img alt="../../../../_images/b607381c3992bc9b121c5ac4e09f411203caf404020986da1f02b1d30d47d082.png" src="../../../../_images/b607381c3992bc9b121c5ac4e09f411203caf404020986da1f02b1d30d47d082.png" />
</div>
</details>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ <h3>Lösungsvorschlag<a class="headerlink" href="#id2" title="Link to this headi
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;matplotlib.legend.Legend at 0x7ff1597a8f40&gt;
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;matplotlib.legend.Legend at 0x7f4b556b4fd0&gt;
</pre></div>
</div>
<img alt="../../../../_images/96dd7927b04b387572b4ad97a6e5b294b62d5c0c0f0ac828c4ab54ee35a98c07.png" src="../../../../_images/96dd7927b04b387572b4ad97a6e5b294b62d5c0c0f0ac828c4ab54ee35a98c07.png" />
Expand Down Expand Up @@ -839,7 +839,7 @@ <h3>Lösungsvorschlag<a class="headerlink" href="#id4" title="Link to this headi
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;matplotlib.legend.Legend at 0x7ff15b92f730&gt;
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;matplotlib.legend.Legend at 0x7f4b5570bdc0&gt;
</pre></div>
</div>
<img alt="../../../../_images/27ecdfb49faadea38a09eb7cc9fdde48489cc0482e315a192f6da9e59a1f8e43.png" src="../../../../_images/27ecdfb49faadea38a09eb7cc9fdde48489cc0482e315a192f6da9e59a1f8e43.png" />
Expand Down Expand Up @@ -899,7 +899,7 @@ <h3>Lösungsvorschlag<a class="headerlink" href="#id6" title="Link to this headi
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;matplotlib.legend.Legend at 0x7ff159675c60&gt;
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;matplotlib.legend.Legend at 0x7f4b55786aa0&gt;
</pre></div>
</div>
<img alt="../../../../_images/bfb79a5641eb76a6345e4c1ff18a5fa5b4c65a1d46d820c99232322f0835e745.png" src="../../../../_images/bfb79a5641eb76a6345e4c1ff18a5fa5b4c65a1d46d820c99232322f0835e745.png" />
Expand Down
4 changes: 2 additions & 2 deletions content/Script/03_datenanalyse/0312_1d_plots.html
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ <h2>Punktwolken<a class="headerlink" href="#punktwolken" title="Link to this hea
</div>
</div>
<div class="cell_output docutils container">
<img alt="../../../_images/080e10068db078d95213f73effe5801749f609a3e9b604685cbf875e249d44c8.png" src="../../../_images/080e10068db078d95213f73effe5801749f609a3e9b604685cbf875e249d44c8.png" />
<img alt="../../../_images/5ded63e37326be50c8e05fab2880593400f576e7d607cc9066366ce5a075a71f.png" src="../../../_images/5ded63e37326be50c8e05fab2880593400f576e7d607cc9066366ce5a075a71f.png" />
</div>
</div>
<p>Das Argument <code class="docutils literal notranslate"><span class="pre">s</span></code> erlaubt die Anpassung der Größe der Punkte. Wird nur ein einziger Wert angegeben, gilt dieser für jeden Punkt, alternativ kann mit Hilfe einer Liste für jeden Punkt individuell eine Größe festgelegt werden. Die Liste muss entsprechend genauso viele Elemente beinhalten wie Datenpunkte vorhanden sind.</p>
Expand All @@ -767,7 +767,7 @@ <h2>Punktwolken<a class="headerlink" href="#punktwolken" title="Link to this hea
</div>
</div>
<div class="cell_output docutils container">
<img alt="../../../_images/a57464529f30087b71d188fe133c8882dbc37ced0cdb424c8696f9b6d4f021ff.png" src="../../../_images/a57464529f30087b71d188fe133c8882dbc37ced0cdb424c8696f9b6d4f021ff.png" />
<img alt="../../../_images/a1dca5940111974fb09aa5beecb57e81ddc49b4145dd43ad6f7e0c141ecf8793.png" src="../../../_images/a1dca5940111974fb09aa5beecb57e81ddc49b4145dd43ad6f7e0c141ecf8793.png" />
</div>
</div>
</section>
Expand Down
6 changes: 3 additions & 3 deletions content/Script/03_datenanalyse/0314_farben.html
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ <h2>Farbpaletten<a class="headerlink" href="#farbpaletten" title="Link to this h
</div>
</div>
<div class="cell_output docutils container">
<img alt="../../../_images/99bacad73d780f1627a0bbebf4523075368766a1c56cfa54f4e2ca3b5d841d81.png" src="../../../_images/99bacad73d780f1627a0bbebf4523075368766a1c56cfa54f4e2ca3b5d841d81.png" />
<img alt="../../../_images/c752649d1355e70edb3a9b2da62976f92544da7b519310ffe78b1ea5a4544a84.png" src="../../../_images/c752649d1355e70edb3a9b2da62976f92544da7b519310ffe78b1ea5a4544a84.png" />
</div>
</div>
<p>Die verwendete Farbpalette kann mit dem <code class="docutils literal notranslate"><span class="pre">cmap</span></code>-Argument definiert werden.</p>
Expand All @@ -705,7 +705,7 @@ <h2>Farbpaletten<a class="headerlink" href="#farbpaletten" title="Link to this h
</div>
</div>
<div class="cell_output docutils container">
<img alt="../../../_images/c207def3f6478961ae3a69c77d3ed080fb1a444d0b191be48b394795ff5fdde9.png" src="../../../_images/c207def3f6478961ae3a69c77d3ed080fb1a444d0b191be48b394795ff5fdde9.png" />
<img alt="../../../_images/fc4e6f55a67c1712725bd9d77996453dac6a88ac4942c7aa77bdf27b4c82d988.png" src="../../../_images/fc4e6f55a67c1712725bd9d77996453dac6a88ac4942c7aa77bdf27b4c82d988.png" />
</div>
</div>
</section>
Expand Down Expand Up @@ -734,7 +734,7 @@ <h2>Transparenz<a class="headerlink" href="#transparenz" title="Link to this hea
</div>
</div>
<div class="cell_output docutils container">
<img alt="../../../_images/400307ba661cf0bae9f7c1469657bab51b42edcea40a945b0646872de5769cee.png" src="../../../_images/400307ba661cf0bae9f7c1469657bab51b42edcea40a945b0646872de5769cee.png" />
<img alt="../../../_images/38f4b01201ac7cde688897e6d0aa7846d37f2cba6fe3fe8941ccfac3c576a236.png" src="../../../_images/38f4b01201ac7cde688897e6d0aa7846d37f2cba6fe3fe8941ccfac3c576a236.png" />
</div>
</div>
</section>
Expand Down
6 changes: 3 additions & 3 deletions content/Script/03_datenanalyse/0332_fitting.html
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ <h1><span class="section-number">3.3.2. </span>Fitting<a class="headerlink" href
</div>
</div>
<div class="cell_output docutils container">
<img alt="../../../_images/cec2de4182d8edf91f011053ee465885dca4fc5419b00a3c1c145dfd5c9e1688.png" src="../../../_images/cec2de4182d8edf91f011053ee465885dca4fc5419b00a3c1c145dfd5c9e1688.png" />
<img alt="../../../_images/59148babfe250945dc4160cbbeeb4473a755d374dd384f1bb97cad739a4de109.png" src="../../../_images/59148babfe250945dc4160cbbeeb4473a755d374dd384f1bb97cad739a4de109.png" />
</div>
</div>
<div class="cell docutils container">
Expand All @@ -625,7 +625,7 @@ <h1><span class="section-number">3.3.2. </span>Fitting<a class="headerlink" href
</div>
</div>
<div class="cell_output docutils container">
<img alt="../../../_images/4e86033085d52ef5defbcd697cd7ae3a4b466a590ed38ab55fc6a520cb9a0bd2.png" src="../../../_images/4e86033085d52ef5defbcd697cd7ae3a4b466a590ed38ab55fc6a520cb9a0bd2.png" />
<img alt="../../../_images/ada12c5dd1d37ca42956fb9c52859bc8367eb37101e75f1d5a81577f5e77f333.png" src="../../../_images/ada12c5dd1d37ca42956fb9c52859bc8367eb37101e75f1d5a81577f5e77f333.png" />
</div>
</div>
<div class="cell docutils container">
Expand Down Expand Up @@ -653,7 +653,7 @@ <h1><span class="section-number">3.3.2. </span>Fitting<a class="headerlink" href
</div>
</div>
<div class="cell_output docutils container">
<img alt="../../../_images/eeb21d9368eee0784bc9f453d0ca2961ac64defd6b872c8fd7d4f45301c4be1d.png" src="../../../_images/eeb21d9368eee0784bc9f453d0ca2961ac64defd6b872c8fd7d4f45301c4be1d.png" />
<img alt="../../../_images/e349767df24a6713f73508c4e85837cc83d4b41f7c8c3d489d16e4139d9256c8.png" src="../../../_images/e349767df24a6713f73508c4e85837cc83d4b41f7c8c3d489d16e4139d9256c8.png" />
</div>
</div>
</section>
Expand Down
18 changes: 9 additions & 9 deletions content/Script/03_datenanalyse/035_optimierung.html
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ <h1><span class="section-number">3.5. </span>Optimierung<a class="headerlink" hr
</div>
</div>
<div class="cell_output docutils container">
<img alt="../../../_images/c013c1139c06a9720beba5c275a887e7b478e80dce3d04b7a98464e254247e44.png" src="../../../_images/c013c1139c06a9720beba5c275a887e7b478e80dce3d04b7a98464e254247e44.png" />
<img alt="../../../_images/2862873599a4ae6389880cb91e529cd3aa036d77ef861b72bea7e9ef54316854.png" src="../../../_images/2862873599a4ae6389880cb91e529cd3aa036d77ef861b72bea7e9ef54316854.png" />
</div>
</div>
<p>Die Modellfunktion, welche hier genutzt werden soll, ist eine Sinus-Funktion. Diese hat jedoch die Amplitude, Frequenz und Phasenverschiebung als frei bestimmbare Parameter:</p>
Expand Down Expand Up @@ -633,9 +633,9 @@ <h1><span class="section-number">3.5. </span>Optimierung<a class="headerlink" hr
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>(array([2.97922508, 1.29643688, 0.70805394]), array([[ 4.52601310e-03, -1.22070520e-05, 7.33617728e-06],
[-1.22070520e-05, 6.33847841e-05, -3.36583688e-04],
[ 7.33617728e-06, -3.36583688e-04, 2.30655817e-03]]))
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>(array([3.01367371, 1.30390547, 0.68433072]), array([[ 3.97002796e-03, -1.11080196e-05, 3.21663836e-06],
[-1.11080196e-05, 5.47578224e-05, -2.89645828e-04],
[ 3.21663836e-06, -2.89645828e-04, 1.97919992e-03]]))
</pre></div>
</div>
</div>
Expand All @@ -648,7 +648,7 @@ <h1><span class="section-number">3.5. </span>Optimierung<a class="headerlink" hr
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[2.97922508 1.29643688 0.70805394]
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[3.01367371 1.30390547 0.68433072]
</pre></div>
</div>
</div>
Expand All @@ -667,7 +667,7 @@ <h1><span class="section-number">3.5. </span>Optimierung<a class="headerlink" hr
</div>
</div>
<div class="cell_output docutils container">
<img alt="../../../_images/12fc87ee01816b9edb8003694b2f021bc1b6c344038d2a2cb9cc70d65d37db8b.png" src="../../../_images/12fc87ee01816b9edb8003694b2f021bc1b6c344038d2a2cb9cc70d65d37db8b.png" />
<img alt="../../../_images/0c577cc5a0e3f5575bd2402f506a4f62298120dc62af6ef8a634b642b60bf858.png" src="../../../_images/0c577cc5a0e3f5575bd2402f506a4f62298120dc62af6ef8a634b642b60bf858.png" />
</div>
</div>
<p>Häufig werden auch stückweise definierte Modellfunktionen benötigt. Das folgende Beispiel zeigt wie dies anhand des folgenden Datensatzes umgesetzt werden kann.</p>
Expand All @@ -687,7 +687,7 @@ <h1><span class="section-number">3.5. </span>Optimierung<a class="headerlink" hr
</div>
</div>
<div class="cell_output docutils container">
<img alt="../../../_images/db76a3426215f9e4f5c7551d046e328581b4e9710eca8e5d9b06794b6c795dba.png" src="../../../_images/db76a3426215f9e4f5c7551d046e328581b4e9710eca8e5d9b06794b6c795dba.png" />
<img alt="../../../_images/201ab5d0d39ee6319bbe9470573c8344257cb3f3c4dac556e4233d161911755e.png" src="../../../_images/201ab5d0d39ee6319bbe9470573c8344257cb3f3c4dac556e4233d161911755e.png" />
</div>
</div>
<p>In diesem Fall wird nach einer passenden stückweise konstanten bzw. linearen Funktion gesucht. Diese hat zwei Parameter und kann wie folgt definiert werden</p>
Expand Down Expand Up @@ -719,7 +719,7 @@ <h1><span class="section-number">3.5. </span>Optimierung<a class="headerlink" hr
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[4.04155625 2.97300337]
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[3.97578905 3.01046065]
</pre></div>
</div>
</div>
Expand All @@ -738,7 +738,7 @@ <h1><span class="section-number">3.5. </span>Optimierung<a class="headerlink" hr
</div>
</div>
<div class="cell_output docutils container">
<img alt="../../../_images/961469d7c27696bcf7d2cb07dfdfdec02c6cff31f2dc7e08d9066eda673d85f9.png" src="../../../_images/961469d7c27696bcf7d2cb07dfdfdec02c6cff31f2dc7e08d9066eda673d85f9.png" />
<img alt="../../../_images/9e21fc2a2f7e4256dcc3f40620023eec5d47fcd601778a65ab3103bf46c62a1d.png" src="../../../_images/9e21fc2a2f7e4256dcc3f40620023eec5d47fcd601778a65ab3103bf46c62a1d.png" />
</div>
</div>
<p>Im allgemeinen kann es passieren, insbesondere bei komplexen Problemen, dass nicht optimale Parameter gefunden weren konnten. An dieser Stelle kann eine Variation der Anfangswerte helfen.</p>
Expand Down
Loading

0 comments on commit 3913da6

Please sign in to comment.