Beruflich Dokumente
Kultur Dokumente
C. F
uhrer: FMN081-2005
96
C. F
uhrer: FMN081-2005
97
By fixing the 4m free coefficients ai, bi, ci, di, i = 0 : m 1 the entire spline
is fixed.
C. F
uhrer: FMN081-2005
98
for i = 0 : m 1,
1 condition
for i = 0 : m 2,
for i = 0 : m 2,
for i = 0 : m 2,
i
2
(Cont.)
From
i+1 = 6aih + 2bi.
and Condition (5) we get
ai =
i+1 i
6h
(Cont.)
... and after inserting the hight-lighted expressions for ai and bi we get
yi+1
i+1 i 3 i 2
=
h + h + cih + yi.
6h
2
yi+1 yi
h
2i +i+1
6
(Cont.)
Inserting now the expressions for ai, bi and ci, using Condition (2) and
simplifying finally gives the central recursion formula:
i1 + 4i + i+1
with i = 1, . . . , m 1.
We consider now natural boundary conditions
0 = m = 0.
C. F
uhrer: FMN081-2005
104
(Cont.)
4 1
1 4
1
...
1
...
1
y2 2y1 + y0
y3 2y2 + y1
..
= 6
h2
.
1
4
m1
yn 2yn1 + yn2
1
2
3
..
First, this system is solved and then the coefficients ai, bi, ci, di are determined by the high-lighted equations.
C. F
uhrer: FMN081-2005
105