Mapping a Vector to Various Coordinate Systems
Note it is easy to change to cylindrical or spherical coordinates and then back to cartesian coordinates, even without explicitly defining the components of v. This is accomplished using the MapToBasis command as shown below.
> | ![]() |
It doesn't look like anything was accomplished, but if we now look at the vector we see that Maple has indeed mapped the vector to spherical coordinates.
> | ![]() |
For the sake of completion, I show a transformation from spherical coordinates to cylindrical coordinates, followed by a transformation back to cartesian coordinates.
> | ![]() |
> | ![]() |
> | ![]() |
> | ![]() |
Of course, it is also simple to map a vector that is completely defined in terms of numerical values. This is seen below.
> | ![]() |
> | ![]() |