From: Peter Laurens Date: 2007-10-23T02:35:13+09:00 Subject: Re: Nth Root in Ruby Alex LeDonne wrote: > On 10/22/07, Peter Laurens wrote: >> >> - N > > Try raising to the power of the reciprocal: > > irb(main):001:0> # calculate a third root > irb(main):002:0> 10.0 ** (1.0/3.0) > => 2.15443469003188 > > -A Of course - thanks. -- Posted via http://www.ruby-forum.com/.