[sage-support] Re: intersection points of circles - irritating

2010-03-10 Thread ma...@mendelu.cz
fixed at http://trac.sagemath.org/sage_trac/ticket/8487 R.M. On 9 bře, 05:26, Markus markus_la...@gmx.net wrote: Hi, when trying to compute the intersection points of 2 circles i got strange results. Example 1: c1(x,y)=(x-5)^2+y^2-25; c2(x,y)=(y-3)^2+x^2-9

[sage-support] clifford algebras etc.

2010-03-10 Thread karl . landsteiner
Hi, I am currently trying to switch from commercial CAS to sage. As a physicist I need to handle non-commutative algebras, most notably Clifford algebras. I have read that GiNaC is pretty good in that and that sage is using a variant called Pynac. Does Pynac have the non-commutative

[sage-support] Re: Xelatex and Sage notebook

2010-03-10 Thread ma...@mendelu.cz
Hi, is already http://trac.sagemath.org/sage_trac/ticket/8472 R.M. On 10 bře, 08:51, Kwankyu ekwan...@gmail.com wrote: Hi Dan, I worked on this. Would you review Trac 8486? http://trac.sagemath.org/sage_trac/ticket/8486 Thank you in advance. Kwankyu -- To post to this group, send

[sage-support] Can I factor x^2 - 2 and get (x-sqrt(2))*(x+sqrt(2)) ?

2010-03-10 Thread slabbe
Hi, A friend of mine wants to factorize symbolicly x^2 - 2 : sage: p = x^2 - 2 sage: p.factor() x^2 - 2 Apparently p.roots() gives almost what he wants : sage: p.roots() [(-sqrt(2), 1), (sqrt(2), 1)] So, I just proposed him to do : sage: Factorization([(x-r,m) for r,m in p.roots()]) (x -

[sage-support] Symmetric group: bug with trivial cycle

2010-03-10 Thread vdelecroix
Hello, I get a strange error while constructing permutation from a cycle decomposition. Is it a bug or not the right way to build a permutation ? {{{ sage: G = SymmetricGroup(3) sage: G([(2,3), (1,)]) (2,3) sage: G([(1,), (2,3)])

[sage-support] 3D plot in sage

2010-03-10 Thread wxuyec
Hi everyone,I want do this thing as follows in sage, is that OK?var('x,y,z')f=cos(x)*cos(y)+cos(y)*cos(z)+cos(z)*cos(x)and then I want to plot f. how can do it in sage?Thanks in advance!regards,YC -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this

[sage-support] Re: 3D plot in sage

2010-03-10 Thread John H Palmieri
On Mar 10, 9:39 am, wxu...@sohu.com wrote: Hi everyone,I want do this thing as follows in sage, is that OK?var('x,y,z')f=cos(x)*cos(y)+cos(y)*cos(z)+cos(z)*cos(x)and then I want to plot f. how can do it in sage?Thanks in advance!regards,YC Isn't this a 4d plot? Or do you want to plot

[sage-support] Re: Can I factor x^2 - 2 and get (x-sqrt(2))*(x+sqrt(2)) ?

2010-03-10 Thread John H Palmieri
On Mar 10, 3:23 am, slabbe sla...@gmail.com wrote: Hi, A friend of mine wants to factorize symbolicly x^2 - 2 : sage: p = x^2 - 2 sage: p.factor() x^2 - 2 Apparently p.roots() gives almost what he wants : sage: p.roots() [(-sqrt(2), 1), (sqrt(2), 1)] Or sage:

Re: [sage-support] Re: Can I factor x^2 - 2 and get (x-sqrt(2))*(x+sqrt(2)) ?

2010-03-10 Thread Robert Bradshaw
On Mar 10, 2010, at 10:15 AM, John H Palmieri wrote: On Mar 10, 3:23 am, slabbe sla...@gmail.com wrote: Hi, A friend of mine wants to factorize symbolicly x^2 - 2 : sage: p = x^2 - 2 sage: p.factor() x^2 - 2 Apparently p.roots() gives almost what he wants : sage: p.roots() [(-sqrt(2), 1),

[sage-support] saving data from interact

2010-03-10 Thread D. Monarres
Hello all, I am using a sage notebook interact to generate and display some random graphs (more specifically a self-created extension of the graph class with extra properties) and would like to have the chance to save the output. Usually the notebook makes all defined variables global and I can

Re: [sage-support] saving data from interact

2010-03-10 Thread William Stein
On Wed, Mar 10, 2010 at 11:17 AM, D. Monarres dmmonar...@gmail.com wrote: Hello all, I am using a sage notebook interact to generate and display some random graphs  (more specifically a self-created extension of the graph class with extra properties) and would like to have the chance to save

[sage-support] plot3d in notebook generates no plot

2010-03-10 Thread Eckhard Kosin
Hi all, I just installed Sage and now I'm working through the tutorial. However, inside notebook I'm unable to generate 3d plots: Issuing i.e. x,y = var('x,y') plot3d(x^2 + y^2, (x,-2,2), (y,-2,2)) only yields a gray square without any plots. At the right lower corner of the square there is a

[sage-support] Re: saving data from interact

2010-03-10 Thread D. Monarres
Thank you very much, that was a great help. Is there a way to pickle user defined types? So that I can, say, email my advisor files containing the sage objects. On Mar 10, 11:25 am, William Stein wst...@gmail.com wrote: On Wed, Mar 10, 2010 at 11:17 AM, D. Monarres dmmonar...@gmail.com wrote:

Re: [sage-support] plot3d in notebook generates no plot

2010-03-10 Thread Robert Bradshaw
On Mar 10, 2010, at 11:53 AM, Eckhard Kosin wrote: Hi all, I just installed Sage and now I'm working through the tutorial. However, inside notebook I'm unable to generate 3d plots: Issuing i.e. x,y = var('x,y') plot3d(x^2 + y^2, (x,-2,2), (y,-2,2)) only yields a gray square without any

[sage-support] Typesetting bug

2010-03-10 Thread Gustav Delius
There is a surprising typesetting bug in the sage 4.3.3 notebook interface, as it is running on sagenb.org, for example. If the Typset checkbox is ticked and one evaluates something like 6.5/x one gets 1/x So any floating point number is convered to 1 when it is divided by a symbolic variable.

[sage-support] Re: Typesetting bug

2010-03-10 Thread Harald Schilly
On Mar 10, 9:27 pm, Gustav Delius gustav.del...@gmail.com wrote: There is a surprising typesetting bug ... http://trac.sagemath.org/sage_trac/ticket/8491 -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to

Re: [sage-support] Re: Typesetting bug

2010-03-10 Thread Burcin Erocal
On Wed, 10 Mar 2010 12:35:28 -0800 (PST) Harald Schilly harald.schi...@gmail.com wrote: On Mar 10, 9:27 pm, Gustav Delius gustav.del...@gmail.com wrote: There is a surprising typesetting bug ... http://trac.sagemath.org/sage_trac/ticket/8491 Indeed this is very embarrassing. I can't

[sage-support] Re: bug in Sage's interface to Singular?

2010-03-10 Thread Alex Raichev
Hi all: It looks like working with polynomial rings over transcendental field extensions still doesn't work in Sage. Am i doing something wrong below? The same computation works in Singular, giving the correct answer of the ideal generated by x*y. Should i submit a Trac ticket for this? It

[sage-support] can't factor a symbolic expression with Laplace transforms

2010-03-10 Thread Dan Drake
Hello, I'm trying to factor a symbolic expression with Laplace transforms in it: sage: var('s t') (s, t) sage: y = function('y', t) sage: lt = laplace(diff(y, t,t) - 3*diff(y, t) + 2*y , t, s) sage: lt s^2*laplace(y(t), t, s) - 3*s*laplace(y(t), t, s) - s*y(0) + 2*laplace(y(t), t, s) + 3*y(0) -