by Guest » Tue May 06, 2014 9:06 am
If you are a beginner you need very little maths. If you understand and can form basic arithmetic and logical expressions you should be fine (things like "if (0<x and x<10) then y = 3x", i.e. set y to 3 times x if x is between 0 and 10).
Most of what you will learn as a beginner is the technical specification of the programming language. Things like how to store and retrieve data, get input from the keyboard, declare and manipulate variables, form subroutines, manage memory, organize code, fix faults in the program etc..
As you get more advanced you will learn that a lot of common programming tasks (for example sorting or searching through a list of data) have been extensively studied and there are numerous clever ways people have dealt with the problem. At this stage you may want to start looking at books on data structures and algorithms. There is lots of free information out there and free videos of lecture courses teaching this sort of stuff. There's a fair amount of maths used in how they work and in their analysis however as a programmer you only need a brief overview as it is almost certain that someone will have already implemented the algorithm and given it away for free. So as a programmer you can use the algorithm in your code without needing to know the technical details.
The more programming you do the more you'll specialize in a particular area and the more maths specific to that area you'll pick up to help you efficiently program what you want. For example if you program computer games you'll benefit from learning coordinate geometry to help you place objects on the screen, and to efficiently detect collisions between objects etc., if you program 3D games you'll need to learn about vectors and matrices. If you are trying to analyse large amounts of data for stock market trading then you should look at the maths of pattern recognition and artificial intelligence. If you're interested in passing data between computers you should look at the maths of information entropy and data compression. If you're doing programming for an academic research project you might need to look at the maths of convex optimization.
If you're just starting to program I wouldn't worry too much about the maths (I started when I was 10 which should indicate how very little maths is required) you'll pick up what maths you need as your programming skills grow.
Hope this helped,
R. Baber.