Exercise "Root Finding"
A x y = 1 ,
exp(-x) + exp(-y) = 1 + 1/A,
where A=10000.
f(x,y) = (1-x)²+100(y-x²)²
by searching for the roots of its gradient.
f(x,y) = (x²+y-11)²+(x+y²-7)²
by searching for the roots of its gradient.
Implement the version of the modified Newton's method where the derivatives are supplied by the user.
Find out the effectiveness of this implementation (as compared with the previous implementation) on some interesting examples by counting the number of function calls.
Implement a more refined linear search with quadratic interpolation.
Compare the number of function evaluations using the refined linear search and the simple backtracking.
Implement a linear search with qubic interpolation.