[sage-support] Re: Fwd: sagemath question re: implicit differentiation

2012-01-23 Thread strangethingintheland
Michael, I appreciate your very thoughtful reply. On Jan 20, 10:45 pm, Michael Orlitzky wrote: > > -- Forwarded message -- > > From: storne...@mathisasport.com > > > That's fine, but now I want to solve for dy/dx, so I try: > > > sage: solve(equation2.diff(),diff(f(x),x,1)) > > /h

[sage-support] Re: Issues with bessel function.

2012-01-23 Thread kcrisman
> > error: > > - > > *** SyntaxError: can't assign to function call (, line 1) > > > the code I used was: > > - > > r,p,z,g,k,ro,gro = var('r,p,z,g,k,ro,gro') > > g = 1; k = 1; ro = 1; gro = 1 > > Psi(r,z) = lambda r,z: ((r*bessel_J(1, g*r))/ > > (ro*bessel_J(1,gro)))*(cos(k*z)) > > > The

[sage-support] issue with sage -t (sage 4.8)

2012-01-23 Thread tvn
I have this file 'myclass.py' that contains the following class MyClass(object): @staticmethod def myt(l): """ sage: from myclass import MyClass sage: MyClass.myt([1,2]) [1, 2] """ return l when run sage -t myclass.py , it give