Forum menu
2+2+2+2+2+2+2+2+2+2...
 

[Closed] 2+2+2+2+2+2+2+2+2+2+2+2+2+2-2+2 x 0?

Posts: 0
Free Member
 

123456787654321

Or is it binary?


 
Posted : 12/10/2011 2:30 pm
Posts: 0
Free Member
 

financial, military and medical embedded software

Hmm - I've done stuff like that - maybe I didn't read the coding standard properly (then again, you're possibly talking about safety critical software, which wasn't the case for most of what I did, and changed the game considerably when it was).


 
Posted : 12/10/2011 2:43 pm
Posts: 0
Free Member
 

111111111x111111111=

12345678987654321


 
Posted : 12/10/2011 2:45 pm
 emsz
Posts: 0
Free Member
 

Elf,

Loling at the school thing. I would have helped GrahamS.


 
Posted : 12/10/2011 2:48 pm
Posts: 0
Free Member
 

Yeah Aracer's right (maybe); I missed off a 1 in each line. Thought it was 8 1's instead of nine. 😳

Bloody tricky to see on the screen tbh.

Calculator gives an error on that sum anyway. Too much for it poor little thing. 🙁

Enough already. Mind-stretching but I've got ADHD. Probbly why I never really enjoyed Maffs much.


 
Posted : 12/10/2011 2:51 pm
Posts: 0
Free Member
 

I would have helped GrahamS.

(Feels spurned. Gets angry, Stabs nerdy maffs kid in eye with biro. Is taken out of lessons and made to see Educational Psychologist. Again)


 
Posted : 12/10/2011 2:53 pm
Posts: 31206
Full Member
Topic starter
 

you're possibly talking about safety critical software

Yep. MISRA standards plus some of our own. Generally very strict.

I would have helped GrahamS.

Yaaay! Can you help me wring my satchel out?

Aaaaaaaaaaaaaaaaaaaaaaargh... my beautiful retina...


 
Posted : 12/10/2011 2:54 pm
Posts: 9
Free Member
 

Elfinsafety - Member

elf's quiet.....
Thankfully

Probably off spoiling someone else's thread, which he didn't understand either.

Diddums. Someone stole your dinner money too?


No i go home for lunch.

Its just getting a bit tedious you jumping in threads that you're clearly not interested in, yet feel you need to disrupt the discussion and make smart ass comments in the direction of those who understand whats being said.
Whilst you do make valid points on other threads, you let yourself down on this thread by trying to be clever and take the micky out of others. Its a form of bullying and isn't wanted or needed here. 🙄


 
Posted : 12/10/2011 2:57 pm
Posts: 31206
Full Member
Topic starter
 

bigyinn for Head Boy 😉


 
Posted : 12/10/2011 2:59 pm
Posts: 9
Free Member
 

Not likely, they caught me with matches last week 😕


 
Posted : 12/10/2011 3:09 pm
Posts: 0
Free Member
 

Yeah Aracer's right

Stored for use later.


 
Posted : 12/10/2011 3:10 pm
Posts: 0
Free Member
 

Its just getting a bit tedious you jumping in threads that you're clearly not interested in, yet feel you need to disrupt the discussion and make smart ass comments in the direction of those who understand whats being said.

Hey dude, lighten up! 😆

(Passes sneaky spliff to BigYinn)

I don't see the OP being particularly upset by my intervention in this thread (apart form the 'jotter' thing...). And I've found it enjoyable [i]and[/i] interesting. 😀

So chill out...

Oh and I even had a go at that other sum even though I din't read it propply. 😳


 
Posted : 12/10/2011 3:13 pm
 dlr
Posts: 701
Free Member
 

Been discussing this with friends in email, apparently im stupid and didnt go to primary school for thinking the answer was 0....

Something interesting or not which may have been mentioned already...if you use windows calc and do say 2+2x2= you will get 8, put it in scientific mode and you get 6 as it assumes the brackets around 2x2 so I would argue that the correct answer to the initial thread question is 0 on the grounds that its been written badly 🙂


 
Posted : 12/10/2011 3:14 pm
Posts: 78497
Full Member
 

Whilst you do make valid points on other threads

[Citation needed]

I would argue

If you'd read the rest of the thread, you perhaps wouldn't. (-:


 
Posted : 12/10/2011 3:18 pm
Posts: 0
Full Member
 

Ermmm I read the first page and have skipped to the end...

Did Dijsktra's shunting yard get a mention?


 
Posted : 12/10/2011 3:19 pm
Posts: 31206
Full Member
Topic starter
 

Did Dijsktra's shunting yard get a mention?

Half of them are struggling with the concept of operator precedence, so I really wouldn't go there 😀


 
Posted : 12/10/2011 3:22 pm
Posts: 3729
Free Member
 

Something interesting or not which may have been mentioned already...if you use windows calc and do say 2+2x2= you will get 8, put it in scientific mode and you get 6 as it assumes the brackets around 2x2 so I would argue that the correct answer to the initial thread question is 0 on the grounds that its been written badly

In scentific mode it doesn't put brackets round the 2x2, the operator logic is such that it performs the multiplication before the addition as it should do. Calculators/computers are only as good as the operator. Just because a calculator spits out an answer doesn't mean that the answer is correct. Total trust in the answers that are returned from computers (without questioning whether it might be the result of an incorrect input or other mistake on the part of the operator) is a worrying trend that I see more and more in my line of work.

The original question is not "written badly" and the answer to that particular sum as it was written is 26.


 
Posted : 12/10/2011 3:22 pm
Posts: 9
Free Member
 

Elfinsafety - Member
(Passes sneaky spliff to BigYinn)

No ta, not on a school day. 😉


 
Posted : 12/10/2011 3:29 pm
Posts: 0
Free Member
 

Goo on; it's History next and a nice spliff always sets you up right for that....


 
Posted : 12/10/2011 3:32 pm
Posts: 9
Free Member
 

Go on then. Green or block?


 
Posted : 12/10/2011 3:58 pm
Posts: 0
Free Member
 

Nice bit of sticky black Leb.

None of that Skunk though; if they bung on disturbing footage from WW2 or something it can get too heavy. 😯


 
Posted : 12/10/2011 4:01 pm
Posts: 0
Full Member
 

[url= http://blackboardsinporn.blogspot.com/ ]Perfect for this thread, probably not worksafe but not as bad as the link suggests :-)[/url]


 
Posted : 12/10/2011 4:01 pm
Posts: 16211
Free Member
 

Total trust in the answers that are returned from computers (without questioning whether it might be the result of an incorrect input or other mistake on the part of the operator) is a worrying trend that I see more and more in my line of work.

I can input the question in exactly the same way on two different machines (one a Casio calculator, the other an Excel spreadsheet) and get two different answers. If the question was not so easy to estimate, you'd need prior knowledge about the way in which the calculator/ spreadsheet operates in order to ensure that the question was entered in accordance with convention.


 
Posted : 12/10/2011 4:44 pm
 emsz
Posts: 0
Free Member
 

Can I have a go on that next, history bores me stupid.


 
Posted : 12/10/2011 4:46 pm
Posts: 31206
Full Member
Topic starter
 

you'd need prior knowledge about the way in which the calculator/ spreadsheet operates in order to ensure that the question was entered in accordance with convention.

yes. That is normal.

Try working out [code]cos 180°[/code] on your calculator.


 
Posted : 12/10/2011 4:47 pm
Posts: 16211
Free Member
 

yes. That is normal.

Yeeesss, but if you recognise that you need to change the input depending on the machine you're using, then you'll recognise that calculating the equation isn't as simple as some are making out. Obviously, this example can be worked out mentally, but what if it couldn't?


 
Posted : 12/10/2011 4:50 pm
Posts: 0
Free Member
 

Here you go then Emsz.

Then it's Art later they keep promising to get someone in to pose for a Life Drawing class but you just know it's going to be some wrinkly old codger not some buffsome young lass. 🙁

You know that Miss B takes us for Home Economics never wears a bra....


 
Posted : 12/10/2011 4:50 pm
Posts: 31206
Full Member
Topic starter
 

Obviously, this example can be worked out mentally, but what if it couldn't?

Then you'd have to know what the rules are that determine the order you work it out in?

Again [code]y = mx+c[/code]

If you don't know the rules then that equation is useless to you.

And Gödel help you if you try to solve quadratic equations:

[img] [/img]


 
Posted : 12/10/2011 4:51 pm
Posts: 1594
Full Member
 

Yeeesss, but if you recognise that you need to change the input depending on the machine you're using, then you'll recognise that calculating the equation isn't as simple as some are making out.

Surely all that proves is that one of the devices used to do the calculation is wrong.

In which case I'd take it back and complain!

😀


 
Posted : 12/10/2011 4:54 pm
Posts: 0
Free Member
 

Then it's Art later they keep promising to get someone in to pose for a Life Drawing class but you just know it's going to be some wrinkly old codger not some buffsome young lass

Though maybe if you let emsz have a bit of a toke she might be suggestible.


 
Posted : 12/10/2011 4:55 pm
Posts: 0
Free Member
 

+1=300


 
Posted : 12/10/2011 4:56 pm
 emsz
Posts: 0
Free Member
 

done it before aracer, was OK, got paid £20 for it. 😆


 
Posted : 12/10/2011 4:58 pm
Posts: 3729
Free Member
 

If the question was not so easy to estimate, you'd need prior knowledge about the way in which the calculator/ spreadsheet operates in order to ensure that the question was entered in accordance with convention

Well of course you do. You have to know the limitations of any tool before you can use it properly. Calculators don't do the maths for you, you have to think about it and make sure the inputs are correct for what you want to achieve. There are many different types of logic that calculators use, reverse polish being one that is thankfully dying out.


 
Posted : 12/10/2011 4:59 pm
Posts: 16211
Free Member
 

Surely all that proves is that one of the devices used to do the calculation is wrong.

In which case I'd take it back and complain!

No, it tells us that we have two different answers. They could both be wrong.


 
Posted : 12/10/2011 4:59 pm
Posts: 16211
Free Member
 

There are many different types of logic that calculators use

Precisely. So it's a bit much to expect average Joe to automatically know what particular method a given calculator is using.


 
Posted : 12/10/2011 5:00 pm
Posts: 1594
Full Member
 

No, it tells us that we have two different answers. They could both be wrong.

But one answer is correct, and we know which that is...

Or are you still actually arguing that the answer could be 0?


 
Posted : 12/10/2011 5:03 pm
Posts: 3729
Free Member
 

So it's a bit much to expect average Joe to automatically know what particular method a given calculator is using.

Without the instruection manual yes, but then it's not too much to expect average Joe to have a knowledge of primary school maths.


 
Posted : 12/10/2011 5:05 pm
Posts: 0
Free Member
 

Wow. Just wow. You guys.

I went to primary school in the 80's. I have a very very dim recollection of this BODMAS chappie, mainly as Another Stupid Acronym I'll Never Remember.


 
Posted : 12/10/2011 5:06 pm
Posts: 31206
Full Member
Topic starter
 

I don't recall ever being taught the acronym to be honest.
We were just expected to know the correct order. It isn't exactly hard (for most).


 
Posted : 12/10/2011 5:08 pm
Posts: 16211
Free Member
 

But one answer is correct, and we know which that is...

Or are you still actually arguing that the answer could be 0?

I've never argued that the answer is 0. I argue that the answer is 26, using conventional notation.

But that's irrelevant. What if you can't work out the question in your head? How will you know which machine is telling you the right answer?


 
Posted : 12/10/2011 5:10 pm
Posts: 0
Free Member
 

done it before aracer, was OK, got paid £20 for it.

You've allowed yourself to be ruthlessly exploited for the gratification of perverts? 😯

Because that's what it is. Let's not lie about it, folks.

Emsz; when I was at school, a lass your age, in the altogether, wooduv caused a riot. 😆

And that was a mixed school. In my first secondary school, an all boys one, some of the sickly kids wooduv had to be taken to hospital probbly.

Miss H used to wear stockings. So did Miss R and she was well fit. She was a right cah though; Miss H was nice.

Ah....

(Uses innocent maffs thread for nefarious and sordid purposes. Is a little bit ashamed but not much really)


 
Posted : 12/10/2011 5:11 pm
Posts: 31206
Full Member
Topic starter
 

How will you know which machine is telling you the right answer?

Well you can quickly establish whether it is doing operator precedence for you or not by entering:
[code]2 + 3 x 3[/code].
If you get 15 then it doesn't. If you get 11 then it does.

Or you could just enter things in the correct order of evaluation and it won't be an issue.


 
Posted : 12/10/2011 5:14 pm
Posts: 1594
Full Member
 

What if you can't work out the question in your head? How will you know which machine is telling you the right answer?

Well in that case, how can you tell if any machine is ever telling you the right answer?

And not just machines, what about people too?

I'd suggest that if you can't tell which is the right answer, you are not qualified to ask the question? 😉

It was always drummed into me when at school, and beyond, that the calculator/computer is there to help, but it does not, and cannot, do your thinking for you. You still need to understand what you are asking it to do.


 
Posted : 12/10/2011 5:17 pm
Posts: 16211
Free Member
 

It was always drummed into me when at school, and beyond, that the calculator/computer is there to help, but it does not, and cannot, do your thinking for you. You still need to understand what you are asking it to do.

Gee, thanks for the tip. 🙄

It's a fairly simple point, which I doubt is well-explained to school children: that different machines may give you different answers for a given input, none of them necessarily correct.

I must admit that prior to this thread, I hadn't realised that some calculators use operator precedence and some don't.


 
Posted : 12/10/2011 5:28 pm
Posts: 31206
Full Member
Topic starter
 

Back in the day, when I were lad, etc [u]no[/u] calculators did operator precedence. That would be magical. The ones we used were only one technological step away from the adding machines with levers on the side that I vaguely remember my dad using at the bank.

[img] [/img]

Ahhh.. simpler times. (I'm [i]only[/i] 36)


 
Posted : 12/10/2011 5:31 pm
Page 7 / 11