C语言课程设计报告课程名称:程序设计语言组员:学号:魏文豪13550602002汤恒13550602001彭建平13550602018指导教师:李华刚2015年12月13日流程图代码!#includemath.h#includestdio.h#definem4#definen5voidmain(){inti,k;floatx[n+1],y[n+1],yy[n+1],h,z[m];printf(请按行输入一系列的x值:\n);for(k=0;kn+1;k++)scanf(%f,&x[k]);printf(请按行输入一系列的y值:\n);for(k=0;kn+1;k++)scanf(%f,&y[k]);printf(请输入一系列的y'的值:\n);for(k=0;kn+1;k++)scanf(%f,&yy[k]);printf(请按行输入这%d个插值点:\n,m+1);for(i=0;im+1;i++)scanf(%f,&z[i]);printf(%f\n,z[i]);for(i=0;im+1;i++)for(k=0;kn;k++)if(z[i]=x[k]&&z[i]=x[k+1]){h=pow((z[i]-x[k+1])/(x[k]-x[k+1]),2.0)*(1+2*(z[i]-x[k])/(x[k+1]-x[k]))*y[k]+pow((z[i]-x[k])/(x[k+1]-x[k]),2.0)*(1+2*(z[i]-x[k+1])/(x[k]-x[k+1]))*y[k+1]+pow((z[i]-x[k+1])/(x[k]-x[k+1]),2.0)*(z[i]-x[k])*yy[k]+pow((z[i]-x[k])/(x[k+1]-x[k]),2.0)*(z[i]-x[k+1])*yy[k+1];printf(h(%f)=%f\n,z[i],h);}}运行图