ahaks... for a mathematician a simpler answer is n*(n+1)/2
On Sun, Mar 13, 2011 at 1:57 PM, darXness darXness <darxl...@gmail.com>wrote: > math n CS... > IMHO,without math,programming cant go to the next > part.if,else,while,and most of the programming part is derived from > math.and we actually learn that in school.but under Math,not > programming.slowly,we implement in our program.without we knowing,we > actually doint math.just pick some of the code: > > while(i = 0;i<5;i++){ > i; > } > see?we actually doing plus operation there.:D > On Sun, Mar 13, 2011 at 1:26 PM, E A Faisal <eafai...@gmail.com> wrote: > > I'm not formally trained on CS. All my programming knowledge is self > taught. > > So this is my opinion. > > > > Programming is not solely an art. It's both art and science. I > experienced > > countless of times where knowing maths would be extremely useful. While > it's > > true that you can program something without any understanding of math but > I > > learned the hard way that to implement something efficiently and of high > > quality you still need maths. I once created a middleware that helped to > > bridge between a system with Hylafax which I needed to write a scheduler > to > > poll fax status from Hylafax. My first implementation was straight > forward, > > without any thought of mathematical model. It worked but it ate up > resources > > needlessly. Though it didn't give any problem but it's not elegant > because > > it wasted on computing resource which I might need in the future. > Eventually > > I managed to find a mathematical model to implement a good scheduler - > yes! > > math to the rescue. > > > > Still not buying on the importance of math? Consider yourself doing > > programming and need to choose a data structure. Without good math > > understanding how can you decide which data structure would be best on a > > given program? Want to analyse your newly and cool algorithm? Who you > gonna > > call? Math, of course. Even when you code bussiness app, your business > logic > > is basically a representation of mathematical model. > > > > Not to discourage new programmer, you can still code with knowing math in > > depth. But, IMHO as you progress into a more competent programmer you > better > > catch up with math again. It certainly helps. Math has helped me, I'm > sure > > it's useful to others too. > > > > > > On Sun, Mar 13, 2011 at 11:47 AM, Harisfazillah Jamel > > <linuxmalay...@gmail.com> wrote: > >> > >> We really need math in CS. They way Computer engineers and software > >> developers think are like mathematician. All are numbers. > >> > >> We codes in 1 and 0. if then else. all can be calculate and formula > >> can be created. > >> > >> and one thing. > >> > >> Computer programming is an art :) > >> > >> On Sun, Mar 13, 2011 at 11:40 AM, sweemeng ng <swees...@gmail.com> > wrote: > >> > http://ocirs.com/2011/03/11/computer-science-education-and-math/ > >> > based on this article. Actually I kinda agree with the author. It > >> > depends on > >> > the goal, if aim for research YES, if for industry, maybe no > >> > what you guys think > >> > >> -- > >> To unsubscribe from and detail about this group > >> http://portal.mosc.my/osdc-my-mailing-list-information > >> > >> MOSC2011 http://fb.me/mosc2011 > >> > >> MOSC Survey 2011 Awareness Of OSS Certification > >> http://survey.mosc.my/mosc-survey-2011-awareness-oss-cert > > > > -- > > To unsubscribe from and detail about this group > > http://portal.mosc.my/osdc-my-mailing-list-information > > > > MOSC2011 http://fb.me/mosc2011 > > > > MOSC Survey 2011 Awareness Of OSS Certification > > http://survey.mosc.my/mosc-survey-2011-awareness-oss-cert > > > > -- > To unsubscribe from and detail about this group > http://portal.mosc.my/osdc-my-mailing-list-information > > MOSC2011 http://fb.me/mosc2011 > > MOSC Survey 2011 Awareness Of OSS Certification > http://survey.mosc.my/mosc-survey-2011-awareness-oss-cert > -- To unsubscribe from and detail about this group http://portal.mosc.my/osdc-my-mailing-list-information MOSC2011 http://fb.me/mosc2011 MOSC Survey 2011 Awareness Of OSS Certification http://survey.mosc.my/mosc-survey-2011-awareness-oss-cert