problems with scalefactors and spherical coordinates
Subject: problems with scalefactors and spherical coordinates
From: Charles James Leonardo Quarra Cappiello
Date: Sun, 21 Sep 2003 01:43:46 -0400
The scalefactors function seems to be hanging; i extracted this snippet
from the mail archives:
Osman osman@fuse.net
Sat, 27 Oct 2001 23:30:29 -0400
>A while ago CY asked about this. I was looking at my old Macsyma quick ref
>sheets and a sale pitch booklet that had a nice solution. Here it is:
>
>load(vect);
>scalefactors([[r*sin(p)*cos(q),r*sin(p)*sin(q),r*cos(p)],r,p,q]);
>depends(t,[r,p,q]);
>express(laplacian(t));
>ev(d6,diff);
>ratexpand(d9);
>
>It looks like vect package is quite good. The Macsyma example involved
>Maxwell's equations.
>
>Just wanted to pass this info along.
>Osman
i do
(C1) load(vect);
(D1) /usr/local/share/maxima/5.9.0/share/vector/vect.mac
(C2)
scalefactors([[r*sin(theta)*cos(phi),r*sin(theta)*sin(phi),r*cos(theta)],r,theta,phi]);
However i keep waiting forever for the next prompt
any ideas what is wrong here? its the vect package broken in 5.9.0?
Thanks!!
>From: Milan Lukic <lmilan at shell>
>Reply-To: Milan Lukic <lmilan@shell.core.com>
>To: maxima@www.ma.utexas.edu
>Subject: Re: [Maxima] problems with scalefactors and spherical coordinates
>Date: Thu, 18 Sep 2003 18:40:57 -0500
>
>I tried the scalefactors command without doing the load(vect), and
>Maxima did not complain. This is a new command for me, so I really
>do not know anything about it. It is good one to know though since I
>am teaching Calculus III this semester.
> BTW, one of the problems I did in class a few days ago was to graph
> r=2*sin(theta) - in your notation. The plot with Maxima (on my
> office computer) came out much more clear than the one we did with
> Derive in the classroom. I used rectangular coordinates. Now, I
> tried to do that same plot using the spherical coordinates, but
> the plot I got is different (not correct). Any hint as to how to
> use the scalefactors correctly?
>
>Milan Lukic
>
>Charles James Leonardo Quarra Cappiello [18/09/03 14:59 -0400]:
> >
> >
> > Hi,
> >
> >
> > im doing the following:
> >
> > (C1) load(vect);
> > (D1) /home/charles//share/maxima/5.9.0/share/vector/vect.mac
> > (C2)
> >
>scalefactors([[r*sin(theta)*cos(phi),r*sin(theta)*sin(phi),r*cos(theta)],r,phi,theta]);
> >
> > Error: MACSYMA-TOP-LEVEL [or a callee] requires more than one argument.
> > Fast links are on: do (si::use-fast-links nil) for debugging
> > Error signalled by MACSYMA-TOP-LEVEL.
> > Broken at MACSYMA-TOP-LEVEL. Type :H for Help.
> > MAXIMA>>
> >
> >
> > why scalefactors is going wrong like this? i have restarted maxima
>before
> > trying this
> >
> >
> > P.D.: AFAIK the way to do calculations and 3dplots in spherical
>coordinates
> > requires the vect package, is that correct?
> >
> > _________________________________________________________________
> > The new MSN 8: advanced junk mail protection and 2 months FREE*
> > http://join.msn.com/?page=features/junkmail
> >
> > _______________________________________________
> > Maxima mailing list
> > Maxima@www.math.utexas.edu
> > http://www.math.utexas.edu/mailman/listinfo/maxima
> >
>
>_______________________________________________
>Maxima mailing list
>Maxima@www.math.utexas.edu
>http://www.math.utexas.edu/mailman/listinfo/maxima
_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://join.msn.com/?page=features/virus