[sage-support] Help with some calculus

2009-11-04 Thread Paul Sargent
Hi, My calculus is a bit rusty, and I'm trying to do the following. sage: x,a = var("x a") sage: sinc(x) = sin(pi*x)/(pi*x) sage: L = sinc(x)*sinc(x/3) sage: L 3*sin(1/3*pi*x)*sin(pi*x)/(pi^2*x^2) sage: L.integrate(x) 3*integrate(sin(1/3*pi*x)*sin(pi*x)/x^2, x)/pi^2 ...which doesn't help me m

[sage-support] Tachyon still working?

2009-07-16 Thread Paul Sargent
Hi all, I've just tried to re-run an old worksheet that uses Tachyon to raytrace an image. I believe it worked a few versions ago, but on version 4.1 under Mac OS X (64 bit intel) I no longer get any output. No error. No image. Is anybody else having this? t6 = Tachyon(camera_center=(0,-4

[sage-support] Re: Is it possible to replace the list built-in type in Sage?

2009-07-14 Thread Paul Sargent
On 13 Jul 2009, at 17:13, Robert Bradshaw wrote: > In general, we try to avoid modifying the preparser as much as > possible. Sometimes, we really have to > > sage: eval("1/2 + 3^2") > 1 > > is really not acceptable (IMHO) for a serious alternative to other > systems out there I know what you'r

[sage-support] Re: Install problem for Sage

2009-06-21 Thread Paul Sargent
On 21 Jun 2009, at 16:21, lim wrote: > When I try to drag the "sage" folder from /Applications to Terminal, > the following message appears: Why would you do that? (dragging from Applications to Terminal). You sound rather confused. I'll try to write out the steps as simply as I can. If this

[sage-support] Re: Install problem for Sage

2009-06-21 Thread Paul Sargent
On 21 Jun 2009, at 14:00, William Stein wrote: > > 2009/6/21 lim : >> >> Hi >> >> I encountered the IO Error: [Errno 30] (last line of the the >> below >> quoted message) while installing Sage. Can anyone out there please >> help? > >> IOError: [Errno 30] Read-only file system: '/Volumes/sa

[sage-support] Formatting of subscripts

2009-06-14 Thread Paul Sargent
I've made a little worksheet that demonstrates something I've noticed. It seems like sage is very confused as to it's formatting of subscripts that have more than one character. http://www.sagenb.org/home/pub/573/ Can somebody state, should I be using the form 'Z_ij' or 'Z_{ij}' in my variable d

[sage-support] Re: Error installing linbox

2009-06-05 Thread Paul Sargent
On Friday, June 5, 2009, ccandide wrote: > !! I installed Ubuntu with no swap space You always want some swap with linux, whatever you're doing. My rule of thumb is to allocate a swap partition twice the size of your ram. Granted I started with that rule back when my machine had 8MB of ram, but

[sage-support] Re: Typesetting issue

2009-06-04 Thread Paul Sargent
On 4 Jun 2009, at 21:10, Burcin Erocal wrote: > Below you also mention that typesetting of derivatives is also broken, > some examples of that would also be helpful. f = function("f",x) e1 = f == x^2 show(e1) show(integral(e1, x)) show(diff(e1,x)) Derivatives now seem to use a D[0](f)(x) = 2x

[sage-support] Re: substitution of lambda variable

2009-05-28 Thread Paul Sargent
On 28 May 2009, at 16:49, Mike Hansen wrote: > sage: sage: e1.subs({l:3}) > theta == 9 Yes I'd found the dictionary form in the docstring, but didn't know that it took the python variable rather than the symbol name (if you see what I mean), and so was still having the same problem. The doc

[sage-support] substitution of lambda variable

2009-05-28 Thread Paul Sargent
Hi, I have some equations that use the Greek letter lambda in them, but I'm having problems because lambda is a keyword in python, and at some points the two collide. For example: sage: l = var("lambda") sage: t = var("theta") sage: e1 = t == l^2 sage: e2 = e1.solve(l) sage: e1 theta == lambda^2

[sage-support] Re: Running sage from another computer on the network

2009-05-17 Thread Paul Sargent
On 17 May 2009, at 21:24, paul wrote: > Anyway I tried running it on a newer laptop on my network, and it did > indeed start a sage server. When I start firefox on this computer and > go to the suggested address (192.168.175.128) the sage server starts > up and I can execute sage commands. (Yay!

[sage-support] Re: Downloading binaries or source to completion

2009-05-16 Thread Paul Sargent
Adding a -c flag to wget will make it continue an aborted download if the server will let it. It'll probably still fail but at least you can recover. On 17 May 2009, at 01:04, kilucas wrote: > > It took me 6 attempts to retrieve the latest Windows binary from > across a number of mirrors

[sage-support] Re: Substitution with symbolic equations

2009-05-15 Thread Paul Sargent
On 15 May 2009, at 16:33, Mike Hansen wrote: > > In Sage 4.0 which will be released within the week, you'll be able to > do the following: > > sage: var("a b c d e") > (a, b, c, d, e) > sage: e1 = a == b + c > sage: e2 = d == e * a > sage: e3 = e2.subs(e1); e3 > d == (b + c)*e Well, that's what

[sage-support] Substitution with symbolic equations

2009-05-15 Thread Paul Sargent
Hi, I keep running into a road block which I think means either I'm missing something simple, or I'm thinking about things the wrong way. I'm fairly new to sage, and CAS in general, so either is possible. Here's a simple example of what I'm doing. Lets give ourselves two symbolic equations: sa