Question

10. Write a Matlab function that implements the parabolic interpolation optimization method (you may use the code in the interp2_mh script as a starting point). Test your method to find the minimum of f(x) = sin(10x) + cos(3x). Choose the initial set of three interpolation points: x1=0.4, x2=0.6 and x3=0.7.

Fig: 1