[sage-support] Re: gnuplotpy -- installation "by hand"?

2009-09-07 Thread William Stein
On Mon, Sep 7, 2009 at 11:35 PM, Alexander Hanysz wrote: > > Hi, > > I'm trying to use gnuplot from within sage.  I think I need to install > the "gnuplotpy" package (see error messages below); however, I'm > behind a firewall and "sage -i stuff" doesn't work.  Is there a way > for me to directly

[sage-support] gnuplotpy -- installation "by hand"?

2009-09-07 Thread Alexander Hanysz
Hi, I'm trying to use gnuplot from within sage. I think I need to install the "gnuplotpy" package (see error messages below); however, I'm behind a firewall and "sage -i stuff" doesn't work. Is there a way for me to directly download the required file and install it locally? I'm using sage ver

[sage-support] Re: Matrix is not shown properly

2009-09-07 Thread William Stein
On Mon, Sep 7, 2009 at 7:13 PM, matrix89 wrote: > > Hello William, > > Yes, I am using vmware player with Sage notebook in Window vista, but > I am in U.S.. > But my keyboard can write Korean.  Is this related to the problem? > Thank you. I unfortunately have absolutely no idea what could be caus

[sage-support] Re: Matrix is not shown properly

2009-09-07 Thread matrix89
Hello William, Yes, I am using vmware player with Sage notebook in Window vista, but I am in U.S.. But my keyboard can write Korean. Is this related to the problem? Thank you. In-Jae On Sep 7, 1:39 pm, William Stein wrote: > On Mon, Sep 7, 2009 at 11:36 AM, matrix89 wrote: > > > Hello, > > >

[sage-support] Re: weave corrupt

2009-09-07 Thread Patrick Hammer
Thanks but it still doesn't work: import numpy import scipy.weave from scipy.weave import converters def my_sum(a): n=int(len(a)) code=""" int i; long int counter; counter =0; for(i=0;i", line 1, in File "/home/sage/sagenb/sage_notebook/worksheets/Ch4os/17/code/42.py",

[sage-support] Re: Integrate[Sqrt[Cos[t]^n + Sin[t]^n], {t, 0, Pi}]

2009-09-07 Thread Alexander R.Povolotsky
Robert Israel clarified that I was incorrect in feeding Maple's output into WolframAlpha - I am quoting his reply -- Forwarded message -- From: Robert Israel I believe Mathematica's EllipticE[x] is Maple's EllipticE(sqrt(x)). Maple defines EllipticE(k) = int_0^1 sqrt(1 - k^2 t^2)/

[sage-support] Re: Mathematica 6.0 Compatibility Issue

2009-09-07 Thread William Stein
On Mon, Sep 7, 2009 at 2:25 PM, mvanveen wrote: > > Dr. Stein, > > It works now! > > !math gave me enough insight into what was wrong that I was able to > repair the math file in /Applications/sage.  It looks as though it's > working now.  Thanks so much for taking the time out to help! > > Determ

[sage-support] Re: Mathematica 6.0 Compatibility Issue

2009-09-07 Thread mvanveen
Dr. Stein, It works now! !math gave me enough insight into what was wrong that I was able to repair the math file in /Applications/sage. It looks as though it's working now. Thanks so much for taking the time out to help! Determining which PATH variable the documentation is referring to is a

[sage-support] Re: Mathematica 6.0 Compatibility Issue

2009-09-07 Thread William Stein
On Mon, Sep 7, 2009 at 1:36 PM, mvanveen wrote: > > Hello, > > I am attempting to get my SAGE environment to interact with > Mathematica 6.0 installed in /Applications on Mac OS 10.5.8.  When I > attempt to evaluate a mathematica expression I get the following > error: > eqn = mathematica('3x + 15

[sage-support] Re: Sage notebook is down for maintenance

2009-09-07 Thread William Stein
On Mon, Sep 7, 2009 at 1:37 PM, Minh Nguyen wrote: > > Hi folks, > > The Sage notebook is currently down for maintenance. Sorry for the > inconveniences. > And now it's back up. Wiliam --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@google

[sage-support] Mathematica 6.0 Compatibility Issue

2009-09-07 Thread mvanveen
Hello, I am attempting to get my SAGE environment to interact with Mathematica 6.0 installed in /Applications on Mac OS 10.5.8. When I attempt to evaluate a mathematica expression I get the following error: eqn = mathematica('3x + 15 == 3') Traceback (most recent call last): File "", line 1,

[sage-support] Sage notebook is down for maintenance

2009-09-07 Thread Minh Nguyen
Hi folks, The Sage notebook is currently down for maintenance. Sorry for the inconveniences. -- Regards Minh Van Nguyen --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-s

[sage-support] Re: Integrate[Sqrt[Cos[t]^n + Sin[t]^n], {t, 0, Pi}]

2009-09-07 Thread Alexander R.Povolotsky
Perhaps - I let it be known to Robert Israel who was kindly doing Maple part for me. If he reconfirms it - he will pass it along to Maple people, I presume. Thanks for helping, Alex On Sep 7, 2:43 pm, William Stein wrote: > On Mon, Sep 7, 2009 at 11:40 AM, Alexander > > > > R.Povolotsky wrote:

[sage-support] Re: Integrate[Sqrt[Cos[t]^n + Sin[t]^n], {t, 0, Pi}]

2009-09-07 Thread William Stein
On Mon, Sep 7, 2009 at 11:40 AM, Alexander R.Povolotsky wrote: > > WolframAlpha gives > > 2*EllipticE[1/2]=2*E(1/2)= >  (8*Pi^(3/2))/Gamma(-1/4)^2+Gamma(3/4)^2/sqrt(Pi) > =2.7012877620953510050403494706774516826990447338487090906465... > > 2*EllipticE[3/4]=2*E(3/4) = >  Pi*sum_(k=0)^infinity((3/4)

[sage-support] Re: Integrate[Sqrt[Cos[t]^n + Sin[t]^n], {t, 0, Pi}]

2009-09-07 Thread Alexander R.Povolotsky
WolframAlpha gives 2*EllipticE[1/2]=2*E(1/2)= (8*Pi^(3/2))/Gamma(-1/4)^2+Gamma(3/4)^2/sqrt(Pi) =2.7012877620953510050403494706774516826990447338487090906465... 2*EllipticE[3/4]=2*E(3/4) = Pi*sum_(k=0)^infinity((3/4)^k*((-1/2)_k (1/2)_k))/(k!)^2 =2.4221120551369190496071257990979573529884795994

[sage-support] Re: Matrix is not shown properly

2009-09-07 Thread William Stein
On Mon, Sep 7, 2009 at 11:36 AM, matrix89 wrote: > > > Hello, > > I typed "Aug=Matrix(QQ, [[2,-3, 1, -1, -2], [3, 0, -1, 0, 9], [0, 2, > 0, 4, 0]]); show(Aug)", and the side brackets of the matrix look > unusal: > >      2 3 0 −3 0 2 1 −1 0 −1 0 4 −2 9 0      > > I used VMWare player for S

[sage-support] Matrix is not shown properly

2009-09-07 Thread matrix89
Hello, I typed "Aug=Matrix(QQ, [[2,-3, 1, -1, -2], [3, 0, -1, 0, 9], [0, 2, 0, 4, 0]]); show(Aug)", and the side brackets of the matrix look unusal:     2 3 0 −3 0 2 1 −1 0 −1 0 4 −2 9 0     I used VMWare player for Sage 4.1.1 (which I downloaded an hour ago). It seems that sage 4.1.

[sage-support] Re: Integrate[Sqrt[Cos[t]^n + Sin[t]^n], {t, 0, Pi}]

2009-09-07 Thread William Stein
On Mon, Sep 7, 2009 at 11:12 AM, Alexander R.Povolotsky wrote: > > Could you try specific "n" cases (4 and 6) > > sage: integrate((cos(t)^n+sin(t)^n)^(1/2), t,0,pi) > > and > > sage: integrate((cos(t)^6+sin(t)^6)^(1/2), t,0,pi) > > Thanks, > Alex Sure. By the way, if you go to http://sagenb.org/

[sage-support] Re: Integrate[Sqrt[Cos[t]^n + Sin[t]^n], {t, 0, Pi}]

2009-09-07 Thread Alexander R.Povolotsky
Could you try specific "n" cases (4 and 6) sage: integrate((cos(t)^n+sin(t)^n)^(1/2), t,0,pi) and sage: integrate((cos(t)^6+sin(t)^6)^(1/2), t,0,pi) Thanks, Alex On Sep 7, 12:28 pm, William Stein wrote: > On Mon, Sep 7, 2009 at 9:19 AM, Alexander > > > > R.Povolotsky wrote: > > > For > > Int

[sage-support] Re: weave corrupt

2009-09-07 Thread felix
Hi, What about: import scipy.weave from scipy.weave import converters ? - Felix On 4 Sep., 21:56, Patrick Hammer wrote: > Hi! > > import weave > from weave import converters > > gives: > > Traceback (most recent call last): >   File "", line 1, in >   File "/home/sage/sagenb/sage_notebook/w

[sage-support] Re: Weave broken in Sage 4.1 Mac intel 64 bit

2009-09-07 Thread Minh Nguyen
Hi Felix, On Tue, Sep 8, 2009 at 2:47 AM, felix wrote: > Furthermore, there are tickets regarding broken scipy 0.7.0 packages > when using python 2.6 which have been fixed since. Which tickets are you referring to? Can you give specific links to those tickets? > The sage packet index lists

[sage-support] Re: Weave broken in Sage 4.1 Mac intel 64 bit

2009-09-07 Thread felix
Hi again, it seems like scipy 7.1 is supposed to work with python 2.6 while previous versions aren't. At least on sourceforge (http:// sourceforge.net/projects/scipy/files/), older scipy superpacks that come with their own python only include python 2.5 or 2.4. Furthermore, there are tickets reg

[sage-support] Re: Integrate[Sqrt[Cos[t]^n + Sin[t]^n], {t, 0, Pi}]

2009-09-07 Thread William Stein
On Mon, Sep 7, 2009 at 9:19 AM, Alexander R.Povolotsky wrote: > > For > Int((cos(t)^n+sin(t)^n)^(1/2),t = 0 ... Pi) > that is > Integrate[Sqrt[Cos[t]^n + Sin[t]^n], {t, 0, Pi}] > > 1) n=4 > Maple gives > EllipticE(I)*sqrt(2) > vs > Mathemtica's > 2*EllipticE[1/2] > > and > 2) n=6 > Maple gives >  

[sage-support] Integrate[Sqrt[Cos[t]^n + Sin[t]^n], {t, 0, Pi}]

2009-09-07 Thread Alexander R.Povolotsky
For Int((cos(t)^n+sin(t)^n)^(1/2),t = 0 ... Pi) that is Integrate[Sqrt[Cos[t]^n + Sin[t]^n], {t, 0, Pi}] 1) n=4 Maple gives EllipticE(I)*sqrt(2) vs Mathemtica's 2*EllipticE[1/2] and 2) n=6 Maple gives EllipticE(sqrt(3)*I) vs Mathematica's 2 EllipticE[3/4] In both cases above Maple has explici

[sage-support] Re: Doctesting in parallel

2009-09-07 Thread David Joyner
On Sat, Sep 5, 2009 at 1:40 AM, Minh Nguyen wrote: > > Hi kcrisman, > > On Sat, Sep 5, 2009 at 2:24 AM, kcrisman wrote: > > > >> works fine.  What am I doing wrong?  And can someone add documentation >> about the exact syntax, if not? > > I have written some documentation at > > http://mvngu.word