Last Update 15/ 8/ 2018
Waleska P.F. de Medeiros, Rodrigo R. de Lima, Vanessa C. de Andrade
and Daniel Müller*
Instituto de Física, Universidade de Brasília, Cxp 04455,
70919-900, Brasília, DF
July 25, 2018
page 1 | page 2 | page 3 | page 4 | page 5 | page 6 | page 7 | page 8 |
1 Maxima code
Maxima is a free software which is an algebraic manioulator available for several operating systems including Linux, Windows, and MacOSX [1]. Manuals with examploes can also be found in the internet [2].
There would be just a comment on the divergence and courl. According to this maxima code, for the particular case of spherical cooedinates the derivatives which appear for example as
are to be understood as directional derivatives instead
It seems that this occurs with all coordinate systems.
Here is a code written for maxima to obtain the divergence curl of a vectot field
load(itensor); /* inicial tensor package
*/
load(ctensor); /* component tensor
package */
iframe_flag:true; /* setting the basis
to be non coordinate for the itensor package */
cframe_flag:true; /* same as before
for the ctensor package */
ct_coordsys(spherical)$ /* definition
of the coordinates to be used */
fri; /* inverse orthonormal basis
*/
lfg; /* metric projected to the orthonormal
basis */