QBXL Technical Articles (Mostly) Everything about Vectors! By SJ Zero
 Vectors are one of the concepts in math whose name is so cool you imagine it just HAS to be difficult. All the great concepts of math have names that sound like Roman Gods or alien invaders; Vector in invader, Calculon(ed: I think that's calculus) the destroyer, dot product the accountant! These are the concepts whose legendary frightfulness keeps children from running away from home, and whose reputation is largely undeserved. The opposite of a vector is a scalar, a number without a direction, which represents only a magnitude is called a scalar. 2 litres of milk. 100 kilometers (without saying WHERE these kilometers are). 9.81 meters per second squared. degrees by itself is a scalar. A Vector is a number with a magnitude and a direction. If you've been programming longer than a week, you've already dealt with them and you don't even know it. A set of X, Y coordinates describing the motion of an object can be considered a vector. A scalar whose negative sign represents a direction can be a vector, like the distance from a reference point. (ie. -1cm away from 0 and 1cm away from 0 meaning different things). The concept of a vector is really simple. More often than not though, when someone actually refers to a vector as a vector, you're looking at a vector with a magnitude r and a direction theta, which can be in radians or degrees. That's mostly because most people don't think of vectors as any number with a direction and magnitude. That's ok though, because these are fairly easy to do as well: The format for a 2d vector can be expressed in the following way: r