[sage-support] Re: sage notebook worksheets lost content

2009-08-23 Thread bsdz
tebook. > > That's a little tedious if you have lots of worksheets lost in this > way - it might be possible to restore all of them with a script, but > I'm not sure exactly how to do that on sagenb.org. > > -Marshall Hampton > > On Aug 18, 9:26 am, bsdz wrote: >

[sage-support] sage notebook worksheets lost content

2009-08-18 Thread bsdz
Hi I just checked back at my workbooks on www.sagenb.org and found most of my workbooks have had their content replaced with a single "e" character. Does anyone know how I can recover my workbooks? Blair --~--~-~--~~~---~--~~ To post to this group, send email to

[sage-support] faster alternative to using maxima's part function

2009-04-20 Thread bsdz
Hi, Is anyone aware of an alternative to maxima's part function. http://maxima.sourceforge.net/docs/manual/en/maxima_6.html#IDX182 It allows one to access any part of an algebraic expression using various indexes. A list of indexes uniquely defines any part of an expression such as a sum part o

[sage-support] Re: Error on sagenb.org on log in.

2009-02-02 Thread bsdz
I had the same problem. A workaround is to click the jsMath button in the bottom right hand corner of your notebook and choose Options, then set "Use native Unicode fonts" radio button. On Feb 2, 1:34 pm, Kevin Loranger wrote: > After I log into SAENB: > It looks like jsMath failed to set up pro

[sage-support] Ring over arbitrary Set

2009-01-22 Thread bsdz
Hi Is it possible to create a Ring over an arbitrary set in Sage? I have a Python class and would like my instances to form a Ring. I read somewhere that the built-in sage.rings.integer.Integer class inherits from the Element class to allow it to form a Ring. Is there a simpler example anywhere?

[sage-support] Re: Convert a SymbolicEquation into a MaximaElement

2008-12-23 Thread bsdz
Yes that works. Thanks! On Dec 23, 3:59 pm, "Mike Hansen" wrote: > Hi Blair, > > On Tue, Dec 23, 2008 at 7:43 AM, bsdz wrote: > > > Hi, > > > Is it possible to convert a SymbolicEquation into a MaximaElement > > easily? The opposite to: - > >

[sage-support] Re: Convert a SymbolicEquation into a MaximaElement

2008-12-23 Thread bsdz
Sorry that does not help. I need a way to cast from a SymbolicEquation type to a MaximaElement type. Please see my post :) On Dec 23, 3:55 pm, "John Cremona" wrote: > 2008/12/23 bsdz : > > > > > Hi, > > > Is it possible to convert a SymbolicEquation into a M

[sage-support] Convert a SymbolicEquation into a MaximaElement

2008-12-23 Thread bsdz
Hi, Is it possible to convert a SymbolicEquation into a MaximaElement easily? The opposite to: - maxima('x^2 + y^2 = 0').sage() Something like this: - x, y = var('x y') b = x^2 + y^2 == 0 b.maxima() I would like to do some manipulations on an equation by breaking it down into terms and parts.

[sage-support] Re: How to replace variables in function?

2008-12-09 Thread bsdz
I think the Type Error is coming from your use of the round function. If I run: - H, p, Pole1, Pole2, Pole3, Ts, z, f = var("H p Pole1 Pole2 Pole3 Ts z f") p = (2/Ts)*(z-1)/(z+1) z = exp(I*2*pi*Ts*f) r=2*2*pi Pole1=r*exp(I*2*pi/3) Pole2=-r Pole3=r*exp(-I*2*pi/3) Ts=0.1 H = lambda p: (p^3)/((p-P

[sage-support] Change of variable in Differential Equation

2008-12-08 Thread bsdz
Hi I was wondering if it is possible in Sage (perhaps even Maxima) to change the variable in an ODE or PDE algebraically. I have set up a simple PDE with the following: - x, t, k_1, k_2 = var("x t k_1 k_2") y = function('y', x, t) PDE = lambda f : k_1 * x^2 * diff(f,x,2) + diff(f,t) + k_2*(x*dif

[sage-support] Re: How to replace variables in function?

2008-12-08 Thread bsdz
(Sorry if this reply appears twice - 1st one disappeared?) This worked for me: - H, p, Pole1, Pole2, Pole3, Ts, z, f = var("H p Pole1 Pole2 Pole3 Ts z f") p = (2/Ts)*(z-1)/(z+1) z = exp(I*2*pi*Ts*f) H = (p^3)/((p-Pole1)*(p-Pole2)*(p-Pole3)) show(H) The only difference is that I have declared th