What's the answer?

Started by Newportnobby, August 01, 2019, 02:08:01 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Newportnobby

This seems to be doing the rounds at the moment. There are 2 correct answers depending on your method.

8 ÷ 2(2 + 2) = ?

ntpntpntp

#1
Answer = 1,  but it depends on whether you were taught to apply operator priority (BODMAS or similar acronym).   There are always loads of these questions going round the internet.    The world needs to be consistent!
Nick.   2021 celebrating the 25th anniversary of "Königshafen" exhibition layout!
https://www.ngaugeforum.co.uk/SMFN/index.php?topic=50050.0

themadhippy

QuoteAnswer = 1,
thats the old answer ,the modern day answer is 16, so  to be safe my answer is  7.5
freedom of speech is but a  fallacy.it dosnt exist here


chrism

It must be 42 - since that's the answer to life, the universe and everything  :D

ntpntpntp

#5
Quote from: Newportnobby on August 01, 2019, 02:19:19 PM
From what I was taught in skool my answer was 1

Yes indeed.   Trouble is people use calculators these days which take in and evaluate the expression in a linear fashion, unless you use a posh scientific calculator which accepts the entire expression before parsing and evaluating it.

To avoid ambiguity the expression really requires additional parentheses (and ideally additional operators) to clarify the required operator priority instead of relying on conventions

8 / (2 x (2 + 2 )) = 1
(8 / 2) x (2 + 2) = 16

Crazy, isn't it?!  When I'm writing software to a specification I do sometimes have to insist the writer of the spec clarifies their formula/expressions to avoid such ambiguity.
Nick.   2021 celebrating the 25th anniversary of "Königshafen" exhibition layout!
https://www.ngaugeforum.co.uk/SMFN/index.php?topic=50050.0

PaulCheffus

Quote from: Newportnobby on August 01, 2019, 02:08:01 PM
This seems to be doing the rounds at the moment. There are 2 correct answers depending on your method.

8 ÷ 2(2 + 2) = ?


Hi

I get 16 using BODMAS

Expression in brackets first
2 + 2 = 4
Division next as it is the next operation in left to right order
8 / 2 = 4
Leaving
4 * 4 = 16

It would only be 1 if the formula was written 8/(2(2+2)

Cheers

Paul
Procrastination - The Thief of Time.

Workbench thread
https://www.ngaugeforum.co.uk/SMFN/index.php?topic=54708.msg724969#msg724969

njee20

I was also taught BODMAS in school (in the early 2000s), so to apply that literally (ie division before multiplication) I'd do:

(2 + 2 ) then (8/2), and multiply = 16

Americans seem to be taught PEMDAS (parenthesis, exponents, multiplication, division, addition, subtraction), which clearly reverses multiplication and division anyway, so following that I can see you could do:

2*(2+2), then divide that by 8 = 1

Google reckons 16.

All these things show you is that you need to be clear when writing equations!

Edit: cross posted with Paul, who's saying the same thing!

dannyboy

All you lot that were taught BODMAS and/or PEMDAS must have gone to posh schools - I was taught rithmatic! And anyway, I was wondering why there wasn't an operator before the first bracket!
David.
I used to be indecisive - now I'm not - I don't think.
If a friend seems distant, catch up with them.

njee20

Doesn't need to be, it's implicit that that means multiply.

emjaybee

Quote from: dannyboy on August 01, 2019, 03:45:36 PM
All you lot that were taught BODMAS and/or PEMDAS must have gone to posh schools - I was taught rithmatic! And anyway, I was wondering why there wasn't an operator before the first bracket!

This doesn't happen often, but I agree with you. They ought to learn how to write equations correctly.
Brookline build thread:

https://www.ngaugeforum.co.uk/SMFN/index.php?topic=50207.msg652736#msg652736

Sometimes you bite the dog...

...sometimes the dog bites you!

----------------------------------------------------------

I can explain it to you...

...but I can't understand it for you.

dannyboy

See, I said some of you must have gone to posh schools.  ;). Who decided that if there is no operator, you should insert a multiplication sign! Nobody told me that.  :)
David.
I used to be indecisive - now I'm not - I don't think.
If a friend seems distant, catch up with them.

themadhippy

posh skool ? the only bits of mafs i  remember  woz          B4I√u ru/16 and 2 (4/3 pi R^3)
freedom of speech is but a  fallacy.it dosnt exist here

Mr Sprue

Noooo it means you have an 8' layout ÷ 2 up 2 down track = 8 loco's running simultaneously!  :)


Bob Tidbury

#14
Know wonder the country is in such a mess with finances if you can get two or three different answers to the same mathimatical question .
I give up on on this posh stuff like BODMAS etc etc .Know wonder those that went to posh schools usualy end with posh jobs it's because they can fiddle the books by useing all these different methods .

Bob Tidbury

Please Support Us!
June Goal: £100.00
Due Date: Jun 30
Total Receipts: £80.67
Below Goal: £19.33
Site Currency: GBP
81% 
June Donations