Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Excel question

When I calculate -4^-4 in Excel, I get a positive answer. When I
calculate -4^-4 on my hand held Casio Algebra FX 2.0, I get a
negative answer. This is in a home schooling test where the correct
answer is negative..

Calculating 4^-4 results in a positive answer also.

Expanation?

Thanks,

Ed
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,514
Default Excel question

Or did you mean...

=-(4^-4)

--
Garry

Free usenet access at http://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Excel question

wrote in message
...
When I calculate -4^-4 in Excel, I get a positive answer. When I
calculate -4^-4 on my hand held Casio Algebra FX 2.0, I get a
negative answer. This is in a home schooling test where the correct
answer is negative..

Calculating 4^-4 results in a positive answer also.

Expanation?

Thanks,

Ed


Ed,

Here is the explanation.

The correct answer CANNOT be negative. Any number, whether positive or
negative, multiplied by itself an even number of times MUST be positive !

The home schooling exam result IS wrong. The only way it could be negative
would be if it was written as Garry suggested, -(-4^-4).

eg:

4^4 is equivalent to 1 x 4 x 4 x 4 x 4 = 256

4^-4 is equivalent to 1 / 4 x 4 x 4 x 4 = 1/256 = 0.00390625

-4^-4 is equivalent to 1 / -4 x-4 x-4 x -4 = 1/256 = 0.00390625

HTH

On the Casio Algebra FX 2.0, when you press the following buttons in this
exact sequence :
4 +/- x^y 4 +/- =
you receive a negative number ???

If so, get your money back for the Casio Algebra FX 2.0 !!! It's wrong
also.

Cheers,
MB



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 829
Default Excel question

wrote:
When I calculate -4^-4 in Excel, I get a positive answer.
When I calculate -4^-4 on my hand held Casio Algebra
FX 2.0, I get a negative answer. This is in a home schooling
test where the correct answer is negative..

[....]
Expanation?


In mathematics, -4^-4 is written with a superscript -4, so it is evaluated
as -(4^-4). That is how you should write it if you want the result to
conform to standard mathematics notation.

In Excel, -4^-4 is evaluated as (-4)^-4. Note that a negative number raised
to an even power is always positive.

Some people like to say that Excel is "wrong" because it does not conform to
mathematics. But really, they are two difference languages, and they have
different ordering rules, just like natural languages that might use the
same alphabet.

As long as you understand Excel's rules for the order of operations, you can
get away without using parentheses.

But in general, you should parenthesize sub-expression to ensure that they
are evaluated as you intend them to be.

You could write -(4^(-4)). However, I think it is prudent to minimize the
use parentheses in order to improve readability. Since ...^-4 can only be
interpreted one way, you can avoid the extra set of parentheses.

  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 829
Default Excel question

PS.... I wrote:
In mathematics, -4^-4 is written with a superscript -4,
so it is evaluated as -(4^-4).


I forgot to say: obviously the Casio Algebra FX 2.0 has chosen the
mathematical interpretation. (In fact, it might even display the
superscript -4. I don't know.)

There is nothing wrong with the Casio calculator. In fact, many people
insist the opposite: Excel is "wrong". As I mentioned previously: in
fact, neither is wrong.

  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default Excel question

When I calculate -4^-4 in Excel, I get a positive answer.
When I calculate -4^-4 on my hand held Casio Algebra
FX 2.0, I get a negative answer. This is in a home
schooling test where the correct answer is negative..


I think I disagree with the answer being negative. The idea of that
calculation looks, to me, to be to raise "negative four" to the "negative
four" power. To do that on a calculator, you would enter the number 4 first,
then you would press the "plus/minus" key to change its value to "-4" in the
display, then you would press the "raise to a power" key, then you would
press the 4 key followed again by the "plus/minus" key and finish it off
with the Enter key. If you do it that way, I think your calculator will
report a positive answer.

Rick Rothstein (MVP - Excel)

  #9   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 829
Default Excel question

"Rick Rothstein" wrote:
When I calculate -4^-4 on my hand held Casio Algebra
FX 2.0, I get a negative answer. This is in a home
schooling test where the correct answer is negative..


I think I disagree with the answer being negative.

[....]
To do that on a calculator, you would enter the number 4 first, then you
would press the "plus/minus" key to change its value
to "-4" in the display, then [....]


Only because you imposed your own sense of precedence on the operation.

In the language of mathematics, -4^-4 would be interpreted as -(4^-4).
There is no operator called "change sign" in mathematics. Instead, a unary
minus has the lowest precedence (among these operations, anyway) so
that -4^-4 has the same result as 0-4^-4. It is axiomatic that 0+e=e.

(In fact, if you enter =0-4^-4 into Excel, you do indeed get a negative
result.)

I'm not familiar with the Casio Algebra FX 2.0 calculator, but some
"algebraic" calculators actual permit us to enter superscript powers. And
some make a point of allowing the student to enter mathematical formulas
exactly as they appear in textbooks and evaluating according to the commonly
accepted rules of mathematics.

None of this should be misinterpreted that either precedence ordering is
"wrong" or "right". They are both right for their respective languages.

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
Excel 2007 Macro/VB Question DDE Question MadDog22 Excel Worksheet Functions 1 March 10th 10 01:47 AM
The question is an excel question that I need to figure out howto do in excel. Terry Excel Worksheet Functions 3 January 23rd 06 06:22 PM
Good morning or good evening depending upon your location. I want to ask you the most important question of your life. Your joy or sorrow for all eternity depends upon your answer. The question is: Are you saved? It is not a question of how good davegb Excel Programming 1 May 6th 05 06:35 PM
Good morning or good evening depending upon your location. I want to ask you the most important question of your life. Your joy or sorrow for all eternity depends upon your answer. The question is: Are you saved? It is not a question of how good you [email protected] Excel Programming 0 April 27th 05 07:46 PM
Good morning or good evening depending upon your location. I want to ask you the most important question of your life. Your joy or sorrow for all eternity depends upon your answer. The question is: Are you saved? It is not a question of how good you [email protected] Excel Programming 0 April 22nd 05 03:30 PM


All times are GMT +1. The time now is 05:24 AM.

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"