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

quada_triple (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_triple(f, xmin, xmax, ymin, ymax, zmin, zmax)

quada_triple(f, xmin, xmax, ymin, ymax, zmin, zmax, n)

quada_triple(f, xmin, xmax, ymin, ymax, ,zmin, zmax, n, method)

c = quada_triple(f, xmin, xmax, ymin, ymax, zmin, zmax)

c = quada_triple(f, xmin, xmax, ymin, ymax, zmin, zmax, n)

c = quada_triple(f, xmin, xmax, ymin, ymax, zmin, zmax, n, method)

Legacy Name: triplequad

Description

Computes the triple integral of function f in the 3D interval [xmin, xmax]-by-[ymin, ymax]-by-[zmin, zmax]. The integrator does not work in an adaptive way.

Examples

Inputs

Name Description
f Specifies the function you want to integrate. f is a string that represents a function of three variables. The three variables must be x, y, and z.
xmin Specifies a real scalar.
xmax Specifies a real scalar. xmax must be greater than xmin.
ymin Specifies a real scalar.
ymax Specifies a real scalar. ymax must be greater than ymin.
zmin Specifies a real scalar.
zmax Specifies a real scalar. zmax must be greater than zmin.
n Specifies the number of integration points in the x-, y-, and z-direction. n is a natural number greater than 1. The default is 50.
method Specifies which method to use to compute the triple integral. method is a string that accepts the following values.

'bode' Bode method
'simps' Simpson method
'simps3/8' Simpson 3/8 method
'trapz' (default) Trapezoidal method

Outputs

Name Description
c Returns the triple 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

C = quada_triple('sin(x)*cos(y)*sin(z)', 0, 1, 0, 2, 0, 3, 80, 'bode')

Related Topics

accumtrapint
quada
quada_double
quada_nc8


 

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