Question

2. Use the built-in Matlab function fmincon to find the minimum of Rosenbrock's banana functionwe discussed in class, f(x, y)=(1-x)^{2}+100\left(y-x^{2}\right)^{2} inside the unit disk, i.e., with the inequality constraint, x^{2}+y^{2}

\leq 1

Fig: 1

Fig: 2

Fig: 3

Fig: 4