What's the answer?

  spud 23:19 30 Nov 2003
Locked

Standard calculator 1+2*3=9
scientific calculator 1+2*3=7
which one is right ?

  VoG II 23:22 30 Nov 2003

7

  ©®@$? 23:22 30 Nov 2003

but google has the answer it must use scientific

click here

  VoG II 23:25 30 Nov 2003

There is a precedence given to arithmetic operators. Multiply and divide take precedence over add and subtract. So your scientific (so-called) calculator is correctly evaluating what would be better expressed as 1+(2*3)=7

  BRYNIT 23:28 30 Nov 2003

(1+2)*3=9

  ahales42 23:30 30 Nov 2003

VoG is right,logically. resistance is futile.

  spud 23:31 30 Nov 2003

thought so, b.o.d.m.a.s. rule brackets over division,multiplication,addition subtraction

  VoG II 23:31 30 Nov 2003

Try getting a calculator that uses REverse Polish Notation (Hewlett Packard used to make them). Then you can't go wrong.

2

Enter

3

Multiply

1

Plus

  ©®@$? 23:32 30 Nov 2003

when i doubt give google a shout

it came up with 1+2*3=7

you guys are just confusing me now

;-)

  rev.bem 23:43 30 Nov 2003

Depends where you put the parenthesis(without VoG is right) with,could go either way.

:-)

  rev.bem 23:46 30 Nov 2003

Would have been better without the with.

click here

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

Acer Predator 21X review

Game of Thrones GIFs: how Eran Mendel is creating hilarious weekly GIFs based on each episode's…

How to increase storage on iPhone

Nokia 8 : rumeurs & soirée de lancement