把二进制数(1101111)2为十进制数,写出转换过程

2025-01-21 13:59:19
推荐回答(1个)
回答1:

解决方案1:
(1101111)2=1×20+1×21+1×22+1×23+0×24+1×25+1×26=(111)10

解决方案2:
2^0+2^1+2^2+2^3+2^5+2^6=111
解决方案3:
1x2^6+1x2^5+0x2^4+1x2^3+1x2^2+1x2^1+1x2^0=121
解决方案4:
1×2^6+1×2^5+0×2^4+1×2^3+1×2^2+1×2^1+1×2^0