Вопрос задан 11.05.2019 в 15:05. Предмет Информатика. Спрашивает Круглова Ника.

Как переводить из двоичной в десятичную ?

0 0
Перейти к ответам

Ответы на вопрос

Внимание! Ответы на вопросы дают живые люди. Они могут содержать ошибочную информацию, заблуждения, а также ответы могут быть сгенерированы нейросетями. Будьте внимательны. Если вы уверены, что ответ неверный, нажмите кнопку "Пожаловаться" под ответом.
Отвечает Жуйкова Римма.
Можно на калькуляторе программистическом, Умножаешь на два единицу если у тебя в двоичном единица добавляешь один к произведению если ноль то умножаешь
0 0
Отвечает нейросеть ChatGpt. Будьте внимательны, ответы нейросети могут содержать ошибочные или выдуманные данные.

Converting Binary to Decimal

To convert a binary number to a decimal number, you can use the following methods:

Method 1: Using the positional notation 1. Start from the rightmost digit of the binary number. 2. Multiply each digit by 2 raised to the power of its position, starting from 0 for the rightmost digit. 3. Sum up all the results to get the decimal equivalent.

For example, let's convert the binary number 1011011 to decimal: ``` 1 * 2^6 + 0 * 2^5 + 1 * 2^4 + 1 * 2^3 + 0 * 2^2 + 1 * 2^1 + 1 * 2^0 = 91 ``` Therefore, the decimal equivalent of 1011011 is 91. Method 2: Using the fractional part 1. Start from the leftmost digit of the binary number. 2. Divide each digit by 2 raised to the power of its position, starting from -1 for the leftmost digit. 3. Sum up all the results to get the decimal equivalent.

For example, let's convert the binary number 0.1101 to decimal: ``` (0 * 2^-1 + 1 * 2^-2 + 1 * 2^-3 + 0 * 2^-4) = 0.8125 ``` Therefore, the decimal equivalent of 0.1101 is 0.8125. It's important to note that these methods work for converting binary numbers to decimal numbers. If you need to convert decimal numbers to binary, the process is different.

I hope this helps! Let me know if you have any further questions.

0 0

Топ вопросов за вчера в категории Информатика

Последние заданные вопросы в категории Информатика

Задать вопрос