----- Original Message ----- 
From: "Dirk Laurie" <[EMAIL PROTECTED]>
> 
> David Joyner skryf:
>> 
>> Timothy Clemans wrote:
>> > Does SAGE support finding the nth root of something?
> > The cube root of 27 is 3, 8 is 2, 64 is 4
>> >   
>> 
>> One way is
>> ZZ(gap.eval("RootInt( 64, 3 )"))
>> 
> Or:
>  (x^n-a).roots()[0][0]

Or 
{{{
sage: exp(log(64)/3)
4.0
}}}

Alec


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to