Computer Science, asked by jack1853, 1 year ago

Binary to decimal 1 - 0110001 2 - 100111101 ​

Answers

Answered by LuckyYadav2578
4
● 1- Decimal value of 110001

1 × 2^5 + 1 × 2^4 + 0 × 2^3 + 0 × 2^2 + 0 × 2^1 + 1 × 2^0
= 32 + 16 + 0 + 0 + 0 + 1
= 49

● 2- Decimal walue of 100111101

1 × 2^8 + 0 × 2^7 + 0 × 2^6 + 1 × 2^5 + 1 × 2^4 + 1 × 2^3 + 1 × 2^2 + 0 × 2^1 + 1 × 2^0
= 256 + 0 + 0 + 64 + 32 + 16 + 8 + 4 + 0 + 1
= 381

note :- 0110001 = 110001
Similar questions