Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
ACC
 
Posts: n/a
Default We have SQRT. But what is the function for other roots - cubed ro.

I am looking for a function that is the reverse of POWER - in that I can
calculate the root of a number, but specify the root - cube, 4th, 5th etc.
We have a SQRT function, but I don't see anything boynd that.
  #2   Report Post  
Jason Morin
 
Posts: n/a
Default

You have to construct it as such:

=value^(1/n)

where n = root. For example, to get the cube root of A1,
use:

=A1^(1/3)

HTH
Jason
Atlanta, GA

-----Original Message-----
I am looking for a function that is the reverse of

POWER - in that I can
calculate the root of a number, but specify the root -

cube, 4th, 5th etc.
We have a SQRT function, but I don't see anything boynd

that.
.

  #3   Report Post  
IlanR
 
Posts: n/a
Default

Try =Your number^(1/n), n being your root
Ilan

  #4   Report Post  
Myrna Larson
 
Posts: n/a
Default

In addition to the formulas given by others, you can also use POWER here. The
2nd argument to POWER does not need to be a positive integer. For the 5th root

=POWER(A1,1/5)


On Wed, 2 Mar 2005 09:17:08 -0800, ACC wrote:

I am looking for a function that is the reverse of POWER - in that I can
calculate the root of a number, but specify the root - cube, 4th, 5th etc.
We have a SQRT function, but I don't see anything boynd that.


  #5   Report Post  
Harlan Grove
 
Posts: n/a
Default

Myrna Larson wrote...
In addition to the formulas given by others, you can also use POWER

here. The
2nd argument to POWER does not need to be a positive integer. For the

5th root

=POWER(A1,1/5)

....

Are there any cases in which POWER(x,y) gives a different answer than
X^(y) other than perhaps error values when both would return errors?

POWER is in the same class as CONCATENATE: both are pointless since
there's an operator that does the same thing using fewer characters and
no function calls, which can become an issue in nested expressions.



  #6   Report Post  
Dana DeLouis
 
Posts: n/a
Default

For me, sometimes the Power function can make it a little easier to read.
ie.
=-(16)^(1/4)
returns #NUM!
which we all know to be a "issue" with Excel. (we don't want to go there
again :) )

but =-POWER(16,1/4)
returns -2 as one would expect.
Just my opinion.

--
Dana DeLouis
Win XP & Office 2003


"Harlan Grove" wrote in message
oups.com...
Myrna Larson wrote...
In addition to the formulas given by others, you can also use POWER

here. The
2nd argument to POWER does not need to be a positive integer. For the

5th root

=POWER(A1,1/5)

...

Are there any cases in which POWER(x,y) gives a different answer than
X^(y) other than perhaps error values when both would return errors?

POWER is in the same class as CONCATENATE: both are pointless since
there's an operator that does the same thing using fewer characters and
no function calls, which can become an issue in nested expressions.



  #7   Report Post  
Harlan Grove
 
Posts: n/a
Default

Dana DeLouis wrote...
For me, sometimes the Power function can make it a little easier to

read.
ie.
=-(16)^(1/4)
returns #NUM!
which we all know to be a "issue" with Excel. (we don't want to go

there
again :) )


Well, 'we' may not if it's a rhetorical ploy in 'our' favor.

but =-POWER(16,1/4)
returns -2 as one would expect.
Just my opinion.


However, the equivalent POWER call would be

POWER(-(16),1/4)

which would return the same #NUM! error. The equivalent operator call
for your POWER call would be

-(16^(1/4))

which returns -2. If you mean POWER eliminates some ambiguity and/or
unexpected functionality from the ^ operator due to Excel's unusual
operator precedence, then fine, but IMO it'd be more useful to learn
that

-(16)^(1/4)

is a mistake in waiting [and only FORTRAN, AFAIK, distinguishes X from
(X) when X is a single variable token or a numeric constant, and then
only in function calls] which should be rewritten as

-(16^(1/4))

That is, the whole point to using the extra set of parentheses is to
overcome Excel's unhelpful operator precedence. It should be obvious
that wrapping 16 in parentheses does nothing useful.

  #8   Report Post  
Harlan Grove
 
Posts: n/a
Default

ACC wrote...
....
We have a SQRT function, but I don't see anything boynd that.


Tangential!

SQRT is a hold-over from the bad old days when floating point math was
done is software rather than in dedicated hardware. Prior to 1990 or so
most computers didn't have floating point units/numeric data
processors/math coprocessors, so math libraries included detailed
functions to calculate logarithms and antilogarithms in order to
calculate arbitrary powers. SQRT was so frequently used in physical and
statistical algorithms that it was expedient to make it a separate
function using an algorithm specific to square roots, and therefore
much more efficient in software than the general approach.

These days when almost all computers have IEEE hardware floating point
units, there's nothing gained by having the SQRT function because
SQRT(x) and x^0.5 will make the same call to the FPU and receive the
same result from it. In fact, the SQRT call would require setting up a
call stack unless the compiler were optimized to convert SQRT(x) into
inline ((x)^0.5).

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM
Trim function doesn't clean out ASCII Code 160 (Space) Ronald Dodge Excel Worksheet Functions 6 January 27th 05 03:48 AM
Formula to list unique values JaneC Excel Worksheet Functions 4 December 10th 04 12:25 AM
I cant use englisch function names in a swedich version of excel PE Excel Discussion (Misc queries) 2 December 7th 04 01:00 AM
Find a Function to use accross different worksheets R. Hale Excel Worksheet Functions 3 November 25th 04 07:07 AM


All times are GMT +1. The time now is 06:31 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"