DSPRelated.com
Forums

OT: Calculators

Started by Unknown August 18, 2016
I discovered this when solving one of those trivia questions.

The question was to find out what


36 divided by 2.(3)+ 4

can't get the division symbol on this PC.

Correct answer should be to write this as

36/2 X 3 + 4 =58

a computer would interpret it thus. Type that into a calculator and you will get 58 if you type

36 divided by 2X(3) + 4

where it doesn't matter whether there is a bracket round the 3 or not.

Now in your calculator put

36 divided by 2.(3)+4

 where you use the dot operator (assuming your calculator supports this) instead of multiply. You get 10.

It appears that the dot multiply takes the brackets around the 2 and 3 (2X3) and then does the division into 36. You must have the brackets round the 3 or it takes the number as 2.3 of course.
On Thursday, August 18, 2016 at 2:19:18 PM UTC-7, gyans...@gmail.com wrote:
> I discovered this when solving one of those trivia questions.
> The question was to find out what
> 36 divided by 2.(3)+ 4
> can't get the division symbol on this PC.
> Correct answer should be to write this as
> 36/2 X 3 + 4 =58
(snip)
> 36 divided by 2.(3)+4
> where you use the dot operator (assuming your calculator supports > this) instead of multiply. You get 10.
In the early days of calculators, there was no precedence. All operations were done left to right, as that saved registers.
> It appears that the dot multiply takes the brackets around the 2 and 3 > (2X3) and then does the division into 36. You must have the brackets > round the 3 or it takes the number as 2.3 of course.
Which calculators have a dot operator? -- glen
On Friday, August 19, 2016 at 12:55:11 PM UTC+12, herrman...@gmail.com wrote:
> On Thursday, August 18, 2016 at 2:19:18 PM UTC-7, gyans...@gmail.com wrote: > > I discovered this when solving one of those trivia questions. > > > The question was to find out what > > > 36 divided by 2.(3)+ 4 > > > can't get the division symbol on this PC. > > > Correct answer should be to write this as > > > 36/2 X 3 + 4 =58 > > (snip) > > > 36 divided by 2.(3)+4 > > > where you use the dot operator (assuming your calculator supports > > this) instead of multiply. You get 10. > > In the early days of calculators, there was no precedence. All operations > were done left to right, as that saved registers. > > > It appears that the dot multiply takes the brackets around the 2 and 3 > > (2X3) and then does the division into 36. You must have the brackets > > round the 3 or it takes the number as 2.3 of course. > > Which calculators have a dot operator? > > -- glen
Casio does and so does sharp.
herrmannsfeldt@gmail.com writes:

> On Thursday, August 18, 2016 at 2:19:18 PM UTC-7, gyans...@gmail.com wrote: >> I discovered this when solving one of those trivia questions. > >> The question was to find out what > >> 36 divided by 2.(3)+ 4 > >> can't get the division symbol on this PC. > >> Correct answer should be to write this as > >> 36/2 X 3 + 4 =58 > > (snip) > >> 36 divided by 2.(3)+4 > >> where you use the dot operator (assuming your calculator supports >> this) instead of multiply. You get 10. > > In the early days of calculators, there was no precedence. All operations > were done left to right, as that saved registers. > >> It appears that the dot multiply takes the brackets around the 2 and 3 >> (2X3) and then does the division into 36. You must have the brackets >> round the 3 or it takes the number as 2.3 of course. > > Which calculators have a dot operator?
<snicker> -- Randy Yates, DSP/Embedded Firmware Developer Digital Signal Labs http://www.digitalsignallabs.com