## Binary

Binary is a method of representing numbers using only two numbers, 0 and 1.

In the case of the decimal system, rounding occurs when 9 is added to 1.

In the binary system, adding 1 to 1 does not result in 2, but rounding occurs.

- 0 = 0
_{(2)}(decimal = binary) - 1 = 1
_{(2)} - 2 = 10
_{(2)} - 3 = 11
_{(2)} - 4 = 100
_{(2)} - 5 = 101
_{(2)} - 6 = 110
_{(2)} - 7 = 111
_{(2)} - 8 = 1000
_{(2)}

## Convert binary to decimal

If you look at the decimal first, you can see that decimal numbers can be expressed as powers of 10.

For example, the number 1208 is :

_{(10)}= 1×10

^{3}+ 2×10

^{2}+ 0×10 + 8

^{3}+ 2×10

^{2}+ 8

Can be represented by The binary method is also calculated in the same way.

The binary number 1010_{(2)} is :

_{(2)}= 1×2

^{3}+ 0×2

^{2}+ 1×2 + 0

^{3}+ 1×2

## Computers and binary

In computers, the binary method is used because the assembly of logic is simple, and the binary method is convenient due to the characteristics of the internal elements. When the electronic circuit's voltage is high, it is regarded as '1', and when the voltage is low, it is regarded as '0'.