Question: 2. Write a MATLAB code that uses the Golden Section Search Method to find the minimum of f(x) = x/10-2sinx, starting with the interval
2. Write a MATLAB code that uses the Golden Section Search Method to find the minimum of f(x) = x/10-2sinx, starting with the interval [0, 4]. Iterate until the width of the interval is less than 0.1.
Step by Step Solution
3.34 Rating (157 Votes )
There are 3 Steps involved in it
clc clear all close all fun x x210 2sinx defining function fx as inline XL 0 initializing lower boun... View full answer
Get step-by-step solutions from verified subject matter experts
