Professional Documents
Culture Documents
2! n!
Find the value of f 6 given that f 4 125, f 4 74,
f 4 30, f 4 6 and all other higher order derivatives
of f x at x 4 are zero.
Solution:
f ' ' xi f xi
n
f xi 1 f xi f ' xi xi 1 xi xi1 xi ... xi1 xi n ...
2
2! n!
xi 4
hx x 64 2
i i 1
(2) http://numericalmethods.eng.usf.edu/topics/taylor_series.html
TAYLOR SERIES
Solution 1: (cont.)
Solution:
The Taylor series approximation with n=0 is
f ( xi 1 ) f ( xi ) f ( x ) 1.2
i 1
''
f ( x ) f ( x ) f ( x )(h)
f ('x ) 2
i 1 i ( h)
i
i
2!
f ( x ) 1.2 0.25h 0.5h 0.45
i 1
2
TAYLOR SERIES
f (x)
Zero order
f ( xi 1 ) f ( xi )
First order f ( x ) f ( x ) f ( x )(h)
i 1 i
'
i
1.0
Second order
''
f (x )
f (x ) f (x )
i 1 i
f ( xi )(h)
'
( h)
i 2
0.5 2!
True
0
x 0
i
x 1
i 1 x
h
The approximation of f ( x) 0.1x 0.15 x 0.5 x 0.25 x 1.2
4 3 2
Mclaurin Series ( xi 0)
Example:
x3 x5 x7
sin( x) x
3! 5! 7!
2! n!
Truncating this equation after the first derivative and rearranging
yields