Thursday, July 30, 2009

What kind of math is exactly needed for programming??

what kind of math is needed for c++, c, php, Visual Basic..etc


algebra, geometry....what??

What kind of math is exactly needed for programming??
it depends on what you're doing. If you're writing in C++ or C, you may find yourself doing alot of basic arithmatic and pointer arithmatic, converting bases, and geometry.





If you program games, or anything with graphics like that you'll need linear algebra (which involves trig and calc I), you'll also need geometry, unless you have an API, but you'll probably still need to know it.





PHP, and VB you can get by with almost nothing





There's also a whole bunch of just "computer math" based on basic electronic functions like OR, XOR, AND, NOT, that kind of great stuff.





By far, the most essential class I think is Discrete Math. It's so fun too.
Reply:Depends on the level of prgraming you are expected to do.





I've used calculus, discrete math, and statistics.
Reply:The math needed depends on the application. Not much on the programming language. Accounting and basic web programming require very little math. Scientific programming may require the highest level of mathematical competency.
Reply:some Advance Algebra is probably good enough.
Reply:Being able to program requires no math, only the ability to reason logically. Requiring math knowlege is application dependent. If you are doing statistics linear algebra is good, for graphics analytic geometry, for scientific application probably calculus and more.
Reply:That depends on the type of programming you will be doing. But, the more math you have, the better.
Reply:Essentially, rudimentary algebra will allow you to write code. This is not even strictly necessary. I learned to code long before I ever took algebra.





You will need higher level math if you want to implement particular algorithms, which require such math. I could list the relevant mathematics, but pretty much any course you take can be useful for programming. Discrete mathematics and numerical methods are of particular importance.

medium

No comments:

Post a Comment