Numerical Methods for Engineers
Numerical Methods for Engineers
7th Edition
ISBN: 9780073397924
Author: Steven C. Chapra Dr., Raymond P. Canale
Publisher: McGraw-Hill Education
bartleby

Concept explainers

bartleby

Videos

Textbook Question
Book Icon
Chapter 13, Problem 15P

Develop a program using a programming or macro language to implement Newton's method. The subroutine should have the following features:

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

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

Test your program with the same problem as Example 13.3.

Blurred answer
Students have asked these similar questions
Solve the following two non-linear optimization problems: Maximize f(x) = 4x1+6x2-2x12-2x1x2-2x22 Minimize f(x) = (x2 – x12)2 + (1 – x1) Each using the method:a. Newton with starting point [0,0]. Do it up to a maximum of two iterations.b. Steepest descent with starting point [0,0]. Do it up to two iterations only.c. Random search. Please specify the range of x1 and x2 values that you will use. For random numbers, please generate random numbers from Ms excel using the function: RAND(). Do it for ten iterations. Hint: use the value in point a as a guide to determine the interval
Find the minimum of the function f(x) = (X/log X) by using the quadratic-interpolation method with an initial trial step length as 0.1
Find the minimum of the following function using the Nelder-Mead method with initial working simplex of (-2,-2), (0,0) and (0.2,0.2). Perform three (3) iterations only. Round off to four (4) decimal places.
Knowledge Booster
Background pattern image
Advanced Math
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, advanced-math and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Text book image
Advanced Engineering Mathematics
Advanced Math
ISBN:9780470458365
Author:Erwin Kreyszig
Publisher:Wiley, John & Sons, Incorporated
Text book image
Numerical Methods for Engineers
Advanced Math
ISBN:9780073397924
Author:Steven C. Chapra Dr., Raymond P. Canale
Publisher:McGraw-Hill Education
Text book image
Introductory Mathematics for Engineering Applicat...
Advanced Math
ISBN:9781118141809
Author:Nathan Klingbeil
Publisher:WILEY
Text book image
Mathematics For Machine Technology
Advanced Math
ISBN:9781337798310
Author:Peterson, John.
Publisher:Cengage Learning,
Text book image
Basic Technical Mathematics
Advanced Math
ISBN:9780134437705
Author:Washington
Publisher:PEARSON
Text book image
Topology
Advanced Math
ISBN:9780134689517
Author:Munkres, James R.
Publisher:Pearson,
What is a Function? Business Mathematics and Statistics; Author: Edmerls;https://www.youtube.com/watch?v=fcGNFyqRzuI;License: Standard YouTube License, CC-BY
FUNCTIONS CONCEPTS FOR CBSE/ISC/JEE/NDA/CET/BANKING/GRE/MBA/COMEDK; Author: Neha Agrawal Mathematically Inclined;https://www.youtube.com/watch?v=hhbYynJwBqk;License: Standard YouTube License, CC-BY