简便运算:0.125+0.25+0.5+1+2+4+8+…+128

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/28 22:12:43
简便运算:0.125+0.25+0.5+1+2+4+8+…+128
x0Njzҡ($ 08 a7!.ƀ` %q]8y/^šNu"$YS$p \˵7%t<ަgbċUFpD ̃ .\W90:$:y,K(2dD6#9XI4a

简便运算:0.125+0.25+0.5+1+2+4+8+…+128
简便运算:0.125+0.25+0.5+1+2+4+8+…+128

简便运算:0.125+0.25+0.5+1+2+4+8+…+128
0.125+0.25+0.5+1+2+4+8+…+128
=0.875+(2的8次方-1)
=0.875+255
=255.875

1000

0.125+0.25+0.5+1+2+4+8+…+128
=0.875+(2^8-1)
=0.875+255
=255.875

=0.125+0.125*2+0.125*4+0.125*8+0.125*16+...+0.125*1024
=0.125*(1+2+4+8+16+...1024)
=0.125*(2^0+2^1+2^2+2^3+2^4+...2^10)
=0.125*(2^11-1)
=0.125*2047
=255.875