Professional Documents
Culture Documents
Title: Numerical Differentiation Intended Learning Outcomes
Title: Numerical Differentiation Intended Learning Outcomes
Intended Learning Outcomes : At the end of this lesson, you should be able to :
1. Estimate the derivative using the forward divided difference
2. Estimate the derivative using the backward divided difference
3. Estimate the derivative using the centered divided difference
Discussions :
Finite Divided Difference
Illustrative Problem 1.
Let f(x) = x4 – 5.1x3 + 5x2 +5x – 6. Estimate the first derivative f '(1.5) using the forward,
backward, and centered difference approximations. Use step size h = 0.10 and calculate the percent
error.
Solution :
1. Calculate the "exact value" of f '(1.5)
x f(x)
1.4 0.6472 i-1
1.5 0.6000 i
1.6 0.4640 i+i
Backward Difference
f ' (1.5) ≈ (0.6 – 0.6472)/0.10 ≈ -0.472
Centered Difference
f ' (1.5) ≈ (0.4640 – 0.6472)/0.20 ≈ -0.916
Backward Difference
%Error = | [-0.472 - (-0.925)]/-0.925 | x 100% = 48.97%
Centered Difference
%Error = | [-0.916 - (-0.925)]/-0.925 | x 100% = 0.97%
P1. Let f(x) = x4 – 3x3 + 6x2 +5x – 9. Estimate the first derivative f '(2) using the forward,
backward, and centered difference approximations. Use step size h = 0.10 and calculate the percent
error.
References :
1. Applied Numerical Methods with MATLAB for Engineers and Scientist
Steven C. Chapra, McGraw Hill International Edition c.2005