[sage-support] Default arguments for notebook in Mac app

2014-06-03 Thread Ivan Andrus
In the past some have wanted to use the Mac app for starting the notebook server on a different interface etc. This will be possible (after http://trac.sagemath.org/ticket/16437 is reviewed) by using default arguments (in Preferences using "notebook" as the session). Any help reviewing it woul

[sage-support] Re: Cannot load .sws file into Sage; using windows and Oracle VirtualBox

2014-06-03 Thread Dennis Eichhorn
That worked; infinite thanks. I will mention to future folks with the same problem that I had to type in the address in the "Location:" bar after clicking upload. I had been trying to navigate to it with the locations listed on the left, and I couldn't find it. I typed in " /media/sf_folde

Re: [sage-support] Re: Only dash some edges in a graph?

2014-06-03 Thread Ursula Whitcher
On 6/1/2014 3:49 PM, Tom Boothby wrote: g = Graph([(i,(i+1)%6,i%2) for i in range(6)]) h = Graph([(i,(i+2)%6,i%2) for i in range(6)]) k = Graph([(i,(i+3)%6,i%2) for i in range(6) if i<3]) [...] Nice. Thanks! --Ursula. -- You received this message because you are subscribed to the Google Grou

[sage-support] Re: ECL says: In function GCD, the value of the second argument is not of the expected type INTEGER

2014-06-03 Thread Robert Dodier
On 2014-06-03, Nils Bruin wrote: > It means Maxima, which gets used for integration, runs into a problem. > This is because sage instructs maxima to keep floating point values > rather than substitute them with rational or integer values. Apparently > you are hitting a branch in the integration c

[sage-support] Re: ECL says: In function GCD, the value of the second argument is not of the expected type INTEGER

2014-06-03 Thread Nils Bruin
On Tuesday, June 3, 2014 7:12:12 AM UTC-7, Bruno wrote: > > RuntimeError: ECL says: In function GCD, the value of the second argument > is 1.0 which is not of the expected type INTEGER > > > I don't know what this means. Can anyone give me a clue? > > It means Maxima, which gets used for integrati

[sage-support] Re: ECL says: In function GCD, the value of the second argument is not of the expected type INTEGER

2014-06-03 Thread Peter Bruin
Hello, This kind of problem has been reported before; see . You could try the workaround sage: sage.calculus.calculus.maxima('keepfloat: false') although this seems to be very slow (but maybe you expect it to be). Peter > Hi, > I'm having problem

[sage-support] ECL says: In function GCD, the value of the second argument is not of the expected type INTEGER

2014-06-03 Thread Bruno
Hi, I'm having problem with the code below, var('x t'); k=1.38*(10**-23) ; e1=0 ; e2 =170*k ; na=6.02*(10**23) a=0.1 assume(x>a) u=1 n=1 + floor(u) def DaRL(y,u): return (1/gamma(n-u))*diff(integral(y/((x-t)**(u-n+1)),t,a,x),x,n) z=exp(-e1/(k*t)) + 3*exp(-e2/(k*t)) f=-t*k*log(z) s=-dif

[sage-support] animate problem (Sage-6.2 version)

2014-06-03 Thread elim77 . lcc
Dear support, I am new to Sage Math. I installed the Sage 6.2 binary apps version on my mac book with OSX Snow leopard. When I try to do the following animation, it does not display anything on the output in the worksheet (no error message). t = var('t') a = animate((cos(c*pi*t) for c in sxran

[sage-support] Re: Cannot load .sws file into Sage; using windows and Oracle VirtualBox

2014-06-03 Thread P Purkayastha
sws file should be "uploaded" to the sage notebook. There is an "Upload" link towards the top of the notebook, when you open the notebook for the first time. It can not be opened from the command line (or maybe it can be, but you will need to write some extra python commands/script). Can you ch

[sage-support] Cannot load .sws file into Sage; using windows and Oracle VirtualBox

2014-06-03 Thread Dennis Eichhorn
Running Windows 7, with Oracle VirtualBox as suggested. I am trying to take my notebook (worksheet?) from another computer and open it in Sage. I managed to get the file from the original computer using publish. I put the file onto my new computer, in a shared a folder I created following the