Two Plus Two Older Archives  

Go Back   Two Plus Two Older Archives > Other Topics > Science, Math, and Philosophy
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-03-2005, 10:18 AM
punter11235 punter11235 is offline
Senior Member
 
Join Date: Mar 2005
Location: Poland
Posts: 198
Default Re: Simple math/syntax problem

[ QUOTE ]
-5^2 = -5 * 5 = -25.

This is the correct order of operations.

[/ QUOTE ]

[img]/images/graemlins/confused.gif[/img]

-5^2 is either -(5^2) or (-5)^2
depending on priorities of "-" where "-" is symbol which change expression's sign not substracting.
Reply With Quote
  #2  
Old 12-03-2005, 03:22 PM
jason_t jason_t is offline
Senior Member
 
Join Date: Nov 2004
Location: Another downswing?
Posts: 2,274
Default Re: Simple math/syntax problem

[ QUOTE ]
[ QUOTE ]
-5^2 = -5 * 5 = -25.

This is the correct order of operations.

[/ QUOTE ]

[img]/images/graemlins/confused.gif[/img]

-5^2 is either -(5^2) or (-5)^2
depending on priorities of "-" where "-" is symbol which change expression's sign not substracting.

[/ QUOTE ]

Yes I should have used a set of parentheses. By what I typed I meant -(5 * 5).
Reply With Quote
  #3  
Old 12-02-2005, 10:37 PM
imported_luckyme imported_luckyme is offline
Junior Member
 
Join Date: Apr 2005
Posts: 1
Default Re: Simple math/syntax problem

0 - 5^2 = Y
0 = Y + 5^2
-Y = 5^2
-Y = 25
Y = -25

how badly did I screw up?
Reply With Quote
  #4  
Old 12-03-2005, 10:16 AM
punter11235 punter11235 is offline
Senior Member
 
Join Date: Mar 2005
Location: Poland
Posts: 198
Default Re: Simple math/syntax problem

[ QUOTE ]
how badly did I screw up?

[/ QUOTE ]

Dont forget that "-5" is not the same as "0 - 5". First minus is a symbol which change expression's sign and second minus is a symbol for operation of substracting. These two can have diffrent priorities.
Reply With Quote
  #5  
Old 12-03-2005, 12:53 AM
AlphaWice AlphaWice is offline
Member
 
Join Date: Feb 2005
Posts: 90
Default Re: Simple math/syntax problem

BEDMAS .. look it up on google.

I wonder : if people cannot sort out simple math disputes on SMP, how will they be able to sort out complicated disputes about God?
Reply With Quote
  #6  
Old 12-03-2005, 06:56 AM
maurile maurile is offline
Member
 
Join Date: Mar 2003
Posts: 95
Default Re: Simple math/syntax problem

Well, you guys are no fun.

Even though Google and Excel return an answer of 25, that's contrary to standard convention.

By convention, exponentiation has priority over multiplication, and the unary minus is considered to be a multiplicative operator (converting the operand to its opposite by multiplying by negative one).

Many people read -5^2 as taking negative five and squaring it. But in fact there is no negative five in that expression. The thing that's negative is five squared, not five. The squaring comes first, then the negativing. (Yes, I am making up words.)

It's funny how adamant some people are, however, that -5^2 - 25, and that there's no other legitimate way of doing it.
Reply With Quote
  #7  
Old 12-03-2005, 04:50 PM
man man is offline
Junior Member
 
Join Date: Dec 2004
Posts: 26
Default Re: Simple math/syntax problem

[ QUOTE ]
Even though Google and Excel return an answer of 25, that's contrary to standard convention.

[/ QUOTE ]
it might be because most users of Excel aren't careful enough, so the programmers made it this way.

but what about -6^2?
Reply With Quote
  #8  
Old 12-03-2005, 06:59 AM
maurile maurile is offline
Member
 
Join Date: Mar 2003
Posts: 95
Default Re: Simple math/syntax problem

Here is the thread on the other forum: link.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:59 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.