Student[VectorCalculus] - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Education : Student Package : Vector Calculus : Visualization Commands : Student/VectorCalculus/Flux

Student[VectorCalculus]

  

Flux

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

Flux(F, dom, options)

Parameters

f

-

'Vector'(algebraic) or Vector-valued procedure; specify the vector field

dom

-

unevaluated function call; specify the surface or curve

options

-

(optional) equation(s) of the form option=value where option is one of output, fieldoptions, pathoptions, surfaceoptions, title, vectoroptions, or view

Description

• 

The Flux(f, dom) calling sequence computes the flux of the vector field f through the surface (3-D) or curve (2-D) specified by dom.

• 

Specify the surface or curve dom using unevaluated function calls. The surfaces are Box, Sphere, and Surface. The curves are Circle, Line, LineSegments, and Path.

  

Box(r1, r2, r3, direction)

  

Each ri must have type algebraic..algebraic. These represent the sides of the box. The integral is taken over each face of the box.

  

The optional fourth argument, direction, specifies the direction of the normal Vector. It must be inward or outward.  The default value is outward.

  

Sphere(center, radius, direction)

  

The first parameter of Sphere, center, must have type 'Vector'(3, algebraic) and radius must have type algebraic.  These represent the center and radius of the sphere, respectively.

  

The optional third argument, direction, specifies the direction of the normal Vector.  It must be inward or outward.  The default value is outward.

  

Surface(v, range)

  

The first argument, v, must have type 'Vector'(3, algebraic). The second argument, range, can be:

  

* [name1, name2] = region(arguments) where region' is any two-dimensional region that Student[VectorCalculus][int] accepts: Circle, Ellipse, Rectangle, Region, Sector, or Triangle.

  

* name1=range1, name2=range2  This explicitly specifies the ranges for the two parameters.

  

Circle(center, radius, direction)

  

The parameter center is the center of the circle and must have type 'Vector'(algebraic). The parameter radius is the radius of the circle and must have type algebraic.

  

The optional third argument, direction, specifies the direction of the normal Vector.  It must be inward or outward.  The default value is outward.

  

Line(p1, p2)

  

The parameters p1 and p2 must have type 'Vector'(algebraic). They represent the endpoints of the directed line segment from p1 to p2.

  

LineSegments(p1, p2, ..., pk)

  

Similar to Line(p1, p2), the parameters pi represent the endpoints of k1 line segments. The path is the collection of line segments directed from p1 to p2, p2 to p3, ..., and p(k-1) to pk.

  

Path(v, range)

  

The first parameter, v, is a Vector representing the components of the path. The second parameter, range, must have type {range, name=range}. If no parameter name is specified in range, it is inferred from v.

• 

The options arguments primarily control plot options.

  

output = value, plot, or integral

  

This option controls the return value of the command.

  

* output = value returns the value of the line integral. Plot options are ignored if output = value.  This is the default value.

  

* output = plot returns a plot of the path, normal vectors of the path, and vector field.

  

* output = integral returns the inert representation of the line integral. Plot options are ignored if output = integral.

• 

fieldoptions = list

  

A list of plot options for plotting the Vector field. For more information on plotting options, see plot/options. The default value is []. A list of plot options for plotting the Vector field. The field is plotted using a call to plots[fieldplot] or plots[fieldplot3d], so options valid for these commands can be passed in this option.

• 

pathoptions = list

  

A list of plot options for plotting the path. For more information on plotting options, see plot/options. The default value is [].

• 

surfaceoptions = list

  

A list of plot options for plotting the surface. For more information on plotting options, see plot/options. The default value is [].

• 

title = string

  

Give the plot a title. The default value is the empty string.

• 

vectoroptions = list

  

A list of plot options for plotting the normal vectors. For more information on plotting options, see plot/options. The default value is []. Free Vectors and rooted Vectors are plotted using plots[arrow].

• 

view = [realcons..realcons, realcons..realcons, realcons..realcons] (3-D) or [realcons..realcons, realcons..realcons] (2-D)

  

Specify the plot view. For more information, see plot3d/option or plot/options.

• 

caption = anything

  

A caption for the plot.

  

The default caption is constructed from the parameters and the command options. caption = "" disables the default caption. For more information about specifying a caption , see plot/typesetting.

Examples

withStudent[VectorCalculus]:

FluxVectorFieldx,y,z,Surfacer,s,t,s=0..π,t=0..2π

2rπ2

(1)

FluxVectorFieldx,y,z,Surfacer,s,t,s,t=Circle0,0,2

4rπ

(2)

FluxVectorFieldx,y,z,Surface2,s,t,s,t=Circle0,0,2

8π

(3)

FluxVectorFieldy,x,0,Surfaces,t,s2+t2,s=0..1,t=2..3

0

(4)

FluxVectorFieldx,y,z,Sphere0,0,0,r

4r3π

(5)

FluxVectorFieldx,y,z,Sphere0,0,0,r,output=integral

∫02π∫0πsinφr3ⅆφⅆθ

(6)

FluxVectorFieldx,y,z,Sphere0,0,0,r,'inward'

4r3π

(7)

FluxVectorFieldy,x,0,Box1..2,3..4,5..6,output=plot,surfaceoptions=color=yellow,scaling=constrained

FluxVectorFieldx,y,Circle0,0,r,'inward'

2πr2

(8)

FluxVectorFieldx,y,Pathcost,sint,t=0..2π

2π

(9)

FluxVectorFieldx,y,Line0,0,1,1,output=integral

∫010ⅆt

(10)

The commands to create the plots from the Plotting Guide are

FluxVectorFieldx,y,LineSegments0,0,1,1,2,3,output=plot,pathoptions=color=blue,vectoroptions=color=black,scaling=constrained

FluxVectorField1x2,0,1,Box1..1,1..1,1..1,output=plot,scaling=constrained

See Also

plot/options

plot3d/option

realcons

Student[VectorCalculus]

Student[VectorCalculus][int]

Student[VectorCalculus][LineInt]

Student[VectorCalculus][PathInt]

Student[VectorCalculus][SurfaceInt]

Student[VectorCalculus][VectorField]

VectorCalculus

VectorCalculus[Flux]

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam