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 13, Problem 12P

Develop a program using a programming or macro language to implement the golden-section search algorithm. Design the program so that it is expressly designed to locate a maximum. The subroutine should have the following features:

• 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 ) .

• Minimize the number of function evaluations.

Test your program with the same problem as Example 13.1.

Blurred answer
Students have asked these similar questions
4. Determine which of the following flow fields represent a possible incompressible flow? (a) u= x²+2y+z; v=x-2y+z;w= -2xy + y² + 2z a (b) V=U cose U coso 1 (9) [1-9] Usino |1 (4)] [+] V=-Usin 1+1
3. Determine the flow rate through the pipe line show in the figure in ft³/s, and determine the pressures at A and C, in psi. 5' B C 12° 20' D 6"d 2nd- Water A
5. A flow is field given by V = x²₁³+xy, and determine 3 ·y³j- (a) Whether this is a one, two- or three-dimensional flow (b) Whether it is a possible incompressible flow (c) Determine the acceleration of a fluid particle at the location (X,Y,Z)=(1,2,3) (d) Whether the flow is rotational or irrotational flow?
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
Elements Of Electromagnetics
Mechanical Engineering
ISBN:9780190698614
Author:Sadiku, Matthew N. O.
Publisher:Oxford University Press
Text book image
Mechanics of Materials (10th Edition)
Mechanical Engineering
ISBN:9780134319650
Author:Russell C. Hibbeler
Publisher:PEARSON
Text book image
Thermodynamics: An Engineering Approach
Mechanical Engineering
ISBN:9781259822674
Author:Yunus A. Cengel Dr., Michael A. Boles
Publisher:McGraw-Hill Education
Text book image
Control Systems Engineering
Mechanical Engineering
ISBN:9781118170519
Author:Norman S. Nise
Publisher:WILEY
Text book image
Mechanics of Materials (MindTap Course List)
Mechanical Engineering
ISBN:9781337093347
Author:Barry J. Goodno, James M. Gere
Publisher:Cengage Learning
Text book image
Engineering Mechanics: Statics
Mechanical Engineering
ISBN:9781118807330
Author:James L. Meriam, L. G. Kraige, J. N. Bolton
Publisher:WILEY
12. Searching and Sorting; Author: MIT OpenCourseWare;https://www.youtube.com/watch?v=6LOwPhPDwVc;License: Standard YouTube License, CC-BY
Algorithms and Data Structures - Full Course for Beginners from Treehouse; Author: freeCodeCamp.org;https://www.youtube.com/watch?v=8hly31xKli0;License: Standard Youtube License