![2. [12 points] Using the code gradient method_constr.m from the LectureCodes/Week10 folder, find a minimizer of the constrain](https://media.cheggcdn.com/media%2F23a%2F23ad3c4a-c85b-4e77-ba76-66361512c5aa%2FphpvFHNki.png)

function[x,fun_val]=gradient_method_constr(func,x0,Z,c,epsilon)
% Gradient method with backtracking stepsize rule forconstrained function
%
% INPUT
%=======================================
% func ………. must output objective function value andgradient of the
objective function
% x0……… initial point
% Z……… basis matrix for null space of constraints
% c ….. tolerance parameter for the sufficient descent(Armijo)
% condition
% epsilon … tolerance parameter for stopping rule
% OUTPUT
%=======================================
% x ……… optimal solution (up to a tolerance)
% of
PayPal Gateway not configured
PayPal Gateway not configured