Question: use matlab From the previous optimization, you may find one minimum value of the banana function. Now, please try the so-called Branin function, which has

use matlab

From the previous optimization, you may find one minimum value of the banana function. Now, please try the so-called Branin function, which has three global minima. The Branin function is written as f(x,y)=a(x_(2)-bx_(1)^(2)+cx_(1)-r)^(2)+s(1-t)cos(x_(1))+s where a=1,b=5.1(4pi^(2)),c=5//pi,quadr=6,s=10,t=1//(8pi).

In this problem you use the optimization toolbox (optimtool) in Matlab to find the three minima of Branin function by trying different starting guess. (a) Create a figure to show the graphic representation of f, on the square x1in[-5,10],x2in[0,15] (using: Surf, Contour, or others). (b) Find the three minima of the Banana function f using the Matlab optimization algorithm fminunc, fmincon, or fminsearch. (e.g. one of the global minima x^(**)=(-pi,12.275f(x^(**)) = 0.397887)

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!