Calculates both function values and the values of the derivative of a given 1D function defined by a formula at equidistant points in an interval. Details
![]() |
number of points is the number of all calculated points. The independent variable is split into equidistant subpoints. The default is 10. |
![]() |
start is the start point of the interval. The default is 0.0. |
![]() |
end is the end point of the interval. The default is 1.0. |
![]() |
formula is a string describing the function under investigation. You can use any valid symbol as the variable name. Refer to Formula VI Variables for valid symbols. |
![]() |
X Values is the array of equidistant points between start and end. |
![]() |
Y Values are the values of the function. |
![]() |
Derivative of Y are the values of the derivative of the function at the points X Values. |
![]() |
ticks is the time in milliseconds to analyze the formula and to produce the X Values array, Y Values array and Derivative of Y array. |
![]() |
error indicates the accuracy of formula, which is verified by the Function VIs. |
![]() | Note Even though there is a modified method (Optimal Step) for functions, Mathematics VIs do not have one for the Differentiation VI. If you are interested in highly accurate values of Differentiation, start with the symbolic differentiation (by hand). Then use the Eval y = f(x) Optimal Step VI, where f is the derivative of the function. |
The function and the derivative of f(x) = sin(sinc(x)) are investigated in the interval (20,20). The following illustration shows both f(x) and f’(x).