[sage-support] Re: integral of exp(-x^2)*cos(x) from -pi to pi is complex?

2011-10-08 Thread achrzesz
The exact integral 1/2*(erf(pi - 1/2*I) + erf(pi + 1/2*I))*sqrt(pi)*e^(-1/4) contains *real* expression (erf(pi - 1/2*I) + erf(pi + 1/2*I)) but maxima/sage can't check that it is real In WolframAlpha one can check that Im[Erf[Pi-1/2*I]+Erf[Pi+1/2*I]] iz zero Andrzej Chrzeszczyk -- To

[sage-support] Re: Integrate 0 doesn't give zero.

2011-10-08 Thread ancienthart
Yes, but if you post integrate(0,x) directly into a cell, it evaluates to a constant. Any idea why it doesn't do so in this case? Joal Heagney -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to

[sage-support] Re: weird binomial error

2011-10-08 Thread kcrisman
See http://trac.sagemath.org/sage_trac/ticket/9634. I think everyone sort of ran out of gas on it - help is welcome! - kcrisman -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For

[sage-support] Failed to install maxima.fasb as a library

2011-10-08 Thread Patrick ABOU BAKAR
Just finished an install from source of Sage 4.7.1 on a CentOS 5.7 remote server.. Got a Failed to install maxima.fasb as a library error even though everything else works fine.. command line and notebook.. Should I be concerned about this error or it is possible to install packages

[sage-support] Re: Failed to install maxima.fasb as a library

2011-10-08 Thread Nils Bruin
On Oct 8, 9:38 am, Patrick ABOU BAKAR amp...@gmail.com wrote: Just finished an install from source of Sage 4.7.1 on a CentOS 5.7 remote server.. Got a Failed to install maxima.fasb as a library error even though everything else works fine.. command line and notebook.. In 4.7.1, a failure to

[sage-support] Position of vertices in tree graph

2011-10-08 Thread Zheng
Hi, I created a simple graph by commanding: a=Graph({0:[1,2],2:[3,4],1:[5,6]}) and plot it in tree layout: a.plot(layout='tree',tree_root=0,tree_orientation='down') However, the tree ploted will arrange the vertices unexpectedly because the edges for instance (1,5) and (2,4) are intersected.

Re: [sage-support] Position of vertices in tree graph

2011-10-08 Thread Tom Boothby
This is a bug. Thank you for reporting it. On Sat, Oct 8, 2011 at 11:19 AM, Zheng zh.han...@gmail.com wrote: Hi, I created a simple graph by commanding: a=Graph({0:[1,2],2:[3,4],1:[5,6]}) and plot it in tree layout: a.plot(layout='tree',tree_root=0,tree_orientation='down') However, the

[sage-support] Re: Failed to install maxima.fasb as a library

2011-10-08 Thread Patrick ABOU BAKAR
True.. When I took my installation of Sage for a test-drive, errors started popping out.. About SELinux, it is disabled on this server.. root@host1 [~]# sestatus SELinux status: disabled What do I do from here? Enable SELinux and do another make? I installed Sage as user

[sage-support] Question about Convert Polynomial

2011-10-08 Thread juaninf
Hi everyone I have two polynomial p,q, when I make sage:print polynomial, type(polynomial) get a*X type 'sage.rings.polynomial.polynomial_zz_pex.Polynomial_ZZ_pEX' X^4 + (a + 1)*X^3 + (a^3 + a)*X^2 + a*X + 1 class 'sage.rings.fraction_field_element.FractionFieldElement_1poly_field' I want

[sage-support] Re: Position of vertices in tree graph

2011-10-08 Thread Jason Grout
On 10/8/11 2:19 PM, Tom Boothby wrote: This is a bug. Thank you for reporting it. Just FYI to others, it appears that Tom opened a ticket to track this here: http://trac.sagemath.org/sage_trac/ticket/11908 Thanks, Jason -- To post to this group, send email to sage-support@googlegroups.com

[sage-support] Alt codes in sagenb

2011-10-08 Thread daldrich
Couple of questions. I've been trying to insert Greek letters into my graph (mu). I tried alt codes and didn't find anything in the wiki's. Is there an easy way to do this? Second, is there a way to control the tick marks on the axis separately or even remove them altogether? I'm doing some

[sage-support] Re: Alt codes in sagenb

2011-10-08 Thread kcrisman
I've been trying to insert Greek letters into my graph (mu). I tried alt codes and didn't find anything in the wiki's. Is there an easy way to do this? Where would you like to do this? Here is an example. P = plot(sin(x),(x,0,pi),axes_labels=['$\\mu$','$y$']) show(P) P += text($\\mu$,(pi,1))

Re: [sage-support] Re: integral of exp(-x^2)*cos(x) from -pi to pi is complex?

2011-10-08 Thread Dan Drake
On Sat, 08 Oct 2011 at 01:05AM -0700, achrzesz wrote: The exact integral 1/2*(erf(pi - 1/2*I) + erf(pi + 1/2*I))*sqrt(pi)*e^(-1/4) contains *real* expression (erf(pi - 1/2*I) + erf(pi + 1/2*I)) but maxima/sage can't check that it is real In WolframAlpha one can check that

[sage-support] secure=True and purchased SSL certificate instead of a self-signed certificate

2011-10-08 Thread Patrick ABOU BAKAR
So I have installed a purchased certificate (on Godaddy) and installed it for subdomain.example.com But when I run notebook(interface=subdomain.example.com, port=8051, secure=True), I only see the self-signed certificate automatically generated by SAGE. Any idea? -- To post to this group, send

[sage-support] Sage has stopped working

2011-10-08 Thread globaljavaprogrammer
Sage was working and then all of a sudden when I try to start it I get this message. Does anyone know how to fix this? /opt/sage-4.7.1-linux-64bit-ubuntu_10.04.1_lts-x86_64-Linux/devel/ sagenb/sagenb/notebook/notebook_object.pyc in __call__(self, *args, **kwds) 215 216 def