[sage-support] Error in solving system of non-linear equations

2009-03-12 Thread R (Chandra) Chandrasekhar
Dear Folks, Pardon for the double-posting since I am unsure which list is more appropriate. In section 2.4.1 of the Sage Tutorial, there is a non-linear equation example from Jason Grout that I tried out, but it failed. Details follow. My version is built from the Ubuntu jaunty package source

[sage-support] Re: Probleme runing Sage in a chroot.

2009-03-12 Thread William Stein
2009/3/12 Thierry Dumont : > >  I have problems runing sage in a chroot jail. > > Sage version: 3.3 > > I followed what is written in  http://www.sagemath.fr/doc/inst/node10.html I don't have time to answer this but... it's vastly better these days to use a virtual machine (vmware, virtualbox, et

[sage-support] Re: Small problem with limit()

2009-03-12 Thread Ondrej Certik
On Thu, Mar 12, 2009 at 4:34 PM, William Stein wrote: > > On Thu, Mar 12, 2009 at 2:19 PM, Ondrej Certik wrote: >> >> On Thu, Mar 12, 2009 at 1:36 PM, Jose Guzman wrote: >>> >>> Dear colleagues, >>> >>> I've just discovered this wonderful thing called Sage (I am a completely >>> newbie, my apol

[sage-support] Re: Small problem with limit()

2009-03-12 Thread William Stein
On Thu, Mar 12, 2009 at 1:36 PM, Jose Guzman wrote: > > Dear colleagues, > > I've just discovered this wonderful thing called Sage (I am a completely > newbie, my apologizes in advance...), and I have to admit that I am > impressed with Sage!!!. I started yesterday, and came along the tutorial >

[sage-support] Re: Small problem with limit()

2009-03-12 Thread William Stein
On Thu, Mar 12, 2009 at 2:19 PM, Ondrej Certik wrote: > > On Thu, Mar 12, 2009 at 1:36 PM, Jose Guzman wrote: >> >> Dear colleagues, >> >> I've just discovered this wonderful thing called Sage (I am a completely >> newbie, my apologizes in advance...), and I have to admit that I am >> impressed

[sage-support] Re: Small problem with limit()

2009-03-12 Thread Jose Guzman
Robert Dodier wrote: > On Mar 12, 2:54 pm, Mike Hansen wrote: > > >> Maxima 5.17posthttp://maxima.sourceforge.net >> Using Lisp SBCL 1.0.18.debian >> Distributed under the GNU Public License. See the file COPYING. >> Dedicated to the memory of William Schelter. >> The function bug_report() pro

[sage-support] Re: Small problem with limit()

2009-03-12 Thread Robert Dodier
On Mar 12, 2:54 pm, Mike Hansen wrote: > Maxima 5.17posthttp://maxima.sourceforge.net > Using Lisp SBCL 1.0.18.debian > Distributed under the GNU Public License. See the file COPYING. > Dedicated to the memory of William Schelter. > The function bug_report() provides bug reporting information. >

[sage-support] Re: problem after moving sage folder

2009-03-12 Thread Jason Grout
John H Palmieri wrote: > On Mar 12, 11:38 am, mabshoff dortmund.de> wrote: >> Never us cp to copy Sage unless you know what you are doing, but use >> tar. > > Hm. I've never had any problems using cp; in fact I routinely do it > before running 'sage -upgrade'. Does 'cp -pR' count as "knowing wh

[sage-support] Re: problem after moving sage folder

2009-03-12 Thread John H Palmieri
On Mar 12, 11:38 am, mabshoff wrote: > > Never us cp to copy Sage unless you know what you are doing, but use > tar. Hm. I've never had any problems using cp; in fact I routinely do it before running 'sage -upgrade'. Does 'cp -pR' count as "knowing what I'm doing"? John --~--~-~--~-

[sage-support] Re: Small problem with limit()

2009-03-12 Thread Jose Guzman
it is true, I did it manually and the result should be 39.24 Ondrej Certik wrote: > On Thu, Mar 12, 2009 at 1:36 PM, Jose Guzman wrote: > >> Dear colleagues, >> >> I've just discovered this wonderful thing called Sage (I am a completely >> newbie, my apologizes in advance...), and I have

[sage-support] Re: Small problem with limit()

2009-03-12 Thread Ondrej Certik
On Thu, Mar 12, 2009 at 1:36 PM, Jose Guzman wrote: > > Dear colleagues, > > I've just discovered this wonderful thing called Sage (I am a completely > newbie, my apologizes in advance...), and I have to admit that I am > impressed with Sage!!!. I started yesterday, and came along the tutorial >

[sage-support] Re: Small problem with limit()

2009-03-12 Thread mabshoff
On Mar 12, 1:54 pm, Mike Hansen wrote: > Hello, > We should really upgrade. The current version just has different bugs compared to what we ship :) But it seems that 5.18.x out in April ought to fix some annoying bugs about asksign which crept into 5.17, so we should try again. > --MIke

[sage-support] Re: Build sage 3.4 failed. Missing fortran flags

2009-03-12 Thread mabshoff
On Mar 12, 7:54 am, "koch.peerjoac...@googlemail.com" wrote: > Hi, Hi, > I'm trying to build sage from the source on our cluster. > The cluster is running under SLES9SP3 (all AMD Opterons). > We are normaly using PGI compiler (8.0.X) for fortran. The > installation is using gcc 4.2.1 from /us

[sage-support] Re: Small problem with limit()

2009-03-12 Thread Mike Hansen
Hello, On Thu, Mar 12, 2009 at 1:36 PM, Jose Guzman wrote: > sage: g=9.81 > sage: t=var('t') > sage: limit(2*g*(t^2-1)/(t-1),t=1) >  >>> gives me 39 > > However, if I simplify the equation and calculate the limit... > sage: limit(2*g*(t+1),t=1) >  >> gives me the good value 39.276 This is a pro

[sage-support] Small problem with limit()

2009-03-12 Thread Jose Guzman
Dear colleagues, I've just discovered this wonderful thing called Sage (I am a completely newbie, my apologizes in advance...), and I have to admit that I am impressed with Sage!!!. I started yesterday, and came along the tutorial already. I still miss some more documentation...specially relat

[sage-support] Re: problem after moving sage folder

2009-03-12 Thread mabshoff
On Mar 12, 7:17 am, Stan Schymanski wrote: > Dear all, Hi, > I had a great idea (so I thought) about upgrading in the background > while the sage server is still running. Here is what I did, but it > didn't work for some reason: In OS X 10.4, I shut down the server > briefly, changed into the

[sage-support] Re: Updating Sage

2009-03-12 Thread mabshoff
On Mar 12, 10:18 am, kcrisman wrote: > On Mar 12, 12:33 pm, kaufma wrote: > > > I am updating Sage on OSX 10.5. This is in a computer lab with about > > 40 machines. There is an existing version of Sage on the machines. > > Does the older version need to be uninstalled first? It depends, you

[sage-support] Re: Updating Sage

2009-03-12 Thread kcrisman
On Mar 12, 12:33 pm, kaufma wrote: > I am updating Sage on OSX 10.5. This is in a computer lab with about > 40 machines. There is an existing version of Sage on the machines. > Does the older version need to be uninstalled first? Someone will correct me if I'm wrong, but I believe Sage is self

[sage-support] Updating Sage

2009-03-12 Thread kaufma
I am updating Sage on OSX 10.5. This is in a computer lab with about 40 machines. There is an existing version of Sage on the machines. Does the older version need to be uninstalled first? Thanks, Eric Kaufmann Saitn Louis Univesity --~--~-~--~~~---~--~~ To post

[sage-support] Build sage 3.4 failed. Missing fortran flags

2009-03-12 Thread koch.peerjoac...@googlemail.com
Hi, I'm trying to build sage from the source on our cluster. The cluster is running under SLES9SP3 (all AMD Opterons). We are normaly using PGI compiler (8.0.X) for fortran. The installation is using gcc 4.2.1 from /usr/local/bin. I tried to set F77, F90 and so on and also tried to set sage_fortr

[sage-support] problem after moving sage folder

2009-03-12 Thread Stan Schymanski
Dear all, I had a great idea (so I thought) about upgrading in the background while the sage server is still running. Here is what I did, but it didn't work for some reason: In OS X 10.4, I shut down the server briefly, changed into the sage directory, ran "cp -r * /newdirectory" and restarted th

[sage-support] Probleme runing Sage in a chroot.

2009-03-12 Thread Thierry Dumont
I have problems runing sage in a chroot jail. Sage version: 3.3 I followed what is written in http://www.sagemath.fr/doc/inst/node10.html After installing the chroot I copied all the sage tree from a former installation, outside the chroot (may be the problem is here ?) Everything thing in t

[sage-support] Re: VMware Player. Read files from windows OS

2009-03-12 Thread hpon
I can't get it to work. Could you be a bit more specific with the details (I really have no clue). The idea is that I upload the file to VMware Player and then load the file in Sage, right??? Should I do the Data->Upload before I start Sage? What would the exact syntax be if the Sage-file is i

[sage-support] Re: Adding elements of different polynomial rings - how to?

2009-03-12 Thread Simon King
Hi Robert, On Mar 12, 8:42 am, Robert Bradshaw wrote: > > So, why is the corresponding operation not done in the second example? > > Because the ordering of variables is ambiguous. Should it be QQ > [a,x,x1,y1,z] or QQ[a,x1,x,y1,z]? Good point, thank you! > sage: R = QQ['a,b,c,d'] > sage: S =

[sage-support] Re: Adding elements of different polynomial rings - how to?

2009-03-12 Thread Robert Bradshaw
On Mar 12, 2009, at 12:32 AM, Simon King wrote: > Dear Supporters, > > the following works: > sage: R=PolynomialRing(QQ,['a','x1','y1']) > sage: S=PolynomialRing(QQ,['x1','y1','z']) > sage: R('x1+a')+S('x1+z') > a + 2*x1 + z > > The following does not work: > sage: R=PolynomialRing(QQ,['a','

[sage-support] Adding elements of different polynomial rings - how to?

2009-03-12 Thread Simon King
Dear Supporters, the following works: sage: R=PolynomialRing(QQ,['a','x1','y1']) sage: S=PolynomialRing(QQ,['x1','y1','z']) sage: R('x1+a')+S('x1+z') a + 2*x1 + z The following does not work: sage: R=PolynomialRing(QQ,['a','x','y1']) sage: S=PolynomialRing(QQ,['x1','y1','z']) sage: R('x+a

[sage-support] Re: VMware Player. Read files from windows OS

2009-03-12 Thread hpon
Hi William, Thanks for your reply! Something has turned up that I must attend to, so I cannot try your solution at the moment. But I'll get back to it shortly. /hpon On 11 Mar, 14:22, William Stein wrote: > On Wed, Mar 11, 2009 at 4:03 AM, hpon wrote: > > > Hi, > > > I'm running Sage from V

[sage-support] Re: Why integrate(sin(t*t),t,0,3).n(X) blows up for (apparently) all X > 0?

2009-03-12 Thread Simon King
Hi! On Mar 12, 4:48 am, Ajay Rawat wrote: > sage: a=integrate(sin(t*t),t,0,3) > sage: a > sqrt(pi)*((sqrt(2)*I + sqrt(2))*erf((3*sqrt(2)*I + 3*sqrt(2))/2) + > (sqrt(2)*I - sqrt(2))*erf((3*sqrt(2)*I - 3*sqrt(2))/2))/8 Yes, and then sage: a.n() yields a Traceback, TypeError: unable to simplify