Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

quadl (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the integration class.

Syntax

quadl(f, start, end)

quadl(f, start, end, n)

c = quadl(f, start, end)

c = quadl(f, start, end, n)

Description

Computes the integral of function f in the interval [start, end]. This function is equivalent to the quad8 function.

Details

Examples

Inputs

Name Description
f Specifies the function you want to integrate. 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

This function is not supported in the LabVIEW Run-Time Engine. Do not use this function in a stand-alone application or shared library.

Examples

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

Related Topics

cumtrapz
dblquad
quad8
triplequad


Resources


 

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