Student[VectorCalculus] - Maple Programming Help

Home : Support : Online Help : Education : Student Packages : 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}\left[\mathrm{VectorCalculus}\right]\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}}{+}\left({0}\right){\stackrel{{_}}{{e}}}_{{y}}{+}\left({0}\right){\stackrel{{_}}{{e}}}_{{z}}$ (4)
 > $\mathrm{GetCoordinates}\left(\mathrm{v2}\right)$
 ${{\mathrm{cartesian}}}_{{x}{,}{y}{,}{z}}$ (5)
 > $\mathrm{SetCoordinates}\left(\mathrm{polar}\left[r,t\right]\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)