Post Reply 
negative number raised to even power
04-26-2015, 10:04 AM
Post: #11
RE: negative number raised to even power
Using the 50g EQW I entered the sequence:
2
+/-
Y^x
2
Then pressed EVAL and indeed got -4
BUT... the 50g has a selection cursor, i.e. this reverse video marker that tells you the scope of the next entered operator. So the right sequence of operation is:
2
+/-
UP (selects 2)
UP (selects -2)
Y^x (adds parenthesis!)
2
which ends up with (-2)^2
Of course EVAL is now correct.

I find it redundant to enter () (I see so many people using parenthesis for multiplication and division which have the same priority, my trend is less parenthesis is better) and would rather recommend to always ensure that the right operator scope is selected.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
negative number raised to even power - DrD - 04-25-2015, 11:24 AM
RE: negative number raised to even power - Tugdual - 04-26-2015 10:04 AM



User(s) browsing this thread: 4 Guest(s)