怎么计1/2+1/4+1/8+1/16+...+1/(2的n次幂)

问题描述:

怎么计1/2+1/4+1/8+1/16+...+1/(2的n次幂)

1/2+1/4+1/8+1/16+...+1/2^n
=1/2*(1-(1/2)^n)*/(1-1/2)
=1-1/2^n