Example: Cubic Splines with Known Derivatives
The example for Cubic Splines with Known Data Points produced the second derivatives at each entered point. The following example uses those derivatives to arrive at the same result
Example
From the second derivatives listed below, interpolate the function at 0.8.
|
|
x |
f''(x) |
|
|
0.6 | -0.1999347 |
0.7 | -0.2200526828 |
0.9 | -0.2409746016 |
1.0 | -0.2422470246 |
1.1 | -0.2396373 |
|
Procedure |
Press |
Display |
---|---|---|
|
||
Select the program | [ RUN ] { MTH } { INT } { CUB } { NEW } |
|
Enter the number of points | 5 { m } { EOD } |
|
Enter second derivatives | .1999347 [ +/- ] { ENT } |
|
.2200526828 [ +/- ] { ENT } |
||
.2409746016 [ +/- ] { ENT } |
||
.2422470246 [ +/- ] { ENT } |
||
.2396373 [ +/- ] { ENT } |
||
Interpolate at .8 | { NO } .8 { x } |
|
Repeat the problem | { ESC } { ESC } { OLD } |
Procedure |
Press |
Display |
---|---|---|
|
||
Enter the number of points | 5 { m } { EOD } |
|
Enter second derivatives | 0 { ENT } |
|
[ CE ] { ENT } |
||
[ CE ] { ENT } |
||
[ CE ] { ENT } |
||
0 { ENT } |
||
Interpolate at .8 | { NO } .8 { x } |
The result is the same as for nonzero endpoint second derivatives. The endpoints are too distant from the point of interpolation for a small change in the endpoint second derivative to have any effect on the result.
☚ Back