Please use MATLAB for this problem
(Extra Credits) (Conjugate Gradient Method II) Suppose that we seek to minimize the following function:
f(x,x2)=-9x-10x^2+0-ln(100-x-x^2)-ln(x)-ln(x^2)-ln(50-x+x^2)|
where 0 is a given parameter. Note that the domain of this function is
X={(x1,x2)|x1>0,x2>0,x1+x2<100,x1-x2<50}
(a) Now solve this problem using the conjugate gradient method. Run your algorithm for 0 = 10 and for 0 = 100, using the following starting points: (i) xo=(8,90)T (ii) xo = (1,40)T (iii) xo= (15,68.69)T (iv) To=(10,20)T (b) What sort of convergence behavior do you observe? Does the optimal solution depend on different initial points?