hi miguel
You shoud read share/diff_form/example.txt
you can calc with all coordinate system.
for example
(%i33)
fstar_with_clf([r,th,phi],[r*sin(phi)*cos(th),r*sin(phi)*sin(th),r*cos(phi)],
(depends([a,b,c],[r,th,phi]),aa:vtof1([a,b,c]),nest2([h_st,d,h_st],aa)));
db dc
--- ----
c cos(phi) dth dphi 2 a da
(%o33) ---------- + ---------- + ---- + --- + --
sin(phi) r sin(phi) r r r dr
h_st is hodge star,d is exterior derivative,nest2([h_st,d,h_st],aa) is
h_st(d(h_st(aa)))
I recommend my diff_form package to you and your students.
Thanks
Gosei Furuya
2007/1/26, miguel Lopez <miguel39123 at hotmail.com>:
>
> Stavros Macrakis <macrakis <at> alum.mit.edu> writes:
>
> >
> > >
> > > divergence(f):=[diff(f,x),diff(f,y),diff(f,z)];
>
> > This sort of approach doesn't help much, though, if you want to
> > manipulate div/curl/grad on symbolic vectors (not components),
> > possibly in other coordinate systems.
>
>
> Sorry for the error,
>
> divergence(f):=diff(f,x)+diff(f,y)+diff(f,z);
>
>
>
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>