C语言:求和:S=1\/2+1\/4+1\/8+1\/16+…+1\/256
void main(){ int i=2; int j;float s,sum=0;for(j=1;j<=8;j++){ s=1.0\/i;i=i*2;sum+=s;} printf("%d",sum);}
简便计算:1\/2+1\/4+1\/8+1\/16+……+1\/256
S=1\/2+1\/4+1\/8+...1\/256 1\/2*S=1\/4+1\/8+1\/16+...+1\/256+1\/512 两个式子相减,得 1\/2*S=1\/2-1\/512 S=255\/256
1\/2+1\/4+1\/8+1\/16+---+1\/256=
令S=1\/2+1\/4+1\/8+1\/16+---+1\/128+1\/256 2S=1+1\/2+1\/4+1\/8+1\/16+---+1\/128 S=2S-S=1-1\/256 =255\/256
1\/2+1\/4+1\/8+1\/16+···+1\/256(简便计算)
s\/2=1\/4+1\/8+1\/16+···+1\/256+1\/512 s-s\/2=1\/2-1\/512 s\/2=255\/512 s=255\/256 即1\/2+1\/4+1\/8+1\/16+···+1\/256=255\/256
1\/2+1\/4+1\/8+1\/16...+1\/256=?
这是等比数列,首项a1=1\/2,公比q=1\/2,a8=a1*q7次方=256 1\/2+1\/4+1\/8+1\/16...+1\/256 =S8 =1\/2 *(1-(1\/2)8次方)\/(1-1\/2)=1-(1\/2)8次方 =1-1\/256 =255\/256
1\/2+1\/4+1\/8+1\/16.+1\/256怎么简便算
应该是1\/2+1\/4+1\/8+1\/16+1\/32+1\/64+1\/128+1\/256=1-1\/256=255\/256 可以用单位正方形的面积直观(苏教版小学数学教材),也可用单位长度直观(人教版新教材)!也可以推导:设s=1\/2+1\/4+1\/8+1\/16+1\/32+1\/64+1\/128+1\/256,则2s=1+1\/2+1\/4+1\/8+1\/16+1\/32+1\/64+1...
简算1\/2+1\/4+1\/8+...+1\/256?
这是等比数列前8项的和,用等比数列求和公式就可以了,首项是1\/2, 公比是1\/2,结果是1\/2乘以(1-1\/2的8次方)\/(1-1\/2)=1-1\/256=255\/256.
计算1\/2+1\/4+1\/8+1\/16+1\/32+?+1\/256=?快!急———
要计算1\/2加1\/4加1\/8加1\/16加1\/32直到1\/256的和,可以使用等比数列的求和公式。这个序列是一个公比为1\/2的等比数列。首项a1为1\/2,公比q为1\/2。等比数列的前n项和公式为Sn=a1*(1-q^n)\/(1-q),其中n为项数,q≠1。对于这个序列,n=8(因为1\/256是第8项)。将给定数值代入公式,...
简便计算1\/2+1\/4+1\/8+1\/16+...+1\/128+1\/256
设S=1\/2+1\/4+1\/8+1\/16 2S=2*(1\/2+1\/4+1\/8+1\/16)=1+1\/2+1\/4+1\/8 2S-S=[1+(1\/2+1\/4+1\/8)]-[(1\/2+1\/4+1\/8)+1\/16]=1-1\/16=15\/16 以此类推 1\/2+1\/4+1\/8+1\/16+...+1\/128+1\/256=1-1\/256 =255\/256 ...
1\/2+1\/4+1\/8+1\/16+···+1\/256(简便计算)
a1)为1\/2 公比(q)为1\/2 等比数列求和公式:Sn=a1(1-q^n)\/(1-q)其中n为项数比如a1项数就为1 a1=1\/2 a2=1\/4 a3=1\/8···a8=1\/256 至于这个256是a8是怎么得出的256开个平方根就行了.所以Sn=1\/2(1-(1\/2)^8)\/(1-1\/2)=255\/256 觉得有用望采纳~谢谢~...