分数计算简便算法
1/(1*3)+1/(3*5)+1/(5*7)+……1/(17*19)+1/(19*21)
=1/2*(1-1/3)+1/2*(1/3-1/5)+1/2*(1/5-1/7)+……1/2*(1/17-1/19)+1/2*(1/19-1/21)
=1/2*(1-1/3+1/3-1/5+1/5-1/7+……+1/17-1/19+1/19-1/21)
=1/2*(1-1/21)
=10/21
标签:算法,分数,简便
版权声明:文章由 酷百书 整理收集,来源于互联网或者用户投稿,如有侵权,请联系我们,我们会立即处理。如转载请保留本文链接:https://www.kubaishu.com/answer/259983.html