2. (a) Plot f(x) =0.6 xq+5x – 7xż +sin(x,xn) – 5x2; – 1 5 x1,x2 St. (b) Generate a contour plot of f(.) over the same re
Posted: Sat Feb 19, 2022 3:38 pm
2. (a) Plot f(x) =0.6 xq+5x – 7xż +sin(x,xn) – 5x2; – 1 5 x1,x2 St. (b) Generate a contour plot of f(.) over the same region as in (a). (c) Compute the gradient and Hessian of fl.) manually at any point x. - 1. do π (d) Let xo On the contour plot in (b), plot the line search result 1.01 min f (xx +Qzdy) for k=0 to 10 using the result shown in class to compute the optimal az value as a function the gradient and the Hessian for the steepest descent algorithm. a 20 (e) Plot Qx vs. f (xx +Qzdr). Interpret this plot. .