Current location - Training Enrollment Network - Mathematics courses - Do we usually use decimal or octal? How did the binary come from?
Do we usually use decimal or octal? How did the binary come from?
1 what we commonly use today is the binary system of decimal 2: the technology is simple, the computer is composed of logic circuits, and the logic circuits usually have only two states, that is, the switch is on and off, which can be represented by 1 and "0". Simplified operation rules: There are three combinations of sum and product operations of two binary numbers, and the operation rules are simple, which is conducive to simplifying the internal structure of the computer and improving the operation speed. Suitable for logical operation: logical algebra is the theoretical basis of logical operation, and the binary system has only two digits, which coincides with the "true" and "false" in logical algebra. Easy to convert, binary numbers and decimal numbers are easy to convert each other. Using binary to represent data has the advantages of strong anti-interference ability and high reliability. Because each data has only two states of high and low, it can still be reliably distinguished whether it is high or low when it is disturbed to a certain extent. Octal: Because the radix r of binary data is small, it is inconvenient to read and write binary data. Therefore, octal is introduced into minicomputers.

Decimal system: convenient for statistics

Hexadecimal: The binary in the computer is too long, so 16 can solve this problem. Because the greater the decimal number, the shorter the expression length of the number. 16 is the fourth power of 2. This makes it possible to directly switch between the three systems. 16 system shortens the binary number, but maintains the expression characteristics of the binary number. You know, the internal operation of the machine depends on the switch, so the basis is binary, which is essential and necessary. Later, in order to save numbers and shorten the representation, 8 or 16 hexadecimal was used. But most people are not used to it, so 10 is used when it is output to ordinary people. 4. Leibniz's achievement was inspired by China's mathematics, and he invented the binary system, which is the basis of today's electronic computer technology.

/kloc-Leibniz, a German master of mathematical philosophy in the 8th century, read the composition of gossip from the Latin translation of the Book of Changes sent to him by his missionary friend Bowitt, and was surprised to find that its basic prime number (0)( 1), that is, the Yin and Yang of the Book of Changes, its carry system is of course a factual record, but I think binary and octal should have been in China at that time. You know, China has a hexadecimal system since ancient times-the idiom "half a catty is eight taels" comes from 1 catty equals 16 taels at that time.