Re: [sage-support] Re: Computational geometry in the plane: in Sage?

2014-04-25 Thread Ed Scheinerman
schreef Ed Scheinerman: Glad to see this has gained some traction. Here is an illustration of the immediate issue for which this would have been helpful. I wanted to produce an illustration explaining lines in the hyperbolic plane using the Poincare disk model. It's the arc of a circle whose

Re: [sage-support] Re: Computational geometry in the plane: in Sage?

2014-04-24 Thread Ed Scheinerman
at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout. -- Ed Scheinerman (e...@scheinerman.net) -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop

[sage-support] Computational geometry in the plane: in Sage?

2014-04-20 Thread Ed Scheinerman
Does Sage have, or is there a package I can add, that implements basic plane geometry objects and operations. The sort of thing I'd like to do is, given two points, construct the line that contains them. Or given two circles, intersect them yielding 0, 1, or 2 points. Given a set of points,

Re: [sage-support] Sage on Mavericks requesting installation of X

2013-10-31 Thread Ed Scheinerman
Yes. I reinstalled the same version of XQuartz as I had before, but it was the first such reinstall since upgrading to Mavericks. On Wednesday, October 30, 2013 12:41:23 AM UTC-4, yomcat wrote: On 30/10/2013, at 0945, Ed Scheinerman edward.sc...@gmail.comjavascript: wrote: Update: I re

[sage-support] Re: Sage on Mavericks requesting installation of X

2013-10-29 Thread Ed Scheinerman
Update: I re-installed XQuartz and the problem vanished. On Monday, October 28, 2013 5:44:42 PM UTC-4, Ed Scheinerman wrote: I have just upgraded my Mac to OS X version 10.9 Mavericks and am running Sage version 5.12. When I start sage from the command line an dialogue box opens asking me

[sage-support] Sage on Mavericks requesting installation of X

2013-10-28 Thread Ed Scheinerman
I have just upgraded my Mac to OS X version 10.9 Mavericks and am running Sage version 5.12. When I start sage from the command line an dialogue box opens asking me about opening Xquartz and that X11 is no longer supported etc. (See attached image.) I can dismiss past this dialogue box and all

[sage-support] Trouble saving graphics

2013-09-07 Thread Ed Scheinerman
I'm using Sage 5.11 on a Mac I've been used to creating graphs and then saving them as PDF's for inclusion in papers. Using code like this: sage: g = graphs.PetersenGraph() sage: pic = g.plot() sage: pic.save('pete.pdf') But now it just throws a bunch of errors:

[sage-support] Re: Trouble saving graphics

2013-09-07 Thread Ed Scheinerman
plots work fine. I have opened http://trac.sagemath.org/ticket/15173 to track this. On 09/07/2013 09:06 PM, Ed Scheinerman wrote: I'm using Sage 5.11 on a Mac I've been used to creating graphs and then saving them as PDF's for inclusion in papers. Using code like this: sage

[sage-support] Limit with gamma function gives incorrect answer

2013-08-06 Thread Ed Scheinerman
When I try this: sage: y = gamma(x+1/2)/gamma(x)/sqrt(x) sage: limit(y,x=oo) 0 sage: plot(y,x,1,50) I observe that the limit appears to be 1, not 0. Indeed, Mathematica confirms: In[1]:= y = Gamma[x + 1/2]/(Gamma[x]*Sqrt[x]) Out[1]= Gamma[1/2 + x]/(Sqrt[x] Gamma[x]) In[2]:= Limit[y, x -

[sage-support] Error summing inverses of binomial coefficients

2013-07-17 Thread Ed Scheinerman
I am looking to evaluate $\sum_{k=0}^n 1/\binom{n}{k}$ so I type: sage: n = var('n') sage: k = var('k') sage: sum(1/binomial(n,k),k,0,n) (n + 1)*2^(-n) and that answer is wrong. For example, with n=10 we get sage: sum(1/binomial(10,k) for k in range(11)) 1433/630 but the alleged answer of

[sage-support] Problems upgrading to 5.9 on Ubunutu using apt-get

2013-05-06 Thread Ed Scheinerman
I'm using Ubuntu 13.04 and am having trouble upgrading to 5.9. I get this error message: W: Failed to fetch http://ppa.launchpad.net/aims/sagemath/ubuntu/dists/raring/main/binary-amd64/Packages Ideas? Thanks. -- You received this message because you are subscribed to the Google Groups

Re: [sage-support] Problems upgrading to 5.9 on Ubunutu using apt-get

2013-05-06 Thread Ed Scheinerman
(minutes? hours?) to complete. Note from 5.9 on this is 64bit only. 32bit for raring 13.04 is available from the sagemath.org binary download section. Regards, Jan On 6 May 2013 13:02, Ed Scheinerman edward.sc...@gmail.com javascript: wrote: I'm using Ubuntu 13.04 and am having

[sage-support] Question about scoping

2012-01-17 Thread Ed Scheinerman
I'm confused by the fact that variables defined inside functions can leak out and become global variables. Here's what I've noticed. (1) I create a file called steiner.py for finding the Steiner point given three points in the plane. Here's my code: def dist(p,q): Eulidean distance