Student[VectorCalculus][PathInt]
|
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.
|
|
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.
|
|
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.
|
|
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 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
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
| (7) |
>
|
|
| (8) |
|
|