TestSlidy

2023-02-02

Higher Degree Polynomial Interpolation

Draftsman’s Spline

Clamped Spline

title

title

Two Jokes

## 
## 
## Sometimes I tuck my knees into my chest and lean forward.
## 
## That's just how I roll.
## 
## 
## Who invented the round table?
## 
## Sir Cumference

Linear Interpolation with R

\[ \small{ \begin{aligned} m & = \frac{y_2 - y_1}{x_2-x_1} \\ b & = y_2 - m x_2 \end{aligned} } \]

Linear Spline with R

Data Plot Linear Function

Example 1: Linear Spline

## $m
## [1] -1  1  3
## 
## $b
## [1] -3 -1 -1
## [1] 1.4

Cubic Spline Plot using R

## Warning: package 'pracma' was built under R version 4.2.2

Example 2: Cubic Spline Function & Plot

## [1] 1.3232