• Предмет: Информатика
  • Автор: zangar2010edkz
  • Вопрос задан 4 месяца назад

Convert the following numbers from binary to decimal equivalents:
100010=
111010=
100101=

Приложения:

Ответы

Ответ дал: professional65
0

Ответ:

We will convention using the following formula:

Decimal = d0 * 2^0 + d1 * 2^1 + d2 * 2^2 + ... + dn * 2^n

So the following examples:

100010 = 0 * 2^0 + 1 * 2^1 + 0 * 2^2 + 0 * 2^3 + 1 * 2^4 + 0 * 2^5 = 18

111010 = 0 * 2^0 + 1 * 2^1 + 1 * 2^2 + 1 * 2^3 + 0 * 2^4 + 1 * 2^5 = 46

100101 = 1 * 2^0 + 0 * 2^1 + 0 * 2^2 + 1 * 2^3 + 0 * 2^4 + 1 * 2^5 = 41

Short answers:

100010 = 18

111010 = 46

100101 = 41

Вас заинтересует