Concept explainers
Compute forward and backward difference approximations of
To calculate: The forward and backward difference approximations of
Answer to Problem 1P
Solution:
Forward difference approximation of
Forward difference approximation of
Backward difference approximation of
Backward difference approximation of
Central difference approximation of
Central difference approximation of
Explanation of Solution
Given information:
Function,
Step size,
The initial value of x,
Formula used:
Forward difference approximation of
Forward difference approximation of
Backward difference approximation of
Backward difference approximation of
Central difference approximation of
Central difference approximation of
True percent relative error is,
Calculation:
Consider the function,
First derivation of the function is,
Thus, the true value of the first derivative of
The value of
The value of the function at
The value of
The value of the function at
The value of
The value of the function at
The value of
The value of the function at
The value of
The value of the function at
Forward difference approximation of
For
True percent error is,
Forward difference approximation of
For
True percent error is,
Backward difference approximation of
For
True percent error is,
Backward difference approximation of
For
True percent error is,
Central difference approximation of
For
True percent error is,
Central difference approximation of
For
True percent error is,
Therefore, Forward difference approximation of
Forward difference approximation of
Backward difference approximation of
Backward difference approximation of
Central difference approximation of
Central difference approximation of
Want to see more full solutions like this?
Chapter 23 Solutions
Numerical Methods for Engineers
- Functions and Change: A Modeling Approach to Coll...AlgebraISBN:9781337111348Author:Bruce Crauder, Benny Evans, Alan NoellPublisher:Cengage LearningAlgebra & Trigonometry with Analytic GeometryAlgebraISBN:9781133382119Author:SwokowskiPublisher:CengageTrigonometry (MindTap Course List)TrigonometryISBN:9781337278461Author:Ron LarsonPublisher:Cengage Learning