|
Author |
Thread Statistics | Show CCP posts - 2 post(s) |

Scorpyn
Caldari Infinitus Odium
|
Posted - 2006.09.06 10:50:00 -
[1]
Edited by: Scorpyn on 06/09/2006 10:52:12
Originally by: Rabbitgod Edited by: Rabbitgod on 06/09/2006 05:22:20 It's simple be the first to reply with the correct answer to the following math problem.
((741121 / 3 x (13 x 13 x 13)) - (1.548785) x .007)=?
Show your work btw!
((rnd / 3 x (13 x 13 x 13)) - (1.548785) x .007)=?
rnd / 3 x 2197 - 1.548785 x .007 = ?
rnd x 2197 / 3 - 0.010841495 = ?
That's as far as you can break it down without setting rnd to a specific number, since 2197/3=732.333333333333333333333...
|

Scorpyn
Caldari Infinitus Odium
|
Posted - 2006.09.06 11:00:00 -
[2]
Originally by: Ares Online Now we multiply before we devide
That's interesting, because as far as I can recall multiplication has the same priority as division. Been a while since I did any math stuff though.
|

Scorpyn
Caldari Infinitus Odium
|
Posted - 2006.09.06 11:04:00 -
[3]
Originally by: Ann Mari I only now saw that the first number is random. And since it's =? you wind up with 2 variables, of which the one changes everytime you hit refresh. Hence there is no answer, which is why the OP felt comfortable to put up 5 bil 
He asked for "the correct answer", which would of course not be a number since the number is changing, but there is still an answer that is correct.
|

Scorpyn
Caldari Infinitus Odium
|
Posted - 2006.09.06 11:08:00 -
[4]
Originally by: Ares Online
Quote: Originally by: Ares OnlineNow we multiply before we devide
That's interesting, because as far as I can recall multiplication has the same priority as division. Been a while since I did any math stuff though.
I hope i got the quote right... :S
but, i was doubting there for a minute.
10 / 2 x 5 = ?
10 / 2 = 5. 5 x 5 = 25 or 2 x 5 = 10. 10 / 10 = 1
so it does matter ;)
It matters, but as far as I recall it has the same priority, which means that the division would have to be done first since it's more to the left.
I could be wrong though.
|

Scorpyn
Caldari Infinitus Odium
|
Posted - 2006.09.06 11:32:00 -
[5]
Originally by: Zephirz lol
You got some smarttass pranks ^^
and people are still trying to figure it out :D
Answer!!
You ebil man 
|

Scorpyn
Caldari Infinitus Odium
|
Posted - 2006.09.06 15:08:00 -
[6]
Edited by: Scorpyn on 06/09/2006 15:09:47
Originally by: Joerd Toastius What the hell is this junk? Left-to-right? What?
Left <-----------> Right
There is a specific order in which to do certain things, but in some cases 2 or more operations have the same priority, in which case you go from left to right.
The reason for this to be discussed is that most ppl have calculated ááárnd / 3 x (13 x 13 x 13) as ááárnd / (3 x (13 x 13 x 13)) which is wrong, it should be ááá(rnd x (13 x 13 x 13)) / 3
|

Scorpyn
Caldari Infinitus Odium
|
Posted - 2006.09.06 15:14:00 -
[7]
Originally by: Klingz
This is right as long you only stick to * / + - But as long as a math is is set up like this: X / 3* (13^3) is the same as: X ---------- 3 * (13^3)
This since the "*" are to the ( )
No, it's
rnd --- * (13*13*13) á3
...which is totally different...
|

Scorpyn
Caldari Infinitus Odium
|
Posted - 2006.09.06 21:23:00 -
[8]
Edited by: Scorpyn on 06/09/2006 21:25:49
Originally by: Joerd Toastius
Originally by: Scorpyn Edited by: Scorpyn on 06/09/2006 15:09:47
Originally by: Joerd Toastius What the hell is this junk? Left-to-right? What?
Left <-----------> Right
There is a specific order in which to do certain things, but in some cases 2 or more operations have the same priority, in which case you go from left to right.
The reason for this to be discussed is that most ppl have calculated rnd / 3 x (13 x 13 x 13) as rnd / (3 x (13 x 13 x 13)) which is wrong, it should be (rnd x (13 x 13 x 13)) / 3
You perform division operations first, it's as simple as that. There's no priority of symbol ordering, it's just that division is non-commutative and thus convention is just that you essentially treat division ops as bracketed. I've never, ever come across any rule about "left to right" or anything like that. Besides, if you just blindly process LtR you screw up 5 + 10 / 5, which is 7 not 3.
This, incidentally, is why if you're writing proper maths you express division with the dividend on top and the divisor underneath.
You go from left to right when all remaining operations have the same priority. Division has the same priority as multiplication, and addition has the same priority as subtraction.
In your example, 10/5 would have to be done first because / must be done before + , but if it'd have been 5*10/5 then you would have done the multiplication first because it's further to the left (not that it matters in that case, but 5/10*5 is different depending on whether you do it from the left or the multiplication first).
|
|
|
|