README The program is used to compute the gradient and hessian of the function. The number of A,B,C can be changed in header.h A is for the value of function,B for the gradient and C for the Hessian.(0 means not to evaluate, 1 means to evaluate) All the derivative are made by mathematicas. I tested this program with x.vec given in the website, 2 or 3 numbers have a little different with the answer given in the webpage, but error is less than 5%, I think that is acceptable, others are the same as the answer provided. I tested with y.vec which has 2 vectors, it seems work well. sample: [kaixiany@galois20 kaixian_hw13]$ ./kaixian_HW13 < x.vec the vector is: 4 1.200000 3.400000 4.500000 6.700000 f=:0.113663 the value of the function is : 0.113663 the value of df is : 4 -0.439235 -1.392520 2.148202 3.095136 the value of ddf is : 4 4 -0.868507 -2.185992 -2.307843 0.000000 -2.102134 -11.495951 -7.010811 2.911143 -2.307843 -6.957304 14.475872 19.662325 0.000000 2.911143 19.662325 14.699325 the time of this function ran is 0.000000 the number of f,df,ddf are called is 1 Kaixian 8/16