Student[VectorCalculus]
GetPVDescription
returns 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; pvector is not changed.
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.
with⁡StudentVectorCalculus:
pv≔PositionVector⁡p⁢cos⁡p,p⁢sin⁡p,cartesianx,y
pv≔p⁢cos⁡pp⁢sin⁡p
M≔GetPVDescription⁡pv,polarr,t:
simplify⁡Massumingp::real
p,arctan⁡p⁢sin⁡p,p⁢cos⁡p
pv2≔PositionVector⁡M,polarr,t
pv2≔p⁢cos⁡pp⁢sin⁡p
c≔arctan⁡u
pv3≔PositionVector⁡cos⁡u⁢cos⁡c,sin⁡u⁢cos⁡c,−sin⁡c,cartesianx,y,z
pv3≔cos⁡uu2+1sin⁡uu2+1−uu2+1
M≔GetPVDescription⁡pv3,sphericalr,p,t:
simplify⁡Massumingu::real
1,arctan⁡1,−u,arctan⁡sin⁡u,cos⁡u
See Also
Student[VectorCalculus][About]
Student[VectorCalculus][PlotPositionVector]
Student[VectorCalculus][PositionVector]
Download Help Document