作业帮 > 综合 > 作业

我的程序通过编译但结果floating point error

来源:学生作业帮 编辑:拍题作业网作业帮 分类:综合作业 时间:2024/04/27 23:28:59
我的程序通过编译但结果floating point error
程序如下:
/* Note:Your choice is C IDE */
#include "graphics.h"
#include "extf.c"
#include "subk.c"
#include "subf.c"
#include "draw.c"
main()
{
static double p[20][2],vp[20][2],ap[20][2],del;
static double t[10],w[10],e[10],tbdraw[370],tb1draw[370];
static double fr[20][2],fe[20][2];
static int ic;
double r12,r34,r24,r35;
static double fk,pk,tb;
double r2,vr2,ar2,r3,vr3,ar3;
int i;
double pi,dr;
static double fr1,bt1,fr2,bt2,we1,we2,we3,we4,we5,tb1;
FILE *fp;
for(i=0;i
这程序难看懂啊,还是靠自己再加点努力吧!
加油!