Programming Course for Beginners - ZedLX

The Easiest Online Computer Programming Course, for Free

The type vector2D [1/11]


The type vector2D

A vector is an abstract concept. While one can imagine to be seeing points, discs and triangles, a vector is an object that cannot be seen. Therefore, it is impossible to draw a vector.

The given demonstrational program makes an attempt to visualize a vector. The program draws many arrows. An individual arrow is not a vector. However, if we were to group together all the arrows displayed on a single screen, even including all the possible similar arrows that have not been displayed, than this entire group together would form one vector.

Vectors are used to represent sizes, movements, velocities, forces, and accelerations.

Vectors do not have a position in space. They are, at the same time, everywhere and nowhere. Similarly, quantities that we call size, velocity, force and acceleration all lack a certain position in space (because those quantities are all vectors, and vectors don't have a position in space).

Loading...