Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

quada_nc8 (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

Owning Class: integration

Requires: MathScript RT Module

Syntax

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

Description

Computes the integral of function f in the interval [start, end].

Examples

Inputs

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.

Outputs

Name Description
c Returns the integral. c is a real scalar.

Details

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

Examples

F = 'sin(x)';
C = quada_nc8(F, 0, 1)

Related Topics

accumtrapint
quada
quada_double
quada_triple


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit