www.fltk.net > (1/2+1/3+...1/2015)(1+1/2+1/3+...+1/2014)%(1+1/...

(1/2+1/3+...1/2015)(1+1/2+1/3+...+1/2014)%(1+1/...

最后一个括号里面应该是(1/2)+(1/3)+……+(1/2014)吧! 设1+(1/2)+(1/3)+……+(1/2015)=a 那么,原式=(a-1)×[a-(1/2015)]-a×[a-1-(1/2015)] =a(a-1)-a×(1/2015)+(1/2015)-a(a-1)+a×(1/2015) =1/2015

没错吧,但是float是有误差的3+3可能不是6等等, 另外float是不能求于的

(-1*1/2)+(-1/2*1/3)+(-1/3*1/4)......(-1/2012*1/2013) = -(1-1/2)-(1/2-1/3)-(1/3-1/4)......-(1/2012-1/...

网站地图

All rights reserved Powered by www.fltk.net

copyright ©right 2010-2021。
www.fltk.net内容来自网络,如有侵犯请联系客服。zhit325@qq.com