[sage-support] solve(2*x-3 == (2 + sqrt(x+7))^2,x)

2009-01-20 Thread Skylar
I worked it out by hand to be x=2 or x=42. I get nothing useful back from sage. What am I missing? --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@goog

[sage-support] Re: number field question

2009-01-20 Thread William Stein
On Tue, Jan 20, 2009 at 9:57 AM, Carl Witty wrote: > > On Jan 19, 7:50 pm, William Stein wrote: >> Any commutative algebra computer computation over QQbar can be reduced >> to a computation over a specific absolute number field, since there >> are only finitely many symbols in the input to the c

[sage-support] Re: Traceback (most recent call last)!!!

2009-01-20 Thread William Stein
On Tue, Jan 20, 2009 at 4:22 PM, Raouf wrote: > > Hi, > Recently, i wrote this program to Sage vmware-Windows, but i have the > error Traceback (most recent call last)!!! > Can you please attach the code in a .txt file as an email attachment, or attach a sage worksheet? I tried just pasting the

[sage-support] Re: gap documentation

2009-01-20 Thread William Stein
On Tue, Jan 20, 2009 at 8:03 PM, davidp wrote: > > I will be teaching abstract algebra this semester and want to > introduce my students to Sage and GAP. I have installed > gap_packages-4.4.10_6, but I am still having trouble with > documentation: > >

[sage-support] Getting sage to see some python libraries that don't appear in the sage library

2009-01-20 Thread Benjamin J. Racine
Hello all, I apologize if I am repeating someone, but I figure this question is a big one worth bringing up again. If I want sage to see some publicly available python libraries, it seems that I can't just drag and drop them into my "site-packages" folder as eggs as I thought I might. I am o

[sage-support] Re: gap documentation

2009-01-20 Thread Robert Bradshaw
To get the gap console, it may be even easier to just run sage -gap - Robert On Jan 20, 2009, at 8:03 PM, davidp wrote: > > I will be teaching abstract algebra this semester and want to > introduce my students to Sage and GAP. I have installed > gap_packages-4.4.10_6, but I am still having tr

[sage-support] gap documentation

2009-01-20 Thread davidp
I will be teaching abstract algebra this semester and want to introduce my students to Sage and GAP. I have installed gap_packages-4.4.10_6, but I am still having trouble with documentation: -- | Sage Version 3.2.3, Release Date

[sage-support] Re: Solving a 2nd order linear ODE with initial conditions

2009-01-20 Thread David Joyner
On Tue, Jan 20, 2009 at 9:30 PM, wrote: > In a message dated 1/20/2009 9:05:58 P.M. Eastern Standard Time, > wdjoy...@gmail.com writes: > > sage: t = var('t') > sage: x = function('x',t) > sage: DE = lambda y: diff(y,t,t) + y > sage: f = eval(desolve_laplace(DE(x(t)), ["t","x"], [0,1,0])) > sage

[sage-support] Re: Solving a 2nd order linear ODE with initial conditions

2009-01-20 Thread CalcPage
In a message dated 1/20/2009 9:05:58 P.M. Eastern Standard Time, wdjoy...@gmail.com writes: sage: t = var('t') sage: x = function('x',t) sage: DE = lambda y: diff(y,t,t) + y sage: f = eval(desolve_laplace(DE(x(t)), ["t","x"], [0,1,0])) sage: f(t) cos(t) OK, I saw this in the DiffEqu te

[sage-support] Re: Solving a 2nd order linear ODE with initial conditions

2009-01-20 Thread David Joyner
In this case, the following works: sage: t = var('t') sage: x = function('x',t) sage: DE = lambda y: diff(y,t,t) + y sage: f = eval(desolve_laplace(DE(x(t)), ["t","x"], [0,1,0])) sage: f(t) cos(t) (However, for other problems, this trick will not work so well.) I know about the problem with deso

[sage-support] Solving a 2nd order linear ODE with initial conditions

2009-01-20 Thread MacosX12345
Dear All, I did not find the answer to this elementary question elsewhere --- please apologize if it was already answered. I want to solve the 2nd order ODE y''(x)+y(x)=0 with initial conditions y(0)=1, y'(0)=0. Obviously the solution is unique and it is y(x)=cos(x). Let's try: x=var('x') y

[sage-support] Traceback (most recent call last)!!!

2009-01-20 Thread Raouf
Hi, Recently, i wrote this program to Sage vmware-Windows, but i have the error Traceback (most recent call last)!!! " borneSup=103196184763 S=0 Bm=0 alpha=1 p=2 m1=2 while (p^alpha)<=borneSup: while (p^alpha) <=borneSup: m1=p^alpha if gcd(m1,6)==1: mangoldt=ln(

[sage-support] Re: Jordan Normal Form Problem

2009-01-20 Thread c mullan
Hi Jason, thanks, you hit the nail on the head - I had not downloaded the latest version..it works fine now, and I've learned a valuable lesson! Ciaran On Jan 19, 11:28 pm, Jason Grout wrote: > c mullan wrote: > > Hi all, > > > by general theory I know that an invertible transformation matrix

[sage-support] Re: SAGE working with Paraview

2009-01-20 Thread Johannes Reichold
Hello Mike, Paraview is an immensly powerful tool (based on vtk) that allows visualizing huge datasets. The data can be located on a remote computer running the Paraview server, to which you would connect with the corresponding PV client. It is also Python scriptable, which is what I want to

[sage-support] Re: SAGE working with Paraview

2009-01-20 Thread Johannes Reichold
Hello Mike, Paraview is an immensly powerful tool (based on vtk) that allows visualizing huge datasets. The data can be located on a remote computer running the Paraview server, to which you would connect with the corresponding PV client. It is also Python scriptable, which is what I want to

[sage-support] Re: SAGE working with Paraview

2009-01-20 Thread Mike Hansen
Hi Johannes, On Tue, Jan 20, 2009 at 2:37 PM, Johannes Reichold wrote: > > Many thanks for your answer Jaap! > Unfortunately, building the experimental cmake failed (see error report > below), however I have cmake installed on my system "outside" of SAGE. I > will give it a try. > Best, > Johann

[sage-support] Re: SAGE working with Paraview

2009-01-20 Thread Johannes Reichold
Many thanks for your answer Jaap! Unfortunately, building the experimental cmake failed (see error report below), however I have cmake installed on my system "outside" of SAGE. I will give it a try. Best, Johannes g++ -framework Carbon -I/Applications/Science/sage/spkg/build/cmake-2.4.8/src/S

[sage-support] Re: number field question

2009-01-20 Thread Alex Raichev
> So, I'm curious, did you envision your proposal to be to automate all > bookkeeping in translating between QQbar (as presented to the user) > and numbers fields (as fed to the backend Singular)?   I think this > would be very nice and useful. That's exactly what i was thinking of. I know such

[sage-support] Sage for economic modeling?

2009-01-20 Thread jdri...@gmail.com
I am interesting in using Sage for economic modeling instead of Matlab / Octave or R. Does anyone have experience with making this move, and what were the pluses and minuses? Thanks, JR --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@goog

[sage-support] Re: SAGE working with Paraview

2009-01-20 Thread Jaap Spies
msafiri wrote: > Hello everyone, > > I'm using SAGE to analyze the brain's vasculature. The vessel network > is stored as a networkX graph and I would like to plot this graph from > the SAGE command line (or notebook) using Paraview (http:// > www.paraview.org). > I use OS X Leopard and I have th

[sage-support] Re: Minimal notebook - just 1 cell

2009-01-20 Thread Skylar
> http://zine.pocoo.org/ Thanks for the tip. This is not so different than the homemade blog/ CMS's that I have been crafting with Django, certainly embedding Sage would work in essentially the same way. > It would be nice if @interact demonstrations and cells (both read-only > and read-write)

[sage-support] Re: Minimal notebook - just 1 cell

2009-01-20 Thread Skylar
> Just out of curiosity, what do you think of this: > >http://magma.maths.usyd.edu.au/calc/ > > It wrote it years ago (before Sage), but could do a Sage version that > would be included standard in sage. Yes, something like that is relatively close to what I am thinking. But, without autocomp

[sage-support] Re: Minimal notebook - just 1 cell

2009-01-20 Thread Skylar
On Jan 19, 11:42 pm, "Timothy Clemans" wrote: > Is this similar to making it easy to post @interact demonstrations on > webpages including a blog? I'm not entirely sure what posting an @interact demonstration is. But, you sound like you might be in the neighborhood of my little idea. Ideally it

[sage-support] Re: number field question

2009-01-20 Thread Carl Witty
On Jan 19, 7:50 pm, William Stein wrote: > Any commutative algebra computer computation over QQbar can be reduced > to a computation over a specific absolute number field, since there > are only finitely many symbols in the input to the calculation. > Singular, etc., fully supports doing commutat

[sage-support] Re: number field question

2009-01-20 Thread Carl Witty
On Jan 19, 4:46 pm, Alex Raichev wrote: > Hi everyone: > > I'm applying for a grant from the New Zealand government to fund some > Sage development in the area of computational algebraic and analytic > geometry.  For part of the application i need to report on the 'state > of the field'.  Part of

[sage-support] Re: Finding a duplicated vector in a list of vectors

2009-01-20 Thread Carl Witty
On Jan 19, 1:43 pm, slabbe wrote: > PROBLEM : > In a list of vectors, I want to know if there is a pair of equal > vectors. > > I have two solutions. The first to create an empty list L and append > the vectors one per one. If a vector is already in L before adding it, > then I found a pair of eq

[sage-support] Re: offline sage

2009-01-20 Thread Jason Grout
kcrisman wrote: > > > On Jan 20, 8:42 am, Harald Schilly wrote: >> On Jan 20, 2:26 pm, John Mangual wrote: >> >>> Can sage be used offline? It doesn't seem to work if I am not >>> connected to the Internet. >> I've had the same problem, when i went offline the network was shut >> down, but t

[sage-support] Re: offline sage

2009-01-20 Thread kcrisman
On Jan 20, 8:42 am, Harald Schilly wrote: > On Jan 20, 2:26 pm, John  Mangual wrote: > > > Can sage be used offline?  It doesn't seem to work if I am not > > connected to the Internet. > > I've had the same problem, when i went offline the network was shut > down, but the Sage-Notebook needs a

[sage-support] Re: sage simplification

2009-01-20 Thread ben
Thank you everyone! :) On Jan 20, 9:56 am, Jason Grout wrote: > Tim Lahey wrote: > > However, in my version of Sage (3.2), the functions simplify_full() > > and simplify_trig() only seem to be defined on objects not as > > general functions. Unless I'm missing something. > > I noticed that too.

[sage-support] SAGE working with Paraview

2009-01-20 Thread msafiri
Hello everyone, I'm using SAGE to analyze the brain's vasculature. The vessel network is stored as a networkX graph and I would like to plot this graph from the SAGE command line (or notebook) using Paraview (http:// www.paraview.org). I use OS X Leopard and I have the latest versions of both SAG

[sage-support] SAGE working with Paraview

2009-01-20 Thread msafiri
Hello everyone, I'm trying to get SAGE to work with Paraview (http:// www.paraview.org/), an open source data analysis and visualization application. I simulate the cerebral blood flow and use SAGE to do some analysis of the tree-structure of the brain's vasculature. So I have the vessel network

[sage-support] Re: unstable modules + creating a small library

2009-01-20 Thread Simon King
Dear Pierre, dear John, John H Palmieri schrieb: > On Jan 19, 6:28�am, Pierre wrote: > I think Simon King does some group cohomology computations with Sage, > but I don't know exactly how he does it. Indeed. One of my plans is to enrich my results by Steenrod actions, and to provide the cohomol

[sage-support] Re: offline sage

2009-01-20 Thread Harald Schilly
On Jan 20, 2:26 pm, John Mangual wrote: > Can sage be used offline? It doesn't seem to work if I am not > connected to the Internet. I've had the same problem, when i went offline the network was shut down, but the Sage-Notebook needs a network. I don't know about a solution, but could you ple

[sage-support] offline sage

2009-01-20 Thread John Mangual
Can sage be used offline? It doesn't seem to work if I am not connected to the Internet. --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.c

[sage-support] Re: unstable modules + creating a small library

2009-01-20 Thread Pierre
thanks for your advice. I'll try to write a new class, but i won't try to merge it into SAGE ! i'll just try to use reasonable names for the methods, so that my examples remain compatible with whatever improvement gets written for SAGE one day... for the "database" i'll use a dict indexed by the "

[sage-support] Re: sage simplification

2009-01-20 Thread Jason Grout
Tim Lahey wrote: > However, in my version of Sage (3.2), the functions simplify_full() > and simplify_trig() only seem to be defined on objects not as > general functions. Unless I'm missing something. I noticed that too. Does anyone object to making at least simplify_full a top-level function

[sage-support] Re: sage simplification

2009-01-20 Thread Jason Grout
Mike Hansen wrote: > Hi Ben, > > On Tue, Jan 20, 2009 at 1:46 AM, ben wrote: >> Are there any functions that are able to do further simplification? > > You're probably looking for trig_simplify(): > > sage: a = cos(x)^2 + sin(x)^2 > sage: a.trig_simplify() > 1 And two other ways to access eq

[sage-support] Re: sage simplification

2009-01-20 Thread Tim Lahey
On Jan 20, 2009, at 4:46 AM, ben wrote: > > Hi, > I tried this: > > sage: simplify(sin(x)^2+cos(x)^2) > sin(x)^2+cos(x)^2 > Are there any functions that are able to do further simplification? > There are a couple of options if you do it this way: f = sin(x)^2 + cos(x)^2 f.simplify_trig() or

[sage-support] Re: sage simplification

2009-01-20 Thread Mike Hansen
Hi Ben, On Tue, Jan 20, 2009 at 1:46 AM, ben wrote: > Are there any functions that are able to do further simplification? You're probably looking for trig_simplify(): sage: a = cos(x)^2 + sin(x)^2 sage: a.trig_simplify() 1 --Mike --~--~-~--~~~---~--~~ To post

[sage-support] sage simplification

2009-01-20 Thread ben
Hi, I tried this: sage: simplify(sin(x)^2+cos(x)^2) sin(x)^2+cos(x)^2 Are there any functions that are able to do further simplification? Thanks, Ben --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from thi