Use the gradient descent algorithm with a fixed step size to find minimizer of the function
$$f\left(x_1, x_2\right) = 100\left(x_2-{x_1}^2\right)^2+\left(1-x_1\right)^2$$
Use the initial condition of $x(0)=(-2, 2)^T$. Choose an appropriate step size $\alpha$ (so that the method works). Terminate the algorithm when the norm of $\nabla f$ is less than $0.0001$.
Find (the numerical values of) the minimizer and $\nabla f$ at the minimizer.
Find the total number of iterations and values of the minimizer and $\nabla f$ at several (about 10) intermediate steps.
Draw a figure to show the contour lines of $f$, the initial guess and the final point, and several intermediate estimates of the minimizer.
This dos not do the plotting in step 3, but provides an implementation of the steepest descent algorithm.