Student/VectorCalculus/GetPVDescription - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Student/VectorCalculus/GetPVDescription

Student[VectorCalculus]

  

GetPVDescription

  

returns a description of a position Vector in a specified coordinate system.

 

Calling Sequence

Parameters

Description

Examples

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; 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.

Examples

> 

with⁡StudentVectorCalculus:

> 

pv≔PositionVector⁡p⁢cos⁡p,p⁢sin⁡p,cartesianx,y

pv≔p⁢cos⁡pp⁢sin⁡p

(1)
> 

M≔GetPVDescription⁡pv,polarr,t:

> 

simplify⁡Massumingp::real

p,arctan⁡p⁢sin⁡p,p⁢cos⁡p

(2)
> 

pv2≔PositionVector⁡M,polarr,t

pv2≔p⁢cos⁡pp⁢sin⁡p

(3)
> 

c≔arctan⁡u

c≔arctan⁡u

(4)
> 

pv3≔PositionVector⁡cos⁡u⁢cos⁡c,sin⁡u⁢cos⁡c,−sin⁡c,cartesianx,y,z

pv3≔cos⁡uu2+1sin⁡uu2+1−uu2+1

(5)
> 

M≔GetPVDescription⁡pv3,sphericalr,p,t:

> 

simplify⁡Massumingu::real

1,arctan⁡1,−u,arctan⁡sin⁡u,cos⁡u

(6)

See Also

Student[VectorCalculus]

Student[VectorCalculus][About]

Student[VectorCalculus][PlotPositionVector]

Student[VectorCalculus][PositionVector]