Concept explainers
Compute the first-order central difference approximations of
(a)
(b)
(c)
(d)
(e)
Compare your results with the analytical solutions.
(a)
To calculate: The first order central difference approximations of
Answer to Problem 8P
Solution:
Analytic value of the first derivative is
Explanation of Solution
Given information:
The function,
The value of x,
Step size
Formula used:
Central difference approximation of
Here, h is step size and
Calculation:
Consider the function,
Differentiate the function with respect to x,
Now substitute
Thus, the analytic value of the first derivative of the function is
Again, consider the function,
Here,
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
Now, central difference approximation of
Substitute the values of
Therefore, the analytic value of the first derivative at
(b)
To calculate: The first order central difference approximations of
Answer to Problem 8P
Solution:
Analytic value of the first derivative is
Explanation of Solution
Given information:
The function,
The value of x,
Step size
Formula used:
Central difference approximation of
Here, h is step size and
Calculation:
Consider the function,
Differentiate the function with respect to x,
Now substitute
Thus, the analytic value of the first derivative of the function is
Again, consider the function,
Here,
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
Now, central difference approximation of
Substitute the values of
Therefore, the analytic value of the first derivative at
(c)
To calculate: The first order central difference approximations of
Answer to Problem 8P
Solution:
Analytic value of the first derivative is
Explanation of Solution
Given information:
The function,
The value of x,
Step size
Formula used:
Central difference approximation of
Here, h is step size and
Calculation:
Consider the function,
Differentiate the function with respect to x,
Now substitute
Thus, the analytic value of the first derivative of the function is
Again, consider the function,
Here,
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
Now, central difference approximation of
Substitute the values of
Therefore, the analytic value of the first derivative at
(d)
To calculate: The first order central difference approximations of
Answer to Problem 8P
Solution:
Analytic value of the first derivative is
Explanation of Solution
Given information:
The function,
The value of x,
Step size
Formula used:
Central difference approximation of
Here, h is step size and
Calculation:
Consider the function,
Differentiate the function with respect to x,
Now substitute
Thus, the analytic value of the first derivative of the function is
Again, consider the function,
Here,
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
Now, central difference approximation of
Substitute the values of
Therefore, the analytic value of the first derivative at
(e)
To calculate: The first order central difference approximations of
Answer to Problem 8P
Solution:
Analytic value of the first derivative is
Explanation of Solution
Given information:
The function,
The value of x,
Step size
Formula used:
Central difference approximation of
Here, h is step size and
Calculation:
Consider the function,
Differentiate the function with respect to x,
Now substitute
Thus, the analytic value of the first derivative of the function is
Again, consider the function,
Here,
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
Now, central difference approximation of
Substitute the values of
Therefore, the analytic value of the first derivative at
Want to see more full solutions like this?
Chapter 23 Solutions
EBK NUMERICAL METHODS FOR ENGINEERS
Additional Engineering Textbook Solutions
Basic Technical Mathematics
Fundamentals of Differential Equations (9th Edition)
Advanced Engineering Mathematics
Introduction to Statistical Quality Control
Holt Mcdougal Larson Pre-algebra: Student Edition 2012
- The values of p and h which renders (makes) the following set of equations dynamically and statically decoupled are, respectively. k,+k2 5 p+4 x1 = 0, X2 7 h+1 + [7h+1 J+e 5 p+4 J+e h= -0.214 and p = -1.76 h = -0.143 and p= -0.8 h = -0.281 and p= -1.2 h = -0.081 and p = -0.536arrow_forwardUse the graphical method to find the optimal solution for the following LP equations: Min Z=10 X1 + 25 X2 Subject to X1220, X2 ≤40 ,XI +X2 ≥ 50 X1, X2 ≥ 0.arrow_forwardSolve the following initial value problem by the method of Laplace Transformarrow_forward
- Example: Sketch the graphs of the following functions. 1. y=sin2x So w nY oy shrin ILYarrow_forwardGiven the data below: Xo = 1 X1= 2 x2 = 4 Axo) = 2 Ax1) = 3 Ax2 : = 8 (i) Calculate the second-order interpolating polynomial using the method of the Newton's interpolating polynomial. (ii) Use the interpolating polynomial in (i) to calculate the approximated/interpolated functional value at x = 3, i.e., (3). (iii)Calculate the percentage relative error if the true value of f(3) is 4.8.arrow_forwardLet f(x) = √√√x, g(x) = x + 8 and h(x) = . Compute the following function X (fh)(4)arrow_forward
- x^2-5x^(1/3)+1=0 Has a root between 2 and 2.5 use bisection method to three iterations by hand.arrow_forwardVerify if the following functions are Linear or not. Support your conclusion with appropriate reason. a) F(x) = b) f(x) =rcos wtarrow_forwardThe natural exponential function can be expressed by . Determine e2by calculating the sum of the series for:(a) n = 5, (b) n = 15, (c) n = 25For each part create a vector n in which the first element is 0, the incrementis 1, and the last term is 5, 15, or 25. Then use element-by-element calculations to create a vector in which the elements are . Finally, use the MATLAB built-in function sum to add the terms of the series. Compare thevalues obtained in parts (a), (b), and (c) with the value of e2calculated byMATLAB.arrow_forward
- What is the return type of angles function in MATLAB ?arrow_forwardQ-2) Find the solution for the LPP below by using the graphical method? Min Z=4x1+3x2 S.to: x1+2x2<6 2x1+x2<8 x127 x1,x2 ≥ 0 Is there an optimal solution and why if not can you extract it?arrow_forward2. Solve the following ODE in space using finite difference method based on central differences with error O(h). Use a five node grid. 4u" - 25u0 (0)=0 (1)=2 Solve analytically and compare the solution values at the nodes.arrow_forward
- Principles of Heat Transfer (Activate Learning wi...Mechanical EngineeringISBN:9781305387102Author:Kreith, Frank; Manglik, Raj M.Publisher:Cengage Learning