码迷,mamicode.com
首页 > 其他好文 > 详细

1226作业(转为十进制)

时间:2015-12-26 20:53:10      阅读:227      评论:0      收藏:0      [点我收藏+]

标签:

41BD(16)

41BD(16)=4*16^3+1*16^2+11*16^1+13*16^0

              =4*4096+1*256+11*16+13*1

              =16384+256+176+13

              =16829

A10C.8(16)=10*16^3+1*16^2+0*16^1+12*16^0+8*16^-1

                =10*4096+1*256+0+12*1+8*0.0625

                =40960+256+12+0.5

                =41228.5

146.1(8)=1*8^2+4*8^1+6*8^0+1*8^-1

            =64+4*8+6*1+1*0.125

            =102.125

5312.2(8)=5*8^3+3*8^2+1*8^1+2*8^0+2*8^-1

              =5*512+3*64+1*8+2*1+2*0.125

              =2560+192+8+2+0.25

              =2762.25

11001.001(2)=1*2^4+1*2^3+0*2^2+0*2^1+1*2^0+0*2^-1+0*2^-2+1*2^-3

                   =16+8+0+0+1+0+0+0.125

                   =25.125

1101101.11(2)=1*2^6+1*2^5+0*2^4+1*2^3+1*2^2+0*2^1+1*2^0+1*2^-1+1*2^-2

                      =64+32+0+8+4+0+1+0.5+0.25

                      =109.75

                   

1226作业(转为十进制)

标签:

原文地址:http://www.cnblogs.com/sjxx/p/5078823.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!