Question: (a) Write a program for the method. (b) Apply your program to f(x) = x 2 1 + 4x 2 2 , experimenting with respect
(a) Write a program for the method.
(b) Apply your program to f(x) = x21 + 4x22, experimenting with respect to speed of convergence depending on the choice of x0.
(c) Apply your program to f(x) = x21 + x42 and to f(x) = x41 + x42, x0 = (2, 1). Graph level curves and your path of descent. (Try to include graphing directly in your program.)
Step by Step Solution
3.35 Rating (161 Votes )
There are 3 Steps involved in it
a Procedure descGrad 1 declare local variables 2 determine the level curves and their points of inte... View full answer
Get step-by-step solutions from verified subject matter experts
