Asked by jessie
pls help me to solve this question.
thank you very much
binary-decimal conversion
a.101=
b.1100=
c.100110=
d.111111=
decimal binary conversion
a.1216
10
b.2121
10
Answers
Answered by
Reiny
just like a number like
346<sub>10</sub> = 3(10^2) + 4(10^1) + 6(10^0)
a binary number like
c) 100110<sub>2</sub> = 1(2^5) + 0(2^4) + 0(2^3) + 1(2^2) + 1(2^1) + 0(2^0)
= 32 + 0 + 0 + 4 + 2 + 0 = 38
do the others the same way
to do the reverse you will have to know the powers of 2
2^0 = 1
2^1 = 2
2^2 = 4
2^3 = 8
etc.
so to change 1216(base10) to base 2
the largest power of 2 that divides into it is 1024
so
1216 = 1024 + 128 + 64
=1(2^10) + 0(2^9) + 0(2^8) + 1(2^7) + 1(2^6) + 0(2^5) + 0(2^4) + 0(2^3) + 0(2^2) + 0(2^1) + 0(2^0)
= 10011000000<sub>2</sub>
do the other one the same way
346<sub>10</sub> = 3(10^2) + 4(10^1) + 6(10^0)
a binary number like
c) 100110<sub>2</sub> = 1(2^5) + 0(2^4) + 0(2^3) + 1(2^2) + 1(2^1) + 0(2^0)
= 32 + 0 + 0 + 4 + 2 + 0 = 38
do the others the same way
to do the reverse you will have to know the powers of 2
2^0 = 1
2^1 = 2
2^2 = 4
2^3 = 8
etc.
so to change 1216(base10) to base 2
the largest power of 2 that divides into it is 1024
so
1216 = 1024 + 128 + 64
=1(2^10) + 0(2^9) + 0(2^8) + 1(2^7) + 1(2^6) + 0(2^5) + 0(2^4) + 0(2^3) + 0(2^2) + 0(2^1) + 0(2^0)
= 10011000000<sub>2</sub>
do the other one the same way
There are no AI answers yet. The ability to request AI answers is coming soon!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.