[sage-support] sum, value of a sum, function based on a sum, approximate sum

2010-10-05 Thread Pedro Cruz
Why in this code: r,a,n,i,noo=var('r,a,n,i,noo') hterm(a,r,n) = 1/(a^2+(r+n)^2)^(3/2) h(a,r,noo) = a^2*sum(hterm(a,r,i), i, 0, noo) print h(a=1,r=0.0123,noo=oo) sum((i^2 + 0.0246*i + 1.00015129)^(-3/2), i, 0, +Infinity) print h(a=1,r=0.0123,noo=10) sum((i^2 + 0.0246*i +

[sage-support] Re: sum, value of a sum, function based on a sum, approximate sum

2010-10-05 Thread Pedro Cruz
After a pause I remember this non intuitive facts: n: is a funtion in sage and should be declared as symbol And in print h(a=1,r=0.0123,noo=10) Answer: sum((i^2 + 0.0246*i + 1.00015129)^(-3/2), i, 0, 10) This is an expression and that is why I cannot have a number like typing sum((i^2 +

[sage-support] Re: a sage simple server question

2010-10-05 Thread Robert Bradshaw
On Tue, Oct 5, 2010 at 7:57 AM, Francisco Botana fbot...@uvigo.es wrote: My question was (and is): is it possible to simultaneously send multiple commands to the simple server? That is, instead of setting, for instance, a to 2 and b to 3 with two distinct http requests, is it possible to send

[sage-support] Re: German translation of the tutoria l / Übersetzung des Tutorials in Deutsch

2010-10-05 Thread be
Hello, 2010/10/5 Philipp Schneider philipp.schneid...@gmx.net: Michael Mardaus and I are happy to announce that we have finished translating the complete Sage tutorial to German. I am happy to give you some feedback to the German version (over the next few weeks). Please also make your

[sage-support] Re: checking divisibility of points on elliptic curves

2010-10-05 Thread John Cremona
On Oct 5, 3:36 pm, James Parson par...@hood.edu wrote: Dear sage-support, I was playing with some elliptic-curves calculations in Sage 4.5.3, and I came across (or, rather, cooked up) the following, which puzzled me: sage: K = QuadraticField(8,'a') sage: E =

[sage-support] Re: checking divisibility of points on elliptic curves

2010-10-05 Thread John Cremona
This is now ticket #10076 (see http://trac.sagemath.org/sage_trac/ticket/10076) John Cremona On Oct 5, 8:01 pm, John Cremona john.crem...@gmail.com wrote: On Oct 5, 3:36 pm, James Parson par...@hood.edu wrote: Dear sage-support, I was playing with some elliptic-curves calculations

[sage-support] Re: checking divisibility of points on elliptic curves

2010-10-05 Thread John Cremona
On Oct 5, 8:04 pm, John Cremona john.crem...@gmail.com wrote: This is now ticket #10076 (seehttp://trac.sagemath.org/sage_trac/ticket/10076) There's a patch which fixes this bug on that ticket, ready for review. Thanks again for the bug report. John Cremona John Cremona On Oct 5, 8:01 

[sage-support] Extension field arithmetic

2010-10-05 Thread anup
Hi, I am using tower of extensions on top of a binary field. Is this the way to do it?? F1.a = GF(2^4); _.x = PolynomialRing(F1); f = x^2 + x + F1(1); F2 = F1.extension(f, 'x'); _.y = PolynomialRing(F2); g = y^2 + y + F2(x); F3 = F2.extension(g, 'y'); Does sage support arithmetic of F2, F3