Respuesta :

Given:

[tex]\to \bold{(1001010)_2 - (10100)_2}[/tex]

To find:

value=?

Solution:

[tex]\to \bold{(1001010)_2 - (10100)_2}[/tex]

In this first, we convert the given binary number to the decimal number:

Converting [tex]\bold{(1001010)_2}:[/tex]

[tex]\to \bold{1 \times 2^6+0\times 2^5+0\times 2^4+1\times 2^3+0\times 2^2+1 \times 2^1+0\times 2^0}\\\\\to \bold{1 \times 64+0\times 32+0\times 16+1\times 8+0\times 4+1 \times 2+0\times 1}\\\\\to \bold{64+0+0+ 8+0+ 2+0}\\\\\to \bold{64+ 8+ 2}\\\\\to \bold{74}\\\\[/tex]

Converting [tex]\bold{(10100)_2}:[/tex]

[tex]\to \bold{1\times 2^4+0\times 2^3+1\times 2^2+0 \times 2^1+0\times 2^0}\\\\\to \bold{1\times 16+0\times 8+1\times 4+0 \times 2+0\times 1}\\\\\to \bold{16+0+ 4+0 +0}\\\\\to \bold{16+ 4}\\\\\to \bold{20}\\\\[/tex]

Subtracting the value:

[tex]\to \bold{74-20=54}[/tex]

After converting the 54 into a binary number we get: [tex]\bold{(110110)_2}[/tex]

So, the final answer is "[tex]\bold{(1001010)_2 - (10100)_2}= \bold{(110110)_2}[/tex]"

Learn more:

brainly.com/question/23729089

Ver imagen codiepienagoya