View Single Post
Old 11-09-2011, 08:56 PM  
moeloubani
Confirmed User
 
moeloubani's Avatar
 
Industry Role:
Join Date: Dec 2007
Location: Ontario
Posts: 4,235
Quote:
Originally Posted by Minte View Post
I know because I have a degree in mechanical engineering. I took math classes for 9 semesters. Every freshmen gets that order of operations gag from a professor with a sense of humor. Turn in a paper with an equation written without proper brackets and you fail. There is a reason we have been using brackets for the last 400 years.
you took math classes for 9 semesters and you're wrong

40 +(40 x 0) + 1 = 41
(40+40) x 0 + 1 = 1
40 + 40 x (0 + 1) = 80

this is all cool but

40 + 40 x 0 + 1 = 41

and that's with no brackets, as written.

is there a rule that says you need to add brackets? please point me to that math rule, here is the one that says im right

http://en.wikipedia.org/wiki/Order_of_operations

Quote:
For example, in mathematics and most computer languages multiplication is done before addition; in the expression 2 + 3 × 4, the answer is 14. Brackets, which have their own rules, may be used to avoid confusion, thus the preceding expression may also be rendered 2 + (3 × 4), but the brackets are not required as multiplication still has precedence without them.
looks like you learned wrong, broseph, time to admit you were wrong and learn from your mistake
moeloubani is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote