Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

this is a little tricker than I'm used to for a skill testing question. Please help.


share|improve this question

closed as too localized by Asaf Karagila, t.b., J. M., Akhil Mathew Apr 12 '11 at 12:36

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

In addition of being way too localized it is also not well defined. $(5/2)\times 4$ or $5\times (2/4)$? –  Asaf Karagila Apr 12 '11 at 8:37
I don't understand. In your profile you claim to be a "programmer", but then why would you be asking this? –  Adrián Barquero Apr 12 '11 at 8:39
See also Jonas Meyer's answer here –  t.b. Apr 12 '11 at 8:43
@Adrián he claims to be a newbie programmer, so it's understandable. –  Danny King Apr 12 '11 at 8:44
You're kidding, right? You can type this to Google or even the simplest pocket calculator and it would give you an answer in no-time. Or are you testing the system? –  JMCF125 Jun 13 '13 at 14:59

2 Answers 2

up vote 1 down vote accepted

The order in which you do the calculations can be remembered using "BODMAS"

Always do arithmetic in the following order:

  • Evaluate any brakets
  • Do indicies (powers)
  • Do division and multiplication
  • Do addition and subtraction

It's explained well here:


So for your example: 25+80-5/2*4

First divide 5 by 2, then multiply that by 4. Add 25 to 80 then take the result of the previous multiplication from this addition.

share|improve this answer
Somehow I am accustomed to excusing my dear aunt, Sadie. –  J. M. Apr 12 '11 at 11:13

$25+80-5/2*4=25 + 80 - ((5 / 2) * 4) = 95$

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.