Download Help (Windows Only) |
Owning Class: integration
Requires: MathScript RT Module
quada_nc8(f, start, end)
quada_nc8(f, start, end, n)
c = quada_nc8(f, start, end)
c = quada_nc8(f, start, end, n)
Legacy Names: quad8
and quadl
Computes the integral of function f in the interval [start, end].
Name | Description |
---|---|
f | Specifies the function you want to integrate numerically. The function definition must be syntactically correct. For example, 'sin(x)' indicates that sin is the integrator, while LabVIEW interprets 'sin' without an input argument as a variable. In other words, quada_nc8('sin', 0, pi) and quada_nc8('x', 0, pi) are the same. f is a string that represents a function of one variable. |
start | Specifies the lower bound of the integral. |
end | Specifies the upper bound of the integral. |
n | Specifies the number of integration points. n is a natural number greater than 10. The default is 100,000. |
Name | Description |
---|---|
c | Returns the integral. c is a real scalar. |
The following table lists the support characteristics of this function.
Supported in the LabVIEW Run-Time Engine | No |
Supported on RT targets | Yes |
Suitable for bounded execution times on RT | Not characterized |
F = 'sin(x)';
C = quada_nc8(F, 0, 1)