Gradient Calculator

Let f(x1,x2,,xn) be a differentiable, real-valued function and given n real numbers a1,a2,,an, this application calculates the value of function f at xi=ai, where i=1,2,,n, and the gradient vector of f: gradient(f)=(fx1,fx2,,fxn) The n partial derivatives fxi are calculated using automatic differentiation (AD) as described in Derivative Calculator but in this case AD is applied to functions of serveral variables.

Input Data

The calculator required from users two inputs: f(x1,x2,,xn) and a1,a2,,an. The math expressions for both inputs are the same format as described in Derivative Calculator but in this calculator we use x1 for x1, x2 for x2, etc. The n real numbers a1,,an must be separated by at least one space.

Gradient Calculator