Docsity

Taylor Expansion and Forward Difference Formulas for Approximating Derivatives, Assignments of Mathematics

Toggle sidebar
bg1
HOME WORK V
DUE : MAR 01/2006
(1) Using Taylor expansion, show that
f0(x0) = f(x0+h)−f(x0)
h
−
h
2f00(ξ),
for some ξlying in between xand x0+h.
(2) Derive an O(h4) five-point formula to approximate f0(x0) using nodes x0−
h, x0, x0+h, x0+ 2hand x0+ 3h.
(3) Derive an O(h4) five-point formula to approximate f0(x0) using nodes x0−
2h, x0−h, x0, x0+hand x0+ 2h.
(4) Compare two error terms obtained in the above two problems (2) and (3)
and decide which is the better.
(5) The forward-difference formula can be expressed as
(0.1) f0(x0) = 1
h(f(x0+h)−f(x0)) −
h
2f00(x0)−
h2
6f000(x0) + O(h3).
Use extrapolation to derive an O(h3) formula for f0(x0).
1

Partial preview of the text

Download Taylor Expansion and Forward Difference Formulas for Approximating Derivatives and more Assignments Mathematics in PDF only on Docsity!

HOME WORK V

DUE : MAR 01/ (1) Using Taylor expansion, show that f ′(x 0 ) = f^ (x^0 +^ h h)^ −^ f^ (x^0 )− h 2 f ′′(ξ), for some ξ lying in between x and x 0 + h. (2) Derive an h, x O(h^4 ) five-point formula to approximate f ′(x 0 ) using nodes x 0 − 0 , x 0 +^ h, x 0 + 2h^ and^ x 0 + 3h. (3) Derive an 2 h, x O(h^4 ) five-point formula to approximate f ′(x 0 ) using nodes x 0 − 0 −^ h, x 0 , x 0 +^ h^ and^ x 0 + 2h. (4) Compare two error terms obtained in the above two problems (2) and (3)and decide which is the better. (5) The forward-difference formula can be expressed as (0.1) f ′(x 0 ) =^1 h (f (x 0 + h) − f (x 0 )) − h 2 f ′′(x 0 ) − h 62 f ′′′(x 0 ) + O(h^3 ). Use extrapolation to derive an O(h^3 ) formula for f ′(x 0 ).

1