[sage-support] Question about upgrading.

2017-01-13 Thread Thierry Dumont
Today, I have tried to upgrade from 7.4 to 7.5 (git pull; make ...) I have a problem with the optional package coxeter3 (it does not compile). Before trying to solve this problem with coxeter, I would like to know if there is a canonical way to remove coxeter3 from sage tree to finish the build c

[sage-support] How to resume working in SAGE after 10 years?

2017-01-13 Thread Charles Pique
I used Sage sometime around 2005 +/-5 and had a user name and password. Now my login doesn't work and I can't even register. I had a bunch of work saved on the site and I downloaded it too in case the site lost it. Years ago the stuff could have been uploaded and restored. I don't know if the

[sage-support] Re: How to resume working in SAGE after 10 years?

2017-01-13 Thread Dima Pasechnik
On Friday, January 13, 2017 at 9:30:15 AM UTC, Charles Pique wrote: > > I used Sage sometime around 2005 +/-5 and had a user name and password. > Now my login doesn't work and I can't even register. > I had a bunch of work saved on the site and I downloaded it too in case > the site lost it.

[sage-support] Re: Question about upgrading.

2017-01-13 Thread Dima Pasechnik
IMHO you should be able to finish build by (repeatedly) running make. (It would in the end give you working Sage, although make will report an error in the end) Just in case, coxeter3 installs in 7.5 just fine for me (on a gentoo linux box) On Friday, January 13, 2017 at 8:40:10 AM UTC, tdumont

[sage-support] simplifying radicals of trigonometric expressions

2017-01-13 Thread Enrique Artal
I would like to know how to handle with this issue. Consider a function f=sqrt(cos(x)^3 - 3*cos(x)^2 - cos(x) + 6). It is possible to deal with this function for standard procedures like numerical_integral in (-1,1). If one considers f.canonicalize_radical() it is presented as sqrt(cos(x)^2 - c

[sage-support] Sageplot is not supported in powerdot class

2017-01-13 Thread noufal asharaf
Dear friends, I was using powerdot class for presentation and used sagetex package to plot the math functions and tried to insert but it created the sage-plot directory and sage worked fine on the .sagmath.sage file. The problem is the created plots are not inserted in the dvi --> ps-->pdf se

[sage-support] finding complex roots

2017-01-13 Thread Дмитрий Фролов
Hellow! I have problem: I need to solve equation with one variable, but solution must be complex number. "find_root()" and "root()" in scipy.optimize can't do it. Help me please. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe f

Re: [sage-support] finding complex roots

2017-01-13 Thread Vegard Lima
Hi, On Fri, Jan 13, 2017 at 1:54 PM, Дмитрий Фролов wrote: > Hellow! I have problem: I need to solve equation with one variable, but > solution must be complex number. "find_root()" and "root()" in > scipy.optimize can't do it. Help me please. root() from scipy.optimize should work: F.ex. to fi

Re: [sage-support] Re: Question about upgrading.

2017-01-13 Thread Thierry Dumont
Le 13/01/2017 à 11:09, Dima Pasechnik a écrit : > IMHO you should be able to finish build by (repeatedly) running make. > (It would in the end give you working Sage, although make will report an > error in the end) > > Just in case, coxeter3 installs in 7.5 just fine for me (on a gentoo > linux bo

[sage-support] Re: How to resume working in SAGE after 10 years?

2017-01-13 Thread Charles Pique
The online site where I worked with SAGE (sagenb.org) was taken down because of spammers according to https://ask.sagemath.org/question/36274/what-happened-to-my-user-name-10-years-ago/. I had noticed some restrictions and comments about it back then. I went my way for some years and now a

Re: [sage-support] Re: How to resume working in SAGE after 10 years?

2017-01-13 Thread John Cremona
Go to https://cloud.sagemath.com/ and make yourself a free account. You can upload .sws files, but yours are very old so may not convert cleanly. SageMathCloud has its own mailing list. People may have been put off by the date 2005 since I think Sage was only created around then. Version 4.8 is

Re: [sage-support] Re: How to resume working in SAGE after 10 years?

2017-01-13 Thread Dima Pasechnik
On Friday, January 13, 2017 at 3:27:47 PM UTC, John Cremona wrote: > > Go to https://cloud.sagemath.com/ and make yourself a free account. > You can upload .sws files, but yours are very old so may not convert > cleanly. SageMathCloud has its own mailing list. > an alternative is to install

[sage-support] Re: finding complex roots

2017-01-13 Thread Dima Pasechnik
If your equation can be solved exactly, the standard Sage way would be something like this: sage: var('y') y sage: solve(y^2==-2,y) [y == -I*sqrt(2), y == I*sqrt(2)] sage: (y^2+2).roots() [(-I*sqrt(2), 1), (I*sqrt(2), 1)] sage: (y^2+2).roots()[0]# one of the roots exactly, with multiplici

Re: [sage-support] Re: How to limit heavy computations

2017-01-13 Thread Enrique Artal
Putting limits in /etc/security/limits.conf (or in files in limits.d) works right up to Sage 7.3. Namely, if a user performs a strong computation (memory or CPU time), the system stops the computation when the limit is reached; usually one needs to quit the worksheet, but it is possible to reus

Re: [sage-support] Re: How to resume working in SAGE after 10 years?

2017-01-13 Thread William Stein
On Fri, Jan 13, 2017 at 10:27 AM, John Cremona wrote: > Go to https://cloud.sagemath.com/ and make yourself a free account. > You can upload .sws files, but yours are very old so may not convert > cleanly. SageMathCloud has its own mailing list. > > People may have been put off by the date 2005 s

Re: [sage-support] Re: How to limit heavy computations

2017-01-13 Thread Dima Pasechnik
On Friday, January 13, 2017 at 5:30:04 PM UTC, Enrique Artal wrote: > > Putting limits in /etc/security/limits.conf (or in files in limits.d) > works right up to Sage 7.3. Namely, if a user performs a strong computation > (memory or CPU time), the system stops the computation when the limit is

Re: [sage-support] simplifying radicals of trigonometric expressions

2017-01-13 Thread Michael Orlitzky
On 01/13/2017 05:12 AM, Enrique Artal wrote: > I would like to know how to handle with this issue. Consider a function > f=sqrt(cos(x)^3 - 3*cos(x)^2 - cos(x) + 6). It is possible to deal with > this function for standard procedures like numerical_integral in (-1,1). > If one considers f.canonicali

[sage-support] Displaying graphics from a Sage script

2017-01-13 Thread John H Palmieri
This question comes from http://stackoverflow.com/questions/41638257/graphics-in-sage-script: if I have a file "foo.sage" and I want to run "sage foo.sage" and have it pop up a window displaying a plot, how do I do this? For example, if foo.sage contains P = plot(sin(x)) P.show() then

Re: [sage-support] Displaying graphics from a Sage script

2017-01-13 Thread William Stein
On Fri, Jan 13, 2017 at 3:50 PM, John H Palmieri wrote: > This question comes from > http://stackoverflow.com/questions/41638257/graphics-in-sage-script: if I > have a file "foo.sage" and I want to run "sage foo.sage" and have it pop up > a window displaying a plot, how do I do this? > > For examp

Re: [sage-support] Displaying graphics from a Sage script

2017-01-13 Thread John H Palmieri
On Friday, January 13, 2017 at 3:55:24 PM UTC-8, William wrote: > > On Fri, Jan 13, 2017 at 3:50 PM, John H Palmieri > wrote: > > This question comes from > > http://stackoverflow.com/questions/41638257/graphics-in-sage-script: if > I > > have a file "foo.sage" and I want to run "sage foo.sa

Re: [sage-support] Displaying graphics from a Sage script

2017-01-13 Thread John H Palmieri
On Friday, January 13, 2017 at 4:05:59 PM UTC-8, John H Palmieri wrote: > > > > On Friday, January 13, 2017 at 3:55:24 PM UTC-8, William wrote: >> >> On Fri, Jan 13, 2017 at 3:50 PM, John H Palmieri >> wrote: >> > This question comes from >> > http://stackoverflow.com/questions/41638257/graph

Re: [sage-support] Displaying graphics from a Sage script

2017-01-13 Thread John H Palmieri
On Friday, January 13, 2017 at 4:12:44 PM UTC-8, John H Palmieri wrote: > > > > On Friday, January 13, 2017 at 4:05:59 PM UTC-8, John H Palmieri wrote: >> >> >> >> On Friday, January 13, 2017 at 3:55:24 PM UTC-8, William wrote: >>> >>> On Fri, Jan 13, 2017 at 3:50 PM, John H Palmieri >>> wrote:

Re: [sage-support] Displaying graphics from a Sage script

2017-01-13 Thread William Stein
On Fri, Jan 13, 2017 at 5:23 PM, John H Palmieri wrote: [...] >> >> I fixed this by adding "sleep(1)" at the end of the file. > > > Also, I should add that %load doesn't work for me. I don't know what it's > supposed to do. I used %attach instead. That's strange and annoying. It used to be that

Re: [sage-support] Displaying graphics from a Sage script

2017-01-13 Thread Michael Orlitzky
On 01/13/2017 06:50 PM, John H Palmieri wrote: > This question comes from > http://stackoverflow.com/questions/41638257/graphics-in-sage-script: if I > have a file "foo.sage" and I want to run "sage foo.sage" and have it pop up > a window displaying a plot, how do I do this? > > For example, if