[sage-support] roots over QQbar for polynomial over number field

2015-02-20 Thread Ben
I feel like I should know the answer to this... I'm trying to get the roots of a polynomial f over an algebraic closure. Over the rationals this is quite easy, you simply call f.roots(QQbar). However, if the polynomial is defined over a number field already, this results in a TypeError: Illegal

[sage-support] colors in 6.5

2015-02-20 Thread Luis Finotti
I've noticed that in 6.5 my terminal colors went back to the default (LightBG), i.e., it seems to ignore the line c.TerminalInteractiveShell.colors = 'Linux' in my $SAGEROOT/ipython-2.3.0/profile_default/ipython_config.py. (Running 6.4.1, still installed, gives me the correct colors.) Does a

[sage-support] Re: first order ODE oddity

2015-02-20 Thread Nils Bruin
On Friday, February 20, 2015 at 9:15:29 AM UTC-8, Ralf Stephan wrote: > > Hello, > I'm puzzled about > > sage: var('a,t') > sage: y = function('y')(t) > sage: desolve(diff(y,t)-(2*t*y-6/t-6/t^3), y).simplify_full() > _C*e^(t^2) - 3*Ei(-t^2)*e^(t^2) + 3*e^(t^2)*gamma(-1, t^2) > > because c*e^(t^2)+3

[sage-support] first order ODE oddity

2015-02-20 Thread Ralf Stephan
Hello, I'm puzzled about sage: var('a,t') sage: y = function('y')(t) sage: desolve(diff(y,t)-(2*t*y-6/t-6/t^3), y).simplify_full() _C*e^(t^2) - 3*Ei(-t^2)*e^(t^2) + 3*e^(t^2)*gamma(-1, t^2) because c*e^(t^2)+3/t^2 is (also?) a solution to this ODE according to Wolfram. So, is the second solution

[sage-support] Re: Manually Moving Worksheets

2015-02-20 Thread Luis Finotti
Thanks Andrey and kcrisman for the replies! On Thursday, February 19, 2015 at 4:05:25 PM UTC-5, Andrey Novoseltsev wrote: > > On Thursday, 19 February 2015 12:17:24 UTC-7, kcrisman wrote: >> >> >>> f.write(old_heading + g.read()) >>> exceptions.UnicodeDecodeError: 'ascii' code