Rosenbrock function

The rosenbrock function is a 2d function (x,y) -> f(x,y). It has a steep internal valley with a gradual slope that makes it a useful test case. It is $$ f(x,y) = (1-x)^2 + 100(y-x^2)^2$$ So the function has a global minimizer at x = 1, y = 1