Q1. Write a program to minimize a given objective function using the Conjugate Gradient algorithm
rithm. Using the program minimize the following functions (f1, f2 and f3):
$F1(x) = x_1^2 + x_2^2 + x_3^2$
$F2(x) = x_1^2 + 10x_2^2 + 100x_3^2$
$F3(x) = 100x_1^2 + x_2^2 + 0.1x_3^2$
• Begin with $x_1 = 1, x_2 = 1$ & $x_3 = 2$ as the starting design point for all the three functions.
• Choose a uniform stopping criterion and clearly state the same.