Em 10/3/2012 20:22, Jamie Lawson escreveu: > On Sun, 11 Mar 2012, cdb wrote: > >> I saw this on an RISCOS enthusiast website. >> >> Using, head, as many different calculators that you have to hand >> (especially if you have an iPhone or Windows calc) what result do you ge= t >> from the following sum. >> >> 6/2(1+2) >> >> Type it in exactly as above. >> >> My trusty Casio fx5000f let me down, sort of. >> >> Colin >> -- >> cdb, on 11/03/2012 >> > Any of the calculators I have with any sort of algebraic ordering come up= =20 > with the result of 9. > > The RPN calculators agree with Dwayne with a result of 1. > > I have "several" calculators....... > > Jamie Using Windows XP calculator if I click 6 / 2 * ( 1 + 2 ) =3D, I get 9. If I enter exactly how the OP wrote (without the * ), then I get 2. It seems a bug in the parser, that ignores an error (lack of an operator) and gives a nonsensical result. BUT if I press =3D again, I get 0.666666...67, which means that the calculator thinks its last executed operation was a divide by 3. Isaac --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .