Professional Documents
Culture Documents
Module 1 Numerical Computations
Module 1 Numerical Computations
Module 1 Numerical Computations
Numerical Computations
n
Where: x − xo k (k) 1 x
pn x = f (xo) Rn x = න x − t nf n+1 t dt
k! n! x
k=0 0
x − xo n+1 (n+1)
Rn x = f (ξ) Rn(x) is the remainder
n+1 !
Taylor’s Series
Taylor’s series gives us a means to predict a function value at
one point in terms of the function value and its derivatives at
another point. Taylor’s series is an associated formula of Taylor’s
theorem.
Taylor’s series expansion is defined by
f(xi+1 )
′′ ′′′ n x
f x i f x i f i
= f xi + f ′ xi h + h2 + h3 + ⋯ + hn + R n
2! 3! n!
f n+1
(ξ) n+1
Rn x = h h = xi+1 − xi
n+1 !
Sample Problems for Taylor Series
1. Use zero- through fourth-order Taylor series
expansions to approximate f(1) for the function
f(x) = -0.1x4 – 0.15x3 – 0.5x2 – 0.25x + 1.2
Using a base point at x = 0. Compute the true
percent error for each approximation.