[sage-support] Re: Root simplifying

2009-08-27 Thread Jason Grout
Simon King wrote: > Hi! > > On Aug 26, 11:43 pm, William Stein wrote: > [...] >> Try >> >> sage -i fricas-1.0.3.p0 > > This is from the command line. > In an interactive sage session, you can also do > sage: install_package('fricas') > Note that you don't need to provide the version number in

[sage-support] Re: Root simplifying

2009-08-26 Thread Minh Nguyen
Hi Martin, On Thu, Aug 27, 2009 at 4:31 PM, Martin Rubey wrote: > Isn't sage meanwhile providing ecl? Yes, at least in Sage 4.1.1. Under Ubuntu 9.04, if you install Sage with sudo apt-get install sagemath then you would get Sage 3.0.5 which still uses Clisp. Hence my suggestion to install C

[sage-support] Re: Root simplifying

2009-08-26 Thread William Stein
On Wed, Aug 26, 2009 at 11:31 PM, Martin Rubey wrote: > > Minh Nguyen writes: > >>> I'm using Ubuntu 9.04. >> >> Before installing FriCAS, make sure you first install Clisp: >> >> sudo apt-get install clisp > > Isn't sage meanwhile providing ecl?  That should be better than clisp, I > think. Yes

[sage-support] Re: Root simplifying

2009-08-26 Thread Martin Rubey
Minh Nguyen writes: >> I'm using Ubuntu 9.04. > > Before installing FriCAS, make sure you first install Clisp: > > sudo apt-get install clisp Isn't sage meanwhile providing ecl? That should be better than clisp, I think. In any case, sudo sage -i fricas-1.0.3.p0 is probably the best thi

[sage-support] Re: Root simplifying

2009-08-26 Thread Minh Nguyen
Hi, On Thu, Aug 27, 2009 at 7:38 AM, Jaakko wrote: > How do I install FriCAS? I installed sage by typing > sudo apt-get install sagemath but > sudo apt-get install fricas outputs > E: Couldn't find package fricas. > I'm using Ubuntu 9.04. Before installing FriCAS, make sure you first install

[sage-support] Re: Root simplifying

2009-08-26 Thread Simon King
Hi! On Aug 26, 11:43 pm, William Stein wrote: [...] > Try > > sage -i fricas-1.0.3.p0 This is from the command line. In an interactive sage session, you can also do sage: install_package('fricas') Note that you don't need to provide the version number in this case, since the lookup "sage -opt

[sage-support] Re: Root simplifying

2009-08-26 Thread William Stein
On Wed, Aug 26, 2009 at 2:38 PM, Jaakko wrote: > >> If you don't have numbers you can do it using FriCAS, which is optional >> in sage: >> >> sage: fricas("ratDenom(1/(1+3^(1/2)+5^(1/4)+7^(1/6)))") >> sage: fricas("ratDenom(1/(1+a^(1/2)+b^(1/3)))") >> >> Martin > > How do I install FriCAS? I insta

[sage-support] Re: Root simplifying

2009-08-26 Thread Jaakko
> If you don't have numbers you can do it using FriCAS, which is optional > in sage: > > sage: fricas("ratDenom(1/(1+3^(1/2)+5^(1/4)+7^(1/6)))") > sage: fricas("ratDenom(1/(1+a^(1/2)+b^(1/3)))") > > Martin How do I install FriCAS? I installed sage by typing sudo apt-get install sagemath but sudo

[sage-support] Re: Root simplifying

2009-08-26 Thread Martin Rubey
William Stein writes: >> expr=1/(1+3^(1/2)+5^(1/4)+7^(1/6)+9^(1/8)) > > Fortunately, the above is much diferent than what Simon King wrote, > since you have numbers instead of a variable x. If you don't have numbers you can do it using FriCAS, which is optional in sage: sage: fricas("ratDenom(

[sage-support] Re: Root simplifying

2009-08-26 Thread William Stein
On Wed, Aug 26, 2009 at 12:33 PM, Jaakko wrote: > > > > On Aug 26, 7:59 pm, Simon King wrote: >> Hi Jaako, >> >> On Aug 26, 5:34 pm, William Stein wrote: >> >> > Please give Sage code that creates such an expression, which anybody >> > reading this can then trivially paste into their Sage sessio

[sage-support] Re: Root simplifying

2009-08-26 Thread Jaakko
On Aug 26, 7:59 pm, Simon King wrote: > Hi Jaako, > > On Aug 26, 5:34 pm, William Stein wrote: > > > Please give Sage code that creates such an expression, which anybody > > reading this can then trivially paste into their Sage session. > > I reckon, in the easiest case Jaako would like to hav

[sage-support] Re: Root simplifying

2009-08-26 Thread Simon King
Hi Jaako, On Aug 26, 5:34 pm, William Stein wrote: > Please give Sage code that creates such an expression, which anybody > reading this can then trivially paste into their Sage session. I reckon, in the easiest case Jaako would like to have: Given 1/(sqrt(x) - 2), return (sqrt(x) + 2)/(x - 4

[sage-support] Re: Root simplifying

2009-08-26 Thread William Stein
On Wed, Aug 26, 2009 at 5:33 AM, Jaakko wrote: > > Is there any function on Sage which can simplify the expression with > sum of nth roots on denominator to the form that there are no roots on > the denominator? Or even general, if the denominator contains various > roots like 4th and 7th root on