Close
Close window
TangentVector - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.
Maplesoft logo
Maplesoft logo

Online Help

All Products Maple MapleSim


[フレーム] [フレーム]

VectorCalculus

TangentVector

compute the tangent vector to a curve

Calling Sequence

TangentVector(C, t, n)

Parameters

C

-

free or position Vector or Vector valued procedure; specify the components of the curve

t

-

(optional) name; specify the parameter of the curve

n

-

(optional) equation of the form normalized=true or normalized=false, or simply normalized

Description

The TangentVector(C, t) command computes the tangent vector to the curve C that is parameterized by t. Note that this vector is not normalized by default, so it is a scalar multiple of the unit tangent vector to the curve C. Therefore, by default, if C is a curve in 3, the result is generally different from the output of TNBFrame(C, t, output=['T']).

If n is given as either normalized=true or normalized, then the resulting vector will be normalized before it is returned. As discussed above, the default value is false, so that the result is not normalized.

The curve can be specified as a free or position Vector or a Vector valued procedure. This determines the returned object type.

If t is not specified, the function tries to determine a suitable variable name by using the components of C. To do this, it checks all of the indeterminates of type name in the components of C and removes the ones which are determined to be constants.

If the resulting set has a single entry, the single entry is the variable name. If it has more than one entry, an error is raised.

If a coordinate system attribute is specified on C, C is interpreted in that coordinate system. Otherwise, the curve is interpreted as a curve in the current default coordinate system. If the two are not compatible, an error is raised.

Examples

>

withVectorCalculus:

>

T1TangentVectortt,t2,t3:

>

T1t

12t3t2

(1)
>

T2TangentVectortt,t2,t3,normalized:

>

T2t

19t4+4t2+12t9t4+4t2+13t29t4+4t2+1

(2)
>

TangentVectorPositionVectorcost,sint,t

sintcost

(3)
>

TangentVectoraexpt,tassuminga::constant

aⅇt1

(4)
>

TangentVectortacost,bsint,t

t→VectorCalculus:-VectorSpacecartesian,acost,bsint,t:-Vectorasint,bcost,1

(5)
>

SetCoordinatespolar

polar

(6)
>

TangentVector1,t,t

01

(7)
>

TangentVectorexpt,t,t

ⅇ2tⅇ2t

(8)


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /