Student[VectorCalculus] - Maple Programming Help

# Online Help

###### All Products    Maple    MapleSim

Home : Support : Online Help : Education : Student Package : Vector Calculus : Computation Commands : Student/VectorCalculus/GetCoordinates

Student[VectorCalculus]

 GetCoordinates
 return the coordinate attribute of a Vector

 Calling Sequence GetCoordinates(v)

Parameters

 v - (optional) Vector

Description

 • The GetCoordinates(v) calling sequence returns the coordinate system attribute of the Vector v.  If v is not specified, the default coordinate system is returned.

Examples

 > $\mathrm{with}\left(\mathrm{Student}[\mathrm{VectorCalculus}]\right):$
 > $\mathrm{GetCoordinates}\left(\right)$
 ${\mathrm{cartesian}}$ (1)
 > $\mathrm{v1}≔\mathrm{Vector}\left(⟨\mathrm{sin}\left(t\right),\mathrm{cos}\left(t\right),{t}^{2}⟩\right)$
 ${\mathrm{v1}}{≔}\left({\mathrm{sin}}{}\left({t}\right)\right){{e}}_{{x}}{+}\left({\mathrm{cos}}{}\left({t}\right)\right){{e}}_{{y}}{+}\left({{t}}^{{2}}\right){{e}}_{{z}}$ (2)
 > $\mathrm{GetCoordinates}\left(\mathrm{v1}\right)$
 ${\mathrm{cartesian}}$ (3)
 > $\mathrm{v2}≔\mathrm{VectorField}\left(⟨r,0,0⟩\right)$
 ${\mathrm{v2}}{≔}\left({r}\right){\stackrel{{_}}{{e}}}_{{x}}$ (4)
 > $\mathrm{GetCoordinates}\left(\mathrm{v2}\right)$
 ${{\mathrm{cartesian}}}_{{x}{,}{y}{,}{z}}$ (5)
 > $\mathrm{SetCoordinates}\left({\mathrm{polar}}_{r,t}\right)$
 ${{\mathrm{polar}}}_{{r}{,}{t}}$ (6)
 > $\mathrm{GetCoordinates}\left(⟨a,b⟩\right)$
 ${{\mathrm{polar}}}_{{r}{,}{t}}$ (7)
 > $\mathrm{GetCoordinates}\left(\mathrm{v1}\right)$
 ${\mathrm{cartesian}}$ (8)

 See Also

## Was this information helpful?

 Please add your Comment (Optional) E-mail Address (Optional) What is ? This question helps us to combat spam