EBK NUMERICAL METHODS FOR ENGINEERS
EBK NUMERICAL METHODS FOR ENGINEERS
7th Edition
ISBN: 8220100254147
Author: Chapra
Publisher: MCG
bartleby

Videos

Textbook Question
Book Icon
Chapter 15, Problem 16P

Develop an M-file to implement parabolic interpolation to locate a minimum. Test your program with the same problem as Example 13.2. The function should have the following features:

• Base it on two initial guesses, and have the program generate the third initial value at the midpoint of the interval.

• Check whether the guesses bracket a maximum. If not, the function should not implement the algorithm, but should return an error message.

• Iterate until the relative error falls below a stopping criterion or exceeds a maximum number of iterations.

• Return both the optimal x and f ( x ) .

• Use a bracketing approach (as in Example 13.2) to replace old values with new values.

Blurred answer
Students have asked these similar questions
Using FDF, BDF, and CDF, find the first derivative; 1. The distance x of a runner from a fixed point is measured (in meters) at an interval of half a second. The data obtained is: t 0 x 0 0.5 3.65 1.0 1.5 2.0 6.80 9.90 12.15 Use CDF to approximate the runner's velocity at times t = 0.5s and t = 1.5s 2. Using FDF, BDF, and CDF, find the first derivative of f(x)=x Inx for an input of 2 assuming a step size of 1. Calculate using Analytical Solution and Absolute Relative Error: = True Value - Approximate Value| x100 True Value 3. Given the data below where f(x) sin (3x), estimate f(1.5) using Langrage Interpolation. x 1 1.3 1.6 1.9 2.2 f(x) 0.14 -0.69 -0.99 -0.55 0.31 4. The vertical distance covered by a rocket from t=8 to t=30 seconds is given by: 30 x = Loo (2000ln 140000 140000 - 2100 9.8t) dt Using the Trapezoidal Rule, n=2, find the distance covered. 5. Use Simpson's 1/3 and 3/8 Rule to approximate for sin x dx. Compare the results for n=4 and n=8
1. A Blue Whale's resting heart rate has period that happens to be approximately equal to 2π. A typical ECG of a whale's heartbeat over one period may be approximated by the function, f(x) = 0.005x4 2 0.005x³-0.364x² + 1.27x on the interval [0, 27]. Find an nth-order Fourier approximation to the Blue Whale's heartbeat, where n ≥ 3 is different from that used in any other posts on this topic, to generate a periodic function that can be used to model its heartbeat, and graph your result. Be sure to include your chosen value of n in your Subject Heading.
7. The demand for a product, in dollars, is p = D(x) = 1000 -0.5 -0.0002x² 1 Find the consumer surplus when the sales level is 200. [Hints: Let pm be the market price when xm units of product are sold. Then the consumer surplus can be calculated by foam (D(x) — pm) dx]

Additional Engineering Textbook Solutions

Find more solutions based on key concepts
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
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:9781133382119
Author:Swokowski
Publisher:Cengage
Text book image
College Algebra
Algebra
ISBN:9781938168383
Author:Jay Abramson
Publisher:OpenStax
Text book image
Algebra: Structure And Method, Book 1
Algebra
ISBN:9780395977224
Author:Richard G. Brown, Mary P. Dolciani, Robert H. Sorgenfrey, William L. Cole
Publisher:McDougal Littell
Text book image
Glencoe Algebra 1, Student Edition, 9780079039897...
Algebra
ISBN:9780079039897
Author:Carter
Publisher:McGraw Hill
Text book image
College Algebra (MindTap Course List)
Algebra
ISBN:9781305652231
Author:R. David Gustafson, Jeff Hughes
Publisher:Cengage Learning
Solve ANY Optimization Problem in 5 Steps w/ Examples. What are they and How do you solve them?; Author: Ace Tutors;https://www.youtube.com/watch?v=BfOSKc_sncg;License: Standard YouTube License, CC-BY
Types of solution in LPP|Basic|Multiple solution|Unbounded|Infeasible|GTU|Special case of LP problem; Author: Mechanical Engineering Management;https://www.youtube.com/watch?v=F-D2WICq8Sk;License: Standard YouTube License, CC-BY
Optimization Problems in Calculus; Author: Professor Dave Explains;https://www.youtube.com/watch?v=q1U6AmIa_uQ;License: Standard YouTube License, CC-BY
Introduction to Optimization; Author: Math with Dr. Claire;https://www.youtube.com/watch?v=YLzgYm2tN8E;License: Standard YouTube License, CC-BY