convert binary to decimal numbers...... -(a) (11111)2 (b) (101000)2 (c) (11011001)2
Attachments:
Answers
Answered by
13
why I posted same question two times??
Attachments:
Answered by
6
Hey mate!
Here's your answer!!
(a) (11111)2 = (31)10
Step 1 ➡ Write down the binary number.
11111
step 2 ➡ Multiply each digit of the binary number by the corresponding power of two:
1×2^4+1×2³+1×2²+1×2¹+1×2^0.
Step 3 ➡ Solve the powers.
= 1×16 + 1×8 + 1×4 + 1×2 + 1×1
= 16+8+4+2+1
= 31.
(b) (101000)2 = (40)10
➡ 101000
= 1×2^5 + 0×2^4 + 1×2³ + 0×2² + 0×2¹ + 0×2^0
= 1×32 + 0×16 + 1×8 + 0×4 + 0×2 + 0×0
= 32 + 0 + 8 + 0 + 0 + 0
= 40.
(c) (11011001) = (217)10
➡ 11011001
= 1×2^7 + 1×2^6 + 0×2^5 + 1×2^4 + 1×2^3 + 0×2^2 + 0×2^1 + 1×2^0
= 1×128 + 1×64 + 0×32 + 1×16 + 1×8 + 0×4 + 0×2 + 1×1
= 128 + 64 + 0 + 16 + 8 + 0 + 0 + 1
= 217.
Here's your answer!!
(a) (11111)2 = (31)10
Step 1 ➡ Write down the binary number.
11111
step 2 ➡ Multiply each digit of the binary number by the corresponding power of two:
1×2^4+1×2³+1×2²+1×2¹+1×2^0.
Step 3 ➡ Solve the powers.
= 1×16 + 1×8 + 1×4 + 1×2 + 1×1
= 16+8+4+2+1
= 31.
(b) (101000)2 = (40)10
➡ 101000
= 1×2^5 + 0×2^4 + 1×2³ + 0×2² + 0×2¹ + 0×2^0
= 1×32 + 0×16 + 1×8 + 0×4 + 0×2 + 0×0
= 32 + 0 + 8 + 0 + 0 + 0
= 40.
(c) (11011001) = (217)10
➡ 11011001
= 1×2^7 + 1×2^6 + 0×2^5 + 1×2^4 + 1×2^3 + 0×2^2 + 0×2^1 + 1×2^0
= 1×128 + 1×64 + 0×32 + 1×16 + 1×8 + 0×4 + 0×2 + 1×1
= 128 + 64 + 0 + 16 + 8 + 0 + 0 + 1
= 217.
Sakshi20041:
thanks a lot
Similar questions