EBK NUMERICAL METHODS FOR ENGINEERS
EBK NUMERICAL METHODS FOR ENGINEERS
7th Edition
ISBN: 9780100254145
Author: Chapra
Publisher: YUZU
bartleby

Concept explainers

bartleby

Videos

Textbook Question
Book Icon
Chapter 23, Problem 19P

The objective of this problem is to compare second-order accurate forward, backward, and centered finite-difference approximations of the first derivative of a function to the actual value of the derivative. This will be done for

f ( x ) = e 2 x x

(a) Use calculus to determine the correct value of the derivative at x = 2 .

(b) To evaluate the centered finite-difference approximations, start with. Thus, for the first evaluation, the x values for the x = 0.5 centered difference approximation will be x = 2 ± 0.5 or x = 1.5 and 2.5 Then, decrease in increments of 0.01 down to a minimum value of Δ x = 0.01 .

(c) Repeat part (b) for the second-order forward and backward differences. (Note that these can be done at the same time that the centered difference is computed in the loop.)

(d) Plot the results of (b) and (c) versus x. Include the exact result on the plot for comparison.

Blurred answer
Students have asked these similar questions
Calculate the value of the first order derivative at the point x=0.2 with a single finite difference formula using all the following values. 0.1 0.2 0.3 0.4 f(x) 0.000 000 0.078 348 0.138 910 0.192 916 0.244981
4. If all variables of choose the a stream are correct answer dependent of time it is said to be in: (a) Steady flow (b) Unsteady flow (c) Uniform flow (d) Closed flow (e) Constant flow 5. In an irreversible process, there is a: (a) loss of heat (b) No O loss of heat (c) Gain of heat (d) No gain of heat
3. Using the trial function u¹(x) = a sin(x) and weighting function w¹(x) = b sin(x) find an approximate solution to the following boundary value problems by determining the value of coefficient a. For each one, also find the exact solution using Matlab and plot the exact and approximate solutions. (One point each for: (i) finding a, (ii) finding the exact solution, and (iii) plotting the solution) a. (U₁xx -2 = 0 u(0) = 0 u(1) = 0 b. Modify the trial function and find an approximation for the following boundary value problem. (Hint: you will need to add an extra term to the function to make it satisfy the boundary conditions.) (U₁xx-2 = 0 u(0) = 1 u(1) = 0

Chapter 23 Solutions

EBK NUMERICAL METHODS FOR ENGINEERS

Knowledge Booster
Background pattern image
Mechanical Engineering
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, mechanical-engineering and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Principles of Heat Transfer (Activate Learning wi...
Mechanical Engineering
ISBN:9781305387102
Author:Kreith, Frank; Manglik, Raj M.
Publisher:Cengage Learning
Finding Local Maxima and Minima by Differentiation; Author: Professor Dave Explains;https://www.youtube.com/watch?v=pvLj1s7SOtk;License: Standard YouTube License, CC-BY