可以化成这样的表达式:(1-1/2)(1+1/2)(1-1/3)(1+1/3)......得出1/2*2/3*3/4.......=1/103/2*4/3*5/4.......=11/2最后用1/10*11/2=0.55
void main()int i;float answ;for(i=2;i<=10;i++){answ+=1-1/(i*i);}printf("%f",answ);}