How to calculate the bond yield
Much easier to emigrate

How to transfer in a binary system

The binary number system is based on the two numbers 0 and 1

Decimal notation? it is the system with which we are confronted on a daily basis in various sectors of our life. It is easy to use and intuitive, familiar and easy.

But there are other systems? binary, octal, hexadecimal.

Each of them is used in some specific areas.

For example, the binary system is based the work of all computers on the ground.



In the binary system uses only two numbers? 1 and 0, the number of computers to appear as the presence or absence of the charge. From sequential alternation of zeros and ones, and add up the chain, turning eventually into computer commands and files. The binary system is not so difficult as it might seem at first glance, but the execution of arithmetic operations made it much easier than decimal. Everyone who starts the study of computer science, is faced with a binary system, as an exercise it is encouraged to try on their own to translate some decimal to binary. This is not as difficult as it might seem at first glance. Consider one of the ways.


The method, invented centuries before the inventioncomputers one Greek mathematician, has been successfully used today, and it is called Euclid's algorithm. According to this algorithm to convert a number from decimal to binary number is necessary to divide by 2, writing the remainder until it reaches zero. But it is always better to explain with an example. Take an arbitrary decimal number. For example, 159:
159: 2 = 79 (stop 1).

79: 2 = 39 (stop 1).

39: 2 = 19 (stop 1).

19: 2 = 9 (stop 1).

9: 2 = 4 (stop 1).

4: 2 = 2 (stop 0).

2: 2 = 1 (stop 0).

1: 2 = 0 (stop 1).
Putting binary value of all outstanding balances in the solution, starting from the end, in the end we have got a binary number 100 111 111.


But the solution of these examples is the onlyvisibility, giving us an idea of ​​how and on what basis are computer systems. If there is a need to translate the different numbers from one number system to another, it is much easier to use a special calculator. This can be done, for example, using the calculator included in the standard set of Windows. It is only necessary on the View tab to switch from a conventional calculator for engineering and transfer numbers in binary system will turn to you child's play.

Comments are closed.