Numerical Methods for Engineers
7th Edition
ISBN: 9780073397924
Author: Steven C. Chapra Dr., Raymond P. Canale
Publisher: McGraw-Hill Education
expand_more
expand_more
format_list_bulleted
Concept explainers
Textbook Question
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
Test your program with the same problem as Example 13.3.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents 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.
Chapter 13 Solutions
Numerical Methods for Engineers
Ch. 13 - 13.1 Given the formula
(a) Determine the...Ch. 13 - 13.2 Given
(a) Plot the function.
(b) Use...Ch. 13 - Prob. 3PCh. 13 - Repeat Prob. 13.3, except use parabolic...Ch. 13 - 13.5 Repeat Prob. 13.3 but use Newton’s method....Ch. 13 - Employ the following methods to find the maximum...Ch. 13 - 13.7 Consider the following function:
Use...Ch. 13 - Employ the following methods to find the maximum...Ch. 13 - 13.9 Consider the following function:
Perform...Ch. 13 - Consider the following function:...
Ch. 13 - 13.11 Determine the minimum of the function from...Ch. 13 - Develop a program using a programming or macro...Ch. 13 - Develop a program as described in Prob. 13.12, but...Ch. 13 - 13.14 Develop a program using a programming or...Ch. 13 - 13.15 Develop a program using a programming or...Ch. 13 - Pressure measurements are taken at certain points...Ch. 13 - 13.17 The trajectory of a ball can be computed...Ch. 13 - 13.18 The deflection of a uniform beam subject to...Ch. 13 - An object with a mass of 100 kg is projected...Ch. 13 - The normal distribution is a bell-shaped curve...Ch. 13 - An object can be projected upward at a specified...Ch. 13 - Use the golden-section search to determine the...
Knowledge Booster
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
- Find the optimum of f(x) = 2.2x – 1.7x2 + x3 – 0.25x4 Perform: (Round-off all computed values to 4 decimal places.)a) (2 iterations) Golden-Section Search using XL = –2.4 and XU = 4.5 For each iteration, show the following: d, X1, X2, decision rule, ea, and the next XL andXU Are you approaching a local or global optimum? ____________ Are you approaching a minimum or maximum optimum? __________arrow_forwardFind the third iteration value of an extremum (maximum/minimum value) of if a = 5, b = 0.5, and c = 5 using Newton's Method with an initial guess value of x = - 4.3arrow_forwardApply the Newton-Raphson's method xn+1 = xn – f '(xn) / f ''(xn) to develop a function double findMinMax(…) that returns a solution that is either a minimum value or a maximum value for z. The program finds a local minimum or a local maximum when the difference between the new solution and the previous one is smaller than 0.00001 within 10000 iterations. Otherwise, it shows Infinity as output. Let function z = x4+2y6 – xy – x + 2. Show the post-conditions for z. The preconditions for x and y are shown as below. Feel free to choose an arbitrary initial guess values x0 and y0 that meet the following precondition. |x| ≤ 6 and |y| ≤ 5arrow_forward
- By experimenting with the fourth-order Runge-Kutta subroutine, find the maximum and minimum value over the interval [0.6,1.6] of the solution to the initial value problem below. Where does this maximum occur? y'=(2.8/(x^4))-y^2, y(0.6)=-1arrow_forwardConsider the function f(x) = -6x2 + 4x - 4. Find the critical point, A of the function. At x = A, does f(x) have a local min, or local max, or neither?arrow_forwardConsider the following optimisation problemmin f(x, y) = x + y − x2subject to x + y ≤ 1x ≥ 0, y ≥ 0.a) Find a critical point of the Lagrangian.b) Find a better solution to the problem above than the critical point ofthe Lagrangian calculated in a).c) What sufficient condition for the optimality of the Lagrangian solutionis violated by the problem.arrow_forward
- Determine the stability condition for the step size h for the midpoint method, which has the form.arrow_forwardfind the particular solution so that the given functions will satisfy the prescribe initial conditionsarrow_forwardFind the optimal solution for the following model using simplexarrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- Advanced Engineering MathematicsAdvanced MathISBN:9780470458365Author:Erwin KreyszigPublisher:Wiley, John & Sons, IncorporatedNumerical Methods for EngineersAdvanced MathISBN:9780073397924Author:Steven C. Chapra Dr., Raymond P. CanalePublisher:McGraw-Hill EducationIntroductory Mathematics for Engineering Applicat...Advanced MathISBN:9781118141809Author:Nathan KlingbeilPublisher:WILEY
- Mathematics For Machine TechnologyAdvanced MathISBN:9781337798310Author:Peterson, John.Publisher:Cengage Learning,
Advanced Engineering Mathematics
Advanced Math
ISBN:9780470458365
Author:Erwin Kreyszig
Publisher:Wiley, John & Sons, Incorporated
Numerical Methods for Engineers
Advanced Math
ISBN:9780073397924
Author:Steven C. Chapra Dr., Raymond P. Canale
Publisher:McGraw-Hill Education
Introductory Mathematics for Engineering Applicat...
Advanced Math
ISBN:9781118141809
Author:Nathan Klingbeil
Publisher:WILEY
Mathematics For Machine Technology
Advanced Math
ISBN:9781337798310
Author:Peterson, John.
Publisher:Cengage Learning,
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