Question: solve it using matlab Write a Matlab code that uses line search to find the minimum of, r2 f(r)2sin which lies in the interval from

solve it using matlabsolve it using matlab Write a Matlab code that uses line search

Write a Matlab code that uses line search to find the minimum of, r2 f(r)2sin which lies in the interval from 11-0 to zU-4. Use a tolerance of 10-6 for convergence. Note and report the number of operations (or iterations) the solution makes. Next, use interval reduction to get the minimum. Note the same. Finally, modify your last code so that it's a golden-section search and find the minimum Compare the number of operations and the time requirement (using tic/toc command) for the three methods

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!