VectorCalculus
GetPVDescription
return a description of a position Vector in a specified coordinate system.
Calling Sequence
Parameters
Description
Examples
GetPVDescription(pvector)
GetPVDescription(pvector, c)
pvector
-
Vector; the position Vector
c
name or name[name, name, ...]; specify the coordinate system, optionally indexed by the coordinate names
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
withVectorCalculus:
pv≔PositionVectorpcosp,psinp,cartesianx,y
pv≔pcosppsinp
M≔GetPVDescriptionpv,polarr,t
M≔p2sinp2+p2cosp2,arctanpsinp,pcosp
pv2≔PositionVectorM,polarr,t
pv2≔pcosppsinp
c≔arctanu
pv3≔PositionVectorcosucosc,sinucosc,−sinc,cartesianx,y,z
pv3≔cosuu2+1sinuu2+1−uu2+1
M≔GetPVDescriptionpv3,sphericalr,p,t
M≔cosu2u2+1+sinu2u2+1+u2u2+1,arctansinu2u2+1+cosu2u2+1,−uu2+1,arctansinuu2+1,cosuu2+1
simplifyMassumingu::real
1,arctan1,−u,arctansinu,cosu
See Also
VectorCalculus[About]
VectorCalculus[PlotPositionVector]
VectorCalculus[PositionVector]
Download Help Document