code should be in python

Question 3: Find the minima of the following functions using Steepest Descent and New- ton’s method. Do a comparison of the performance of both the algorithms by picking four different step sizes for Steepest descent and three different initial values for both Steepest Descent and Newton’s Method. Present the results and the insights in a compact manner. f(x) = (x2 – 2)4 + (21 – 2x,) f(x) = 4x+ 4xz + 4×1 L2 – 12×2 Show transcribed image text Question 3: Find the minima of the following functions using Steepest Descent and New- ton’s method. Do a comparison of the performance of both the algorithms by picking four different step sizes for Steepest descent and three different initial values for both Steepest Descent and Newton’s Method. Present the results and the insights in a compact manner. f(x) = (x2 – 2)4 + (21 – 2x,) f(x) = 4x+ 4xz + 4×1 L2 – 12×2

## Expert Answer

Answer to Question 3: Find the minima of the following functions using Steepest Descent and New- ton’s method. Do a comparison of …