Performs 1D numerical integration using the adaptive Lobatto quadrature approach. You define the integrand using a formula.
Expression to integrate. The integral variable must be x.
Upper limit of the integral.
Default: 1
Lower limit of the integral.
Default: 0
Accuracy of the quadrature. A smaller tolerance leads to a more accurate result but requires more computation time.
How Does Tolerance Affect the Accuracy of the Quadrature?
This node compares the difference between the 4-points and 7-points Lobatto quadratures on the interval and uses tolerance to terminate the calculation iteration. If the difference is less than tolerance, this node stops the calculation iteration and moves on to the next interval.
Default: 1E-05
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
Integral result.
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 evaluates the following integral:
where
To obtain high accuracy, this node divides an interval into subintervals when the integrand f(x) varies sharply, as shown in the following figure.
Where This Node Can Run:
Desktop OS: Windows
FPGA: This product does not support FPGA devices
Web Server: Not supported in VIs that run in a web application