return a description of a position Vector in a specified coordinate system. - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Vector Calculus : VectorCalculus/GetPVDescription

VectorCalculus[GetPVDescription] - return a description of a position Vector in a specified coordinate system.

Calling Sequence

GetPVDescription(pvector)

GetPVDescription(pvector, c)

Parameters

pvector

-

Vector; the position Vector

c

-

name or name[name, name, ...]; specify the coordinate system, optionally indexed by the coordinate names

Description

• 

The GetPVDescription returns a list with the description of pvector in c coordinates.

• 

If no coordinate argument is provided, the description of pvector is given with respect to the current coordinate system as long as the dimensions match.

• 

The position Vector is always a cartesian Vector rooted at the origin, but its description varies with the choice of coordinates. For more details about position Vectors, see VectorCalculus,Details

Examples

withVectorCalculus:

pv:=PositionVectorpcosp,psinp,cartesianx,y

pv:=pcosppsinp

(1)

M:=GetPVDescriptionpv,polarr,t

M:=p2cosp2+p2sinp2,arctanpsinp,pcosp

(2)

pv2:=PositionVectorM,polarr,t

pv2:=pcosppsinp

(3)

c:=arctanu

c:=arctanu

(4)

pv3:=PositionVectorcosucosc,sinucosc,sinc,cartesianx,y,z

pv3:=cosuu2+1sinuu2+1uu2+1

(5)

M:=GetPVDescriptionpv3,sphericalr,p,t

M:=cosu2u2+1+sinu2u2+1+u2u2+1,arctancosu2u2+1+sinu2u2+1,uu2+1,arctansinuu2+1,cosuu2+1

(6)

simplifyMassumingu::real

1,arctan1,u,arctansinu,cosu

(7)

See Also

VectorCalculus, VectorCalculus[About], VectorCalculus[PlotPositionVector], VectorCalculus[PositionVector]


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