[sage-support] Wrong limit

2008-11-11 Thread Robert Samal
(I'm not sure if this group is the right place to report bugs, but I'm afraid I'd forgot about the issue before I find the right place ...) sage: lim ( x*(sqrt(x^2)-sqrt(x))/sqrt(x^2 -x), x=oo) 0 (The right answer is +Infinity, of course.) after small modifications, the limit is evaluated corre

[sage-support] Re: Wrong limit

2008-11-11 Thread Minh Nguyen
Hi Robert, Robert Samal wrote: > (I'm not sure if this group is the right place to report bugs, but I'm > afraid I'd forgot about the issue > before I find the right place ...) > > sage: lim ( x*(sqrt(x^2)-sqrt(x))/sqrt(x^2 -x), x=oo) > 0 > > (The right answer is +Infinity, of course.) > > aft

[sage-support] Re: Wrong limit

2008-11-11 Thread Robert Samal
Hi Minh, > I think this issue has been fixed in sage-3.1.4. Under sage-3.1.4, the > command > > sage: lim ( x*(sqrt(x^2)-sqrt(x))/sqrt(x^2 -x), x=oo) > +Infinity > > returns what you'd expect. That's great news, perhaps I should update more frequently. By any chance, does somebody know what was

[sage-support] Re: Drawing points on a sphere

2008-11-11 Thread Marshall Hampton
It might be a little easier to generate a straight-line list of points and then normalize them to length 1. -M. Hampton On Nov 10, 4:44 pm, Robert Bradshaw <[EMAIL PROTECTED]> wrote: > On Nov 10, 2008, at 12:57 PM, acardh wrote: > > > > > > > One more question about this. How can I draw a line b

[sage-support] Re: small observation on range(i,j)

2008-11-11 Thread slabbe
Bonjour Nasser, Maybe it is strange, but I find it rather practical. If i, j are indices, this avoids to write i-1, j+1, j+i-1etc. See what I mean below. Sébastien L Python 2.5.2 (r252:60911, Jul 31 2008, 17:28:52) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2 Type "help", "copyright", "cre

[sage-support] Re: small observation on range(i,j)

2008-11-11 Thread Robert Samal
> You might prefer the [1..n] notation, so you could do > > sage: [f(i) for i in [1..10]] > [g(1), g(2), g(3), g(4), g(5), g(6), g(7), g(8), g(9), g(10)] > > (This really should be added to the wiki.)> sage: [f(i) for i in [1..10]] Perhaps I'm missing something, but where do the g's come from? I

[sage-support] Re: Problem with gigantic lists being used to make specific graphs

2008-11-11 Thread mabshoff
On Nov 10, 8:24 pm, DGaffney <[EMAIL PROTECTED]> wrote: Hi, > The file-opening method seems to work out much better; I don't > necessarily know what was wrong, but this solved it to a reasonable > enough point for now; I'll keep you posted as we run a test on the > Swahili wikipedia, which sho

[sage-support] Re: Wrong limit

2008-11-11 Thread [EMAIL PROTECTED]
On 11 Lis, 22:21, Robert Samal <[EMAIL PROTECTED]> wrote: > Hi Minh, > > > I think this issue has been fixed in sage-3.1.4. Under sage-3.1.4, the > > command > > > sage: lim ( x*(sqrt(x^2)-sqrt(x))/sqrt(x^2 -x), x=oo) > > +Infinity > > > returns what you'd expect. > > That's great news, perhaps

[sage-support] Re: Drawing points on a sphere

2008-11-11 Thread acardh
I am drawing the line in this way: res=100 theta1=38.7598 phi1=-121.294 theta2=40.3503 phi2=-74.6594 myline=[] for i in range(1,100): myline[i] = ((i/res)*theta1 + ((res-i)/res)*theta2, (i/res) *phi1 + ((res-i)/res)*phi2) mydots = [(cos(t*theta)*cos(t*phi), sin(t*theta)*cos(t*phi), sin (t

[sage-support] Re: Drawing points on a sphere

2008-11-11 Thread Robert Bradshaw
You can pass a "radius" or "size" parameter to the point command, which will make them smaller or larger. Also, you can look at the line3d command (pass it a list of points to get a curved line). On Nov 11, 2008, at 8:11 PM, acardh wrote: > I am drawing the line in this way: > > res=100 > th

[sage-support] Re: Drawing points on a sphere

2008-11-11 Thread John H Palmieri
On Nov 11, 9:01 pm, Robert Bradshaw <[EMAIL PROTECTED]> wrote: > You can pass a "radius" or "size" parameter to the point command,   > which will make them smaller or larger. Also, you can look at the   > line3d command (pass it a list of points to get a curved line). Also the parametric_plot3d c