1/(1*2*3),1/(3*4*5),......1/((2n-1)(2n)(2n+1)),......

来源:百度知道 编辑:UC知道 时间:2024/04/29 00:15:56

不知道你要什么语言,我就用C把
#include<stdio.h>
const int n=100;
main()
{
double a=0,b,i,j;
for(i=1;i<n;i++)
{
b=1;
for(j=1;j<=i;j++)
b*=j;
a+=1/b;
}
printf("%lf\n",a);
getch();
}

..你想问什么?