Calculates the partial derivatives of a function that contains two independent variables.
Numbers of values for both variables used in the function calculation.
Function to calculate. The formula can contain any number of valid variables.
Entering Valid Variables
This node accepts variables that use the following format rule: variables must start with a letter or an underscore followed by any number of alphanumeric characters or underscores.
Start points of both variables. The array contains two elements.
End points of both variables. The array contains two elements.
Variables with respect to the naming conventions of the Parsing nodes.
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
Default: No error
Variable whose partial derivative you want to calculate.
Name | Value | Description |
---|---|---|
first variable | 0 | Calculates the partial derivative of the first variable. |
second variable | 1 | Calculates the partial derivative of the second variable. |
Default: first variable
Values of the first variable used in the function calculation. The values are equally spaced from start to end.
Values of the second variable used in the function calculation. The values are equally spaced from start to end.
Fixed partial derivatives at the defined grid points.
Error information.
The node produces this output according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
This node calculates partial derivative using the following equation:
To investigate the x1-derivative of function f(x1, x2) = sin(x12 - x2) - cos(sin(x2) - x1) in the interval (-2, 2) by (-2, 2), enter the following values on the panel:
start: [-2, 2]
end: [2, 2]
formula: sin(x1*x1 - x2) - cos(sin(x2) - x1)
derivative: first variable
Where This Node Can Run:
Desktop OS: Windows
FPGA: This product does not support FPGA devices