What is the answer to this

?

  • A.) 1

    Votes: 14 25.0%
  • B.) 41

    Votes: 40 71.4%
  • C.) 81

    Votes: 2 3.6%

  • Total voters
    56

Audemar

Superstar
Joined
Jul 21, 2014
Messages
5,046
Reputation
1,999
Daps
27,586
Saying there are none makes no sense. Whatever lengthy equation you input WILL be broken down through the use of these.
And yes, you'll get different answers on how your solve it. Jotting it down on a basic calculator will be different from using a site that solves long equations.

Python Operators: Order & Precedence - Python - The Hello World Program

If you input 1+2*3, you get 7 when you probably expected 9.
That's because whatever you used probably prioritizes multiplications over additions, thus breaking up like 1+(2*3).
For someone who loves citing programming websites, you clearly lack programming knowledge; it doesn't matter what you use to give you an answer, the result will always be 41. But, you got it, breh, keep adding brackets/parentheses whenever you feel like it, just know that when programs do it, the coders know what they're doing. Also, stop calling expressions equations. There are no variables. :francis:
 

GodinDaFlesh

Banned
Supporter
Joined
Feb 4, 2015
Messages
12,847
Reputation
1,319
Daps
69,310
Reppin
The Godverse
Some countries, read from right to left. People also have different preferences so it's better to have a standard. It's akin to naming chemical compounds. There may be several ways to name a particular compound and people would just choose whichever one they feel so a standard is needed. Without a standard, it would cause too much confusion/error, as can be seen in this thread. Example: I calculated $81. :dahell:You still owe me 40. :dwillhuh:I calculated $41. :youngsabo:

Yeah I understand the reasoning for it, it just seems we could have chosen a simpler method. Going "left to right" seems much simpler than remembering PEMDAS. My favorite mnemonic device is KISS, keep it simple stupid. :manny:
 

Zardoz

mmmmmmmmmmlli
Joined
Feb 25, 2014
Messages
1,456
Reputation
355
Daps
4,969
For someone who loves citing programming websites, you clearly lack programming knowledge; it doesn't matter what you use to give you an answer, the result will always be 41. But, you got it, breh, keep adding brackets/parentheses whenever you feel like it, just know that when programs do it, the coders know what they're doing. Also, stop calling expressions equations. There are no variables. :francis:

Yes, it's 41 and I've been using Worlfram Alpha and Python as examples/proofs (not my fault you didn't actually read my posts). All I'm arguing about is that, yes it can be interpreted differently like if you put this down on a classic calculator.

But I see that you're just angry that I said TheBeigeBomber's answer is correct "in a way". Of course you shouldn't be putting brackets all over the place, but that doesn't mean placing them in the middle doesn't make it an interpretation like any other.

There fact that there are alternatives to PEMDAS proves exactly this.
 
Last edited:

itsyoung!!

Veteran
Bushed
Joined
May 1, 2012
Messages
38,914
Reputation
6,550
Daps
110,443
Reppin
Bay Area
Brackets are not only an operation, but it's also the first in that order.



If only that were true.

Your way only works if you used a classic calculator and jotted in each number and operation bit-by-bit. Putting everything in one go however will automatically include brackets if you haven't done so yourself.
Math was around long before calculators.
 

Audemar

Superstar
Joined
Jul 21, 2014
Messages
5,046
Reputation
1,999
Daps
27,586
But I see that you're just angry that I said TheBeigeBomber's answer is correct "in a way
That's only right depending on the addition of parentheses. The given version has none so why are we even talking about them? Anyway, the point is @TheBeigeBomber just added parentheses wherever and you CAN'T do that, especially in programming languages and in the real world as it changes the entire expression. There's no room to "interpret it" differently so you get a wrong answer; this isn't English.
 

TheBeigeBomber

#Fukkery
Joined
Nov 17, 2014
Messages
9,676
Reputation
400
Daps
20,581
That's only right depending on the addition of parentheses. The given version has none so why are we even talking about them? Anyway, the point is @TheBeigeBomber just added parentheses wherever and you CAN'T do that, especially in programming languages and in the real world as it changes the entire expression. There's no room to "interpret it" differently so you get a wrong answer; this isn't English.

the answer is 1 then. if we are going by how the question is formatted in the op. its 1. every time.
 

Audemar

Superstar
Joined
Jul 21, 2014
Messages
5,046
Reputation
1,999
Daps
27,586
the answer is 1 then. if we are going by how the question is formatted in the op. its 1. every time.
Shock%20and%20Awe.jpg

I hope, for your sake anyway, that you're indeed trolling.
 
Top