[sage-support] Re: some problem with installation on winxp

2011-12-11 Thread emil
Yes you should be able to connect to the sage server. 1) Shutdown Computer and restart Start VirtualBox Please check that on the right side of your Virtual Box control window, section Networking is set to NAT. start Sage VM In the VM you should get the message that the sage server is running on

[sage-support] Re: some problem with installation on winxp

2011-12-11 Thread issacnewton
Bingo..with 1) it worked.. But how does it work in chrome when the net is not connected ? I thought that I need internet to run Sage..So I was confused when the local:8000 didn't get connected when the sage was off. So it seems that to connect to local:8000 we need to start Sage,

[sage-support] Re: some problem with installation on winxp

2011-12-11 Thread emil
I am very glad you had success at last! When you start the sage notebook server you have 'kind of an internet server running on your local machine, which produces html code and listens to your inputs on port 8000. Hence you connect to this server with localhost:8000. When you don't start the VM

[sage-support] Re: some problem with installation on winxp

2011-12-11 Thread issacnewton
danke emil !!! On Dec 11, 5:06 pm, emil emil.widm...@gmail.com wrote: I am very glad you had success at last! When you start the sage notebook server you have 'kind of an internet server running on your local machine, which produces html code and listens to your inputs on port 8000.

[sage-support] Re: equation with complex number

2011-12-11 Thread jean-pat
thank you On 9 déc, 12:52, achrzesz achrz...@wp.pl wrote: On Dec 9, 12:18 pm, David Joyner wdjoy...@gmail.com wrote: This is a question for sage-support, which I am ccing. On Fri, Dec 9, 2011 at 5:04 AM, Jean-Patrick Pommier jeanpatrick.pomm...@gmail.com wrote: Hi, Is it

[sage-support] sagenb appears to be hung

2011-12-11 Thread MichTex
You can get the main page which lists your worksheets, but clicking on a worksheet produces: HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request. --Bill Cavnar -- To post to this group, send email to

Re: [sage-support] Re: backend for matplotlib

2011-12-11 Thread Vasudev
I know , sage comes with its own ,matplotlib , thats why i ask this question , i'm not dumb !!! anyway , i'm sticking with sympy as of now for symbolic calculations , there was no such turning off GUI by default of matplotlib in previous sage releases , may be it is due to opencore stratergy of

[sage-support] Re: problem evaluating integral

2011-12-11 Thread andres.ordonez
That'll do. Thanks On Dec 10, 8:19 pm, Renan Birck Pinheiro renan.ee.u...@gmail.com wrote: 2011/12/10 andres.ordonez andres.felipe.ordo...@gmail.com Hi, I'm having trouble evaluating this integral integral( x / (exp(x) - 1) , (x,0,oo)).n() I get TypeError: cannot evaluate symbolic

[sage-support] Re: sagenb appears to be hung

2011-12-11 Thread MichTex
The server seems to be working again. Thanks, whoever, or whatever, you are. On Dec 11, 12:12 pm, MichTex bill.cav...@gmail.com wrote: You can get the main page which lists your worksheets, but clicking on a worksheet produces: HTTP Error 500 (Internal Server Error): An unexpected condition

[sage-support] Re: problem evaluating integral

2011-12-11 Thread achrzesz
sage: N(pi^2/6, digits=17) 1.6449340668482264 sage: numerical_integral(x/(exp(x)-1),0,oo) (1.6449340668482264, 5.9356452836178026e-10) On Dec 11, 6:45 pm, andres.ordonez andres.felipe.ordo...@gmail.com wrote: That'll do. Thanks On Dec 10, 8:19 pm, Renan Birck Pinheiro renan.ee.u...@gmail.com

[sage-support] Re: problem evaluating integral

2011-12-11 Thread achrzesz
On Dec 11, 7:30 pm, achrzesz achrz...@wp.pl wrote: sage: N(pi^2/6, digits=17) 1.6449340668482264 sage: numerical_integral(x/(exp(x)-1),0,oo) (1.6449340668482264, 5.9356452836178026e-10) On Dec 11, 6:45 pm, andres.ordonez andres.felipe.ordo...@gmail.com wrote: That'll do. Thanks On

[sage-support] Re: problem evaluating integral

2011-12-11 Thread achrzesz
On Dec 11, 10:59 pm, achrzesz achrz...@wp.pl wrote: On Dec 11, 7:30 pm, achrzesz achrz...@wp.pl wrote: sage: N(pi^2/6, digits=17) 1.6449340668482264 sage: numerical_integral(x/(exp(x)-1),0,oo) (1.6449340668482264, 5.9356452836178026e-10) On Dec 11, 6:45 pm, andres.ordonez

[sage-support] Question about minimal polynomial to build GF

2011-12-11 Thread juaninf
Hi everybody I want choose different minimal polynomial to build a Galois Field 2^m, how? For example: m = 8 sageF.a=GF(2^8) sage:print a.minpoly() I get ... x^8 + x^4 + x^3 + x^2 + 1 but I want now other polynomial for example x^8+x^7+x^4+x^3+x+1 How? thanks -- To post to this group, send

[sage-support] Re: Question about minimal polynomial to build GF

2011-12-11 Thread achrzesz
On Dec 12, 12:10 am, juaninf juan...@gmail.com wrote: Hi everybody I want choose different minimal polynomial to build a Galois Field 2^m, how? For example: m = 8 sageF.a=GF(2^8) sage:print a.minpoly() I get ... x^8 + x^4 + x^3 + x^2 + 1 but I want now other polynomial for example

[sage-support] Re: Question about minimal polynomial to build GF

2011-12-11 Thread achrzesz
On Dec 12, 12:31 am, achrzesz achrz...@wp.pl wrote: On Dec 12, 12:10 am, juaninf juan...@gmail.com wrote: Hi everybody I want choose different minimal polynomial to build a Galois Field 2^m, how? For example: m = 8 sageF.a=GF(2^8) sage:print a.minpoly() I get ... x^8 + x^4

Re: [sage-support] Re: Question about minimal polynomial to build GF

2011-12-11 Thread Juan Grados
but when I put this polynomial x^8+x^7+x^4+x^3+x+1 I get ValueError: finite field modulus must be irreducible but it is not 2011/12/11 achrzesz achrz...@wp.pl On Dec 12, 12:10 am, juaninf juan...@gmail.com wrote: Hi everybody I want choose different minimal polynomial to build a Galois

[sage-support] Re: Question about minimal polynomial to build GF

2011-12-11 Thread achrzesz
On Dec 12, 12:41 am, Juan Grados juan...@gmail.com wrote: but when I put this polynomial  x^8+x^7+x^4+x^3+x+1 I get ValueError: finite field modulus must be irreducible but it is not 2011/12/11 achrzesz achrz...@wp.pl On Dec 12, 12:10 am, juaninf juan...@gmail.com wrote: Hi

Re: [sage-support] problem evaluating integral

2011-12-11 Thread Michael Orlitzky
On 12/10/2011 06:56 PM, andres.ordonez wrote: Hi, I'm having trouble evaluating this integral integral( x / (exp(x) - 1) , (x,0,oo)).n() I get TypeError: cannot evaluate symbolic expression numerically The answer (according to mathematica) should be pi^2 / 6 Is something wrong with my code?

[sage-support] Re: Question about minimal polynomial to build GF

2011-12-11 Thread achrzesz
On Dec 12, 12:47 am, achrzesz achrz...@wp.pl wrote: On Dec 12, 12:41 am, Juan Grados juan...@gmail.com wrote: but when I put this polynomial  x^8+x^7+x^4+x^3+x+1 I get ValueError: finite field modulus must be irreducible but it is not 2011/12/11 achrzesz achrz...@wp.pl On Dec 12,

[sage-support] Re: Question about minimal polynomial to build GF

2011-12-11 Thread achrzesz
On Dec 12, 1:08 am, achrzesz achrz...@wp.pl wrote: On Dec 12, 12:47 am, achrzesz achrz...@wp.pl wrote: On Dec 12, 12:41 am, Juan Grados juan...@gmail.com wrote: but when I put this polynomial  x^8+x^7+x^4+x^3+x+1 I get ValueError: finite field modulus must be irreducible but it is

Re: [sage-support] Re: Question about minimal polynomial to build GF

2011-12-11 Thread Juan Grados
... thanks, by your attention, I am reading a documentation to Implement Galois Field in other place, ... and declare in C this static unsigned prim_poly[MAX_EXT_DEG + 1] = {◦1 , ◦3 , /∗ not used ∗/ ◦7 , ◦13 , ◦23 , ◦45 , ◦103 , ◦203 , ◦435 , ◦1041 , ◦2011 , ◦4005 , ◦10123 , ◦20033 , ◦42103 ,

[sage-support] Boolean function

2011-12-11 Thread Santanu Sarkar
I have a set of Boolean functions like A[0]=x1*x2+x3*x4 A[1]=x3+x7+x10 A[2]=x19*x36+x43*x45*x50 over variables x_1,.. x_50. But each function contains at most 10 variables. I want to calculate the balancedness of each function. I have done the following: from sage.crypto.boolean_function import

[sage-support] Re: Boolean function

2011-12-11 Thread Santanu Sarkar
Sorry I meant to write But it does not work apologies for the typo On 12 December 2011 07:49, Santanu Sarkar sarkar.santanu@gmail.com wrote: I have a set of Boolean functions like A[0]=x1*x2+x3*x4 A[1]=x3+x7+x10 A[2]=x19*x36+x43*x45*x50 over variables x_1,.. x_50. But each function