Write a program to calculate the gradient of a multivariable function numerically.
HardProblem Statement
Write a program to calculate the gradient of a multivariable function numerically.
Sample Input
Function: f(x, y) = x^2 + y^2 Point: (1, 2)
Sample Output
Gradient: 2, 4
Limits
Time: 2s · Memory: 256 MB