Skip to content

Commit 55fd3bd

Browse files
committed
cubic spline slides
1 parent 84abc14 commit 55fd3bd

2 files changed

Lines changed: 40 additions & 0 deletions

File tree

Slides/D10_CubicSplineInterpolants.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -585,6 +585,22 @@ <h2>Constructing Cubic Splines</h2>
585585
<div class="fragment">
586586
<p>We’ll actually go through the math here because its a really nice application of your first two semesters of calculus.</p>
587587
</div>
588+
<div class="fragment">
589+
<p>Before we dive in, a few comments to keep us grounded.</p>
590+
</div>
591+
<div class="fragment">
592+
<p><strong>Strategy:</strong> The strategy we’re going to use pulls from Calculus I, Calculus II, and Linear Algebra.</p>
593+
</div>
594+
<ol type="1">
595+
<li class="fragment">Since we know <span class="math inline">\(f_{i, i + 1}^{\left(4\right)}\left(x\right) = 0\)</span> (since <span class="math inline">\(\frac{d^4\omega}{dx^4} = 0\)</span>), we know <span class="math inline">\(f_{i, i+1}^{\left(3\right)}\left(x\right)\)</span> is constant, and <span class="math inline">\(f_{i, i+1}^{''}\left(x\right)\)</span> is linear.</li>
596+
<li class="fragment">Construct a linear interpolant for the second derivative.</li>
597+
<li class="fragment">Integrate it once to obtain the slopes.</li>
598+
<li class="fragment">Integrate again to obtain the cubic sections.</li>
599+
<li class="fragment">Use the constraints to determine the constants.</li>
600+
</ol>
601+
<div class="fragment">
602+
<p><strong>Setting Expectations:</strong> You will not be expected to memorize or reproduce this argument. You should be able to follow it, discuss the main strategy, and identify where ideas we’ve encountered in MAT370 are being leveraged.</p>
603+
</div>
588604
</div>
589605
</section>
590606
<section id="constructing-cubic-splines-1" class="slide level2">

Slides/D10_CubicSplineInterpolants.qmd

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,30 @@ We'll actually go through the math here because its a really nice application of
455455

456456
:::
457457

458+
:::{.fragment}
459+
460+
Before we dive in, a few comments to keep us grounded.
461+
462+
:::
463+
464+
:::{.fragment}
465+
466+
**Strategy:** The strategy we're going to use pulls from Calculus I, Calculus II, and Linear Algebra.
467+
468+
:::
469+
470+
1. Since we know $f_{i, i + 1}^{\left(4\right)}\left(x\right) = 0$ (since $\frac{d^4\omega}{dx^4} = 0$), we know $f_{i, i+1}^{\left(3\right)}\left(x\right)$ is constant, and $f_{i, i+1}^{''}\left(x\right)$ is linear.
471+
2. Construct a linear interpolant for the second derivative.
472+
3. Integrate it once to obtain the slopes.
473+
4. Integrate again to obtain the cubic sections.
474+
5. Use the constraints to determine the constants.
475+
476+
:::{.fragment}
477+
478+
**Setting Expectations:** You will not be expected to memorize or reproduce this argument. You should be able to follow it, discuss the main strategy, and identify where ideas we've encountered in MAT370 are being leveraged.
479+
480+
:::
481+
458482
</div>
459483

460484
## Constructing Cubic Splines

0 commit comments

Comments
 (0)