Documente Academic
Documente Profesional
Documente Cultură
1 1 1
f (xi) = [Δfo - ½ Δ2fo + 3 Δ3fo – 1
4 Δ fo + …….+
4
n Δ fo ]
n
h
(i=0 )
(1) n
Error Pn'(x0) = hn f(n+1)(ξ)
(n 1)
Central Difference Aprroximation: The value of X to be
approximated for its derivatives is chosen as the midpoint
of the point chosen for its polynomial approximation.
1
f ' (x) : f ' x1) = [Δfo + ½Δ2fo]
h
f2 fo
[f1 – fo + ½ (f2 – 2 f1 + fo )]
1
h 2h
1 2
Error P2' (x1) = h f iii
(ξ )
6
For 4th order polynomial:
Requires five points, The selected points are xo, x1, x2,
x3, and x4.
The middle point is X2.
1 f 0 8 f1 8 f 3 f 4
f ' (x2) =
h 12
1
Error = 30 h4 f v(ξ), x 0 ≤ ξ ≤ x4
Example 4-4
The following data table is known :
Table 4-4
Estimate the first derivative y at x = 1.7 to use one, two,three and four
terms of the formula used
x f(x) ∆y ∆2 y ∆3 y ∆4 y
1,3 3,669
0,813
1,5 4,482 0,179
0,992 0,041
1,7 5,474 0,220 0,007
1,212 0,048
1,9 6,686 0,268 0,012
1,480 0,060
2,1 8,166 0,328 0,012
1,808 0,072
2,3 9,974 0,400
2,208
2,5 12,182
Solution:
In this case for x = 1.7 used index i = 0 (eq. 4.12)
1
y ' (xo) = Pn' (xo) = [Δyo – ½ Δ2 yo + 1/3 ∆3 y0 - ¼ ∆4y0 + …….+ 1/n ∆ny0 ]
h
Satu suku:
1
y ' (1,7) = (1,212) = 6,060
0,2
Dua suku:
1
y ' (1,7) = (1,212 – ½ (0,268)) = 5,390
0,2
Tiga suku:
1
y ' (1,7) = 0,2 (1,212 – ½ (0,268) + 1/3 (0,060)) = 5,490
Empat suku:
1
y ' (1,7) = (1,212 – ½ (0,268) + 1/3 (0,060) - ¼ (0,012) ) = 5,475
0,2
Use three terms, error = (1) 3 (0,2)3 f iv(ξ), 1,7 ≤ ξ ≤ 2,3
4
0,008 e1,7 (min) 0,011(min)
= 2,3(max) =
4 e 0,020(max)
(the real error = – 0,016)
3
0,04 e1, 7 (min) 0,073(min)
= =
3 e 2,1(max) 0,109(max)
𝑓2 −𝑓0
𝑓 ′ 𝑥1 = + 𝑒𝑟𝑟𝑜𝑟....
2ℎ
𝑦𝑖 = 𝐸 𝑖 𝑦𝑜
𝑑 𝑖
1𝑑 𝑖 1
𝑦𝑖 ′ = (𝐸 𝑦𝑜 ) = (𝐸 𝑦𝑜 ) = (ln 𝐸) 𝐸 𝑖 𝑦𝑜
𝑑𝑦 ℎ 𝑑𝑖 ℎ
Using i = 0
1 1
𝑦𝑜 ′ = (ln 𝐸) 𝑦𝑜 = ln(1 + ∆)𝑦𝑜
ℎ ℎ
′
1 1 2 1 3 1 4
𝑦𝑜 = ∆𝑦𝑜 − ∆ 𝑦𝑜 + ∆ − ∆ 𝑦𝑜 + ⋯
ℎ 2 3 4
D is defined as derivative operator, so
1
𝐷 𝑦𝑜 = ln 1 + ∆ 𝑦𝑜
ℎ
Or
1
𝐷 = ln 1 + ∆
ℎ
1 3
𝐷3 = ln (1 + ∆)
ℎ
1 𝑛
𝐷𝑛 = ln (1 + ∆)
ℎ
As example for second order derivative
2
2
1 1 2 1 3 1 4
𝐷 = 2 ∆− ∆ + ∆ − ∆ +⋯ 𝑦𝑜
ℎ 2 3 4
1 11 4 5 5
𝐷2 2 3
= 2 ∆ − ∆ + ∆ − ∆ + ⋯ 𝑦𝑜
ℎ 12 6
1 11 4 5 5
𝐷2 = 2
∆2 𝑦 − ∆3 𝑦 +
𝑜 𝑜 ∆ 𝑦𝑜 − ∆ 𝑦𝑜 + ⋯
ℎ 12 6