/* Note:Your choice is C IDE */
#include "stdio.h"
#include <math.h>
void main()
{ float i,s=0;
for(i=1;i<10000;i++)
s=s+sin(i/10000)*1/10000;
printf("%f",s);
}
积分
最新推荐文章于 2024-02-06 14:04:23 发布
/* Note:Your choice is C IDE */
#include "stdio.h"
#include <math.h>
void main()
{ float i,s=0;
for(i=1;i<10000;i++)
s=s+sin(i/10000)*1/10000;
printf("%f",s);
}