Question: 1. Write a python program to determine the minimum of below equation using gradient de- scent method. f(x, y) = -0.5+ (x+6)/7+ (y +
1. Write a python program to determine the minimum of below equation using gradient de- scent method. f(x, y) = -0.5+ (x+6)/7+ (y + 3.5)/3+0.4tan(x + y) 2. Calculate the minimum of the above function and compare with the answer you obtained in part 1. 3. Plot the above function in excel and prove your answer in part I and II (please include your plot).
Step by Step Solution
3.48 Rating (158 Votes )
There are 3 Steps involved in it
Python program to determine the minimum using gradient descent method import numpy as np Define the function def fx y return 05 x 6 7 y 35 3 04 nptanx 2 y 2 Partial derivatives of the function with re... View full answer
Get step-by-step solutions from verified subject matter experts
