
Description of needed knowledge to get the most out of this course.
Learn about polynomial interpolation and its side effects.
This lecture walks you through using and visualizing polynomial interpolation using a SciPy library function and matplotlib.
The downloadable zip file contains the Python example as a Jupyter Notebook (Polynomial.ipynb) and as a pdf (Polynomial-ipynb.pdf).
Note that because of Udemy platform requirements the Notebook is inside the zip file and needs to be unzipped before use.
This lecture introduces interpolating splines and some of their different types.
Learn how to construct a linear interpolating spline.
Here the concept of cubic interpolating splines is introduced. The lecture also discusses the degrees of freedom when constructing such a spline interpolant (the boundary conditions) and outlines how to construct a cubic spline.
The downloadable zip file contains the Python example as a Jupyter Notebook (CubicSpline.ipynb) and as a pdf (CubicSpline-ipynb.pdf). This example shows how to use a SciPy library function to construct a cubic interpolating spline, which was used to create figures for the presentation and is included for reference only. The next section will deal with how actually to construct the splines.
Note that because of Udemy platform requirements the Notebook is inside the zip file and needs to be unzipped before use.
This article lecture explains in detail how to calculate a cubic interpolating spline's coefficients for the different boundary conditions discussed in the previous lecture.
Answering the rocket example's questions will serve as a demonstration on how to construct, evaluate, and analyze a cubic interpolating spline. The example involves (generalized) natural, clamped, and not-a-knot splines that will be constructed, evaluated, differentiated, and integrated.
The Python code is attached to the next lecture, "The rocket example in Python I: preliminaries".
Introduce the Jupyter Notebook Rocket.ipynb.
The downloadable zip file contains the Python example as a Jupyter Notebook (Rocket.ipynb) and as a pdf (Rocket-ipynb.pdf).
Note that because of Udemy platform requirements the Notebook is inside the zip file and needs to be unzipped before use.
Define input data and helper functions (spline coefficients, evaluate spline and its derivatives, evaluate spline integral).
Given the input data, calculate splines for different boundary conditions.
Visualize the resulting splines and their derivatives; answer the example questions.
This lecture demonstrates cubic spline interpolation with periodic boundary conditions with the Jupyter Notebook Periodic.ipynb.
The downloadable zip file contains the Python example as a Jupyter Notebook (Periodic.ipynb) and as a pdf (Periodic-ipynb.pdf).
Note that because of Udemy platform requirements the Notebook is inside the zip file and needs to be unzipped before use.
This is a technical course designed for students and practitioners.
This course gets you
an introduction to spline interpolation
an understanding of what splines are
a detailed description of how to construct linear and cubic splines
Python code to construct cubic splines with different boundary conditions
the confidence of knowing what library functions for spline interpolation actually do