Unconstrained Optimization,Rosenbrock, Undergraduate Optimization using MATLAB and proofs I attached homework 3 and the lecture notes. It saids homework 3 is based on chapter 2 lecture notes, but…