This forum is in archive mode. You will not be able to post new content.

Author Topic: I bet you also thought it was correct  (Read 3477 times)

0 Members and 3 Guests are viewing this topic.

Offline gh0st

  • Sir
  • ***
  • Posts: 575
  • Cookies: 8
  • #DEDSec
    • View Profile
I bet you also thought it was correct
« on: April 15, 2012, 04:04:04 AM »
kk




(-2^2)=4 or -4?




Offline techb

  • Soy Sauce Feeler
  • Global Moderator
  • King
  • *
  • Posts: 2350
  • Cookies: 345
  • Aliens do in fact wear hats.
    • View Profile
    • github
Re: I bet you also thought it was correct
« Reply #1 on: April 15, 2012, 04:33:34 AM »
-4 in the people world. And ¦-5¦ in the realm of or imaginations. Numbers are brought on by man to understand the outside world. They can be anything we want, all arbitrary.
>>>import this
-----------------------------

Offline Kulverstukas

  • Administrator
  • Zeus
  • *
  • Posts: 6627
  • Cookies: 542
  • Fascist dictator
    • View Profile
    • My blog
Re: I bet you also thought it was correct
« Reply #2 on: April 15, 2012, 08:46:04 AM »
I don't get it?

Offline Axon

  • VIP
  • King
  • *
  • Posts: 2047
  • Cookies: 319
    • View Profile
Re: I bet you also thought it was correct
« Reply #3 on: April 15, 2012, 12:06:54 PM »
it's 4

Offline Infinityexists

  • Peasant
  • *
  • Posts: 74
  • Cookies: 1
    • View Profile
Re: I bet you also thought it was correct
« Reply #4 on: April 15, 2012, 12:27:40 PM »
kk




(-2^2)=4 or -4?


it is definitely -4
Reason , since the power is not outside the bracket the negative sign is not squared therefore the answer is -4.
if it was like this, (-2)^2 then the answer would have 4

Offline pl0tuS

  • Knight
  • **
  • Posts: 320
  • Cookies: 22
    • View Profile
Re: I bet you also thought it was correct
« Reply #5 on: April 15, 2012, 12:44:43 PM »

it is definitely -4
Reason , since the power is not outside the bracket the negative sign is not squared therefore the answer is -4.
if it was like this, (-2)^2 then the answer would have 4

This is right.
« Last Edit: April 15, 2012, 12:45:01 PM by pl0tuS »


--Approved future mod :D --Factionwars

Offline gh0st

  • Sir
  • ***
  • Posts: 575
  • Cookies: 8
  • #DEDSec
    • View Profile
Re: I bet you also thought it was correct
« Reply #6 on: April 15, 2012, 07:04:42 PM »
I don't get it?

what is the resolve of (-4^2)

square of -4

what do you think is the answer -4 or 4?

Offline Deque

  • P.I.N.N.
  • Global Moderator
  • Overlord
  • *
  • Posts: 1203
  • Cookies: 518
  • Programmer, Malware Analyst
    • View Profile
Re: I bet you also thought it was correct
« Reply #7 on: April 16, 2012, 06:53:32 AM »
I don't get it too. The answer is not difficult and not a matter of opinion unless you take it like techb.

Offline gh0st

  • Sir
  • ***
  • Posts: 575
  • Cookies: 8
  • #DEDSec
    • View Profile
Re: I bet you also thought it was correct
« Reply #8 on: April 16, 2012, 09:19:29 AM »
lol I always tho that (-2^2) was 4 but it is -4 :P just wanted to see if you also tho the same

Offline gh0st

  • Sir
  • ***
  • Posts: 575
  • Cookies: 8
  • #DEDSec
    • View Profile
Re: I bet you also thought it was correct
« Reply #9 on: April 16, 2012, 09:19:45 AM »
what is the resolve of (-2^2)

square of -2

what do you think is the answer -4 or 4?

Offline Axon

  • VIP
  • King
  • *
  • Posts: 2047
  • Cookies: 319
    • View Profile
Re: I bet you also thought it was correct
« Reply #10 on: April 16, 2012, 06:49:05 PM »
lol I always tho that (-2^2) was 4 but it is -4 :P just wanted to see if you also tho the same


Another definition, since A^2 = A*A then (-2^2) is like (-2*-2) = 4 .


« Last Edit: April 16, 2012, 07:55:54 PM by Axon »

Offline ca0s

  • VIP
  • Sir
  • *
  • Posts: 432
  • Cookies: 53
    • View Profile
    • ka0labs #
Re: I bet you also thought it was correct
« Reply #11 on: April 16, 2012, 07:33:08 PM »
-2^2 is 4. With or without brackets. Negation has preference over exponential. If it was -(2^2) it would be -4. That's all, and I am kinda surprised.
Derp. See Deque's next post.
« Last Edit: April 17, 2012, 12:50:21 PM by ca0s »

Offline Deque

  • P.I.N.N.
  • Global Moderator
  • Overlord
  • *
  • Posts: 1203
  • Cookies: 518
  • Programmer, Malware Analyst
    • View Profile
Re: I bet you also thought it was correct
« Reply #12 on: April 16, 2012, 07:54:23 PM »
-2^2 is 4. With or without brackets. Negation has preference over exponential. If it was -(2^2) it would be -4. That's all, and I am kinda surprised.

Your order of precedence is not the one used in mathematics. Some programming languages and programs may have an unary minus that has a higher precedence than exponentiation, but that is not something a mathematician would do.

Wikipedia: https://en.wikipedia.org/wiki/Order_of_operations#cite_note-2
Quote
The order of operations, or precedence, used throughout mathematics, science, technology and many computer programming languages is expressed here:[2]
terms inside parentheses or brackets
exponents and roots
multiplication and division
addition and subtraction

Quote
In written or printed mathematics, the expression −32 is interpreted to mean −(32) = −9

Wolfram Alpha:
http://www.wolframalpha.com/input/?i=-2^2

@gh0st: Now I understand that there is indeed a misconception about this.

Edit: Link added.
« Last Edit: April 16, 2012, 08:01:40 PM by Deque »

Offline Axon

  • VIP
  • King
  • *
  • Posts: 2047
  • Cookies: 319
    • View Profile
Re: I bet you also thought it was correct
« Reply #13 on: April 16, 2012, 07:57:07 PM »

@gh0st: Now I understand that there is indeed a misconception about this.


and the right answer would be ....

Offline Deque

  • P.I.N.N.
  • Global Moderator
  • Overlord
  • *
  • Posts: 1203
  • Cookies: 518
  • Programmer, Malware Analyst
    • View Profile
Re: I bet you also thought it was correct
« Reply #14 on: April 16, 2012, 07:59:16 PM »

and the right answer would be ....

My answer to ca0s already implies the correct answer.

 



Want to be here? Contact Ande, Factionwars or Kulverstukas on the forum or at IRC.