Question: Compare analytical, forward difference, backward difference, and central difference derivatives off with respect to x1 and x2, using Program GRADIENT for the function 4x2-xx
Compare analytical, forward difference, backward difference, and central difference derivatives off with respect to x1 and x2, using Program GRADIENT for the function 4x2-xx f = 2 1 2 at the point x0 = (0.5, 1.5)T. Note: provide the function in 10000(x x3 -x4) 211 Subroutine Getfun and the analytical gradient in Subroutine Gradient.
Step by Step Solution
There are 3 Steps involved in it
To compare the analytical forward difference backward difference and central difference derivatives ... View full answer
Get step-by-step solutions from verified subject matter experts
