Math for Programming

Mathematics is extensively used computer programing. The mathematical concepts make you a better programmer.

Computers use binary numeral system where there are two symbols — 0 and 1. Hexadecimal system (base-16) and base-64 are essential in programming, and understanding these is facilitated by our understanding of the binary system.

Floating point numbers are not precise, resulting into tiny errors in calculations. These numbers use scientific notations.

Logarithmic functions are used in algorithms such as binary research.

Set theory is important for working with databases.

Boolean algebra uses three operators to work with Boolean values — AND, OR and NOT.

Combinatorics facilitates the calculation all possible permulations and combinations. It is a valuable skill in programming.

Graph theory is used for network routing and optimizing various scenarios.

Complexity theory or Big O notation make us aware about the efficiency of algorithms — time and memory complexity of algorithms.

Statistics is used in ML and AI. Measures of central tendency makes you understand predictions.

Linear algebra is useful in computer graphics, neural networks. It makes us understand scalars, vectors and matrices. These are used to represent data. In cryptography, 3D graphics and ML, you have to use linear algebra.

print

Leave a Reply

Your email address will not be published. Required fields are marked *