Student[VectorCalculus] - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Education : Student Package : Vector Calculus : Computation Commands : Student/VectorCalculus/PathInt

Student[VectorCalculus]

  

PathInt

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

PathInt(f, domain, output = output_type)

Parameters

f

-

algebraic expression; specify the function

domain

-

list(name)=path; specify the path of integration

output = output_type

-

(optional) equation; specify 'integral' or 'value' for output_type; specify 'integral' for the function to return an inert integral, and 'value' to return the computed output

Description

• 

The PathInt(f, domain) calling sequence computes the path integral of the function f over the path specified by domain.

• 

If output=integral is specified, the command returns an unevaluated integral. If output=value is specified, the command returns the computed value of the integral. The default value is value.

• 

Specify the path of integration using unevaluated function calls. The possible paths of integration are Arc, Circle, Ellipse, Line, LineSegments, and Path.

  

Arc(object, start, finish)

  

The first parameter of Arc, object, must be a Circle or Ellipse structure. The parameters start and finish must be of type algebraic. This represents a segment of the circumference of the specified Circle or Ellipse, starting at angle start radians and ending at angle finish radians.

  

For a Circle, an angle of 0 points in the positive x direction. For example, if start is 0 and finish is π2, it would represent the top-right quarter of the circumference of a circle centered anywhere.

  

For an Ellipse, an angle of 0 points in the direction of one of its semimajor axes: the one in the right-half of the plane. If the Ellipse is vertical (its major axis is coincident with the y-axis), then the 0 angle points in the negative y direction. For example, consider an ellipse centered at the origin with a rotation of Pi/4 (its major axis sits on the line y = x). If start is π4 and finish is π4, it would represent the portion of its circumference inside the first quadrant of the plane. If the ellipse is not centered at the origin, these angles are treated as if the center of the ellipse were the origin.

  

Circle(center, radius)

  

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.  If a coordinate system attribute is specified for center, the center is interpreted in this coordinate system.

  

Ellipse(center, major, minor, angle)

  

The first parameter, center, is the center of the ellipse and must have type Vector(2, algebraic). The second and third parameters, major and minor, are the lengths of the semimajor and semiminor axes of the ellipse, respectively. The last parameter angle specifies the angle through which the ellipse is rotated from its standard position, in which its major axis is coincident with the x-axis. Note: The ellipse specified by this structure is obtained by first performing the rotation on an ellipse in standard position; this rotated ellipse is then translated to the point center.

  

Ellipse(expr)

  

The parameter expr must be an expression of type algebraic. The Ellipse is specified by the equation expr = 0. The two variable names that appear in expr must be the same as those specified in the left-hand side of domain.

  

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. If coordinate system attributes are specified on the points, they are interpreted in their respective coordinate systems.

  

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

  

Similar to Line(p1, p2), the parameters pi represent the endpoints of k1 line segments.  The path of integration is the collection of line segments directed from p1 to p2, p2 to p3, ..., and p(k-1) to pk. If any coordinate system attributes are specified, the points are interpreted in their respective coordinate systems.

  

Path(v, range, coordinate_system)

  

The first parameter of Path, 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.

  

If the optional third argument, coordinate_system, is specified, it must be an equation of the form coords=sys or coordinates=sys, where sys is a recognized coordinate system. v is interpreted in the specified coordinate system.

Examples

withStudent[VectorCalculus]:

PathIntx2,x,y=Line0,0,1,1

132

(1)

PathInty2,x,y=LineSegments0,0,1,1,1,2

132+73

(2)

PathInty,x,y=Pathcost,sint,t=0..π

2

(3)

PathInty,x,y=Path1,t,0..π,'coords'='polar'

2

(4)

PathIntx2+y2,x,y=Circle0,0,3

54π

(5)

PathIntx2+y2,x,y=Circle0,0,3,'output'='integral'

∫02π39cost2+9sint2cost2+sint2ⅆt

(6)

PathInt1,x,y=Ellipsex24+y291

12EllipticE135

(7)

PathIntx,x,y=ArcCircle0,0,1,0,π2

1

(8)

See Also

Coordinates

Student[VectorCalculus]

Student[VectorCalculus][Flux]

Student[VectorCalculus][int]

Student[VectorCalculus][LineInt]

Student[VectorCalculus][SurfaceInt]

Student[VectorCalculus][Vector]

 


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