Develop an M-file that is expressly designed to locate a maximum with the golden-section search algorithm. In
Question:
• 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)?
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Numerical Methods for Engineers
ISBN: 978-9352602131
7th edition
Authors: Steven C. Chapra, Raymond P. Canale
Question Posted: