[13:03] good morning everyone [14:26] good morning [14:27] morning [20:51] Hi folks, [20:52] I've a bit of software I wrote for the mathematical order of operations, for example to illustrate that 1+2*3=7 rather than 9. [20:53] A video of its available at http://www.youtube.com/watch?v=xc9cu-ekFrg [20:53] Is it worth packaging it and putting it into ubuntu? I've got all the source code, its written in wx widgets and is all my own code. [20:53] ? [20:54] hi martsbradley [20:54] Hi Highvoltage [20:54] it looks like it could be useful to someone, so why not :) [20:55] martsbradley: just an idea, if you could make it show infix/postfix etc notations with that tree, I'm sure it would be useful to some CS students [20:55] martsbradley: what does it do with http://knowyourmeme.com/memes/48293/ ? :) [20:57] I'll boot up my other computer and try it out. [20:58] martsbradley: but yes, I think it would be nice, and if it's stable and not otherwise troublesome we'd probably include it in edubuntu too. [21:02] 288 it gives [21:02] It had a little problem with the 2(9, it did not recognise it as a multiply so had to insert the * between the 2 and the opening bracket [21:04] Is 288 the expected answer, I'm sure it is but I'm no math teacher. [21:04] ah see the way I was taught in school "48 / 2(9+3)" and "48 / 2 * (9+3)" would give different answers. but I guess that's one of the sucky things about differences in math across different regions that that post highlights [21:04] I was taught that the 2(9+3) means add 9 & 3 then multiply by 2, even though the multiply operator was omitted. [21:05] martsbradley: yep, same here. [21:05] and if you do that then you get to the answer "2" [21:06] I was taught by the BODMAS expression, brackets order division multiply add subtract it stands for, therefore the brackets come first, so 9+3 =12 [21:07] Then 48 /2 [21:07] 24 * 12 must be 288 [21:07] oopes, I meant 24 instead of 2 [21:07] (man that chapaign we had at work went straight to my head) [21:07] Lucky u. [21:08] So we agree 288 is correct answer. [21:08] well... [21:08] ... [21:08] that's debatable depending on how you were taught [21:08] but I think it's the right answer for your software to give [21:09] I think that Ireland and America is taught in same way, not sure about Europe + rest of world. [21:09] oh no, I was right first time, I would end up with 2 as the answer [21:09] (Implied multiplication) [21:09] 48 ÷ 2(9+3)= [21:09] 48 ÷ 2(12)= [21:09] 48 ÷ 24= [21:09] 2 [21:10] I'll look at that page to see what they came up with [21:10] yeah I'm no mathemetician either. but I just think it would be nice if your software could be aware of these kind of things. just as a wish list :) [21:11] Yea they have two different answers also, not good. I thought mathematics was the 'universal language' [21:12] heh, yeah it has some similar problems as natural languages though. in some areas other conventions were formed so some expressions mean different things [21:13] that's why different calculators also give different answers for the same equation [21:14] ok thanks for the help, bye. [21:14] bye! === jjido_ is now known as jjido